arXiv:2611.06513cs.SENov 2026

Manuscript Offprint

arXiv:2611.06513

HELIX: HEterogeneous LLM Inference with FleXible and Fine-Grained Partitioning

Victoria Clerico, William Simon, Corey Liam Lammie, Orhun Görkem, Athanasios Vasilopoulos, Hsinyu Tsai, Jeronimo Castrillon, Abu Sebastian, Hadjer Benmeziane

ABSTRACT

LLM inference is inherently heterogeneous, with performance bottlenecks shifting throughout inference phases down to individual operators. This has motivated heterogeneous serving systems that disaggregate execution across specialized accelerators, typically through fixed partitions such as prefill/decode or attention/FFN. However, these approaches commit to a partitioning strategy in advance, limiting their ability to adapt to different workloads and model architectures while forcing emerging accelerators into predefined roles. We present HELIX, a vLLM-based software stack that discovers, compiles and dispatches workload-aware partitions across heterogeneous accelerators at the operator granularity. At engine initialization, HELIX automatically determines hardware-specific operator placements that minimize execution latency, accounting for profiled execution costs, communication overheads, device capabilities, and memory constraints. It combines dynamic programming, piecewise compilation, and heterogeneous subgraph dispatch, enabling accelerators with partial operator coverage to participate in LLM inference without predefined model partitions. HELIX provides an open-source unified framework for exploring, evaluating, and integrating heterogeneous accelerators for LLM inference, lowering the barrier to emerging hardware by exposing them as subgraph executors. In systems combining H100 and B200 GPUs with emerging accelerators, HELIX resolves LLM partitions that multi-query decoding latency by up to 3× for dense and sparse transformer models and up to 3.5× for hybrid state-space models, relative to standard attention-FFN disaggregation.

1 INTRODUCTION

The rapid adoption of LLMs for conversational assistants, code synthesis and complex reasoning tasks has made inference efficiency a first-order systems concern.

Achieving efficient hardware mapping requires recognizing that LLM inference is far from monolithic, as the hardware demands it imposes vary substantially depending on which stage of the inference pipeline is examined. At the phase level, prefill processes the input prompt in parallel and is predominantly compute-bound, whereas decode generates tokens in an auto-regressive fashion and is typically bandwidth-bound. This asymmetry has motivated prefill/decode (P/D) disaggregation (Qin et al., 2025; Zhong et al., 2024), which assigns each phase to a dedicated hardware pool optimized for its respective bottleneck (see Figure 1a). Within the decode phase itself, a similar asymmetry emerges at the operator level: for high-concurrency multi-query serving, feed-forward networks

(FFN) amortize the large set of weight parameters fetched from memory to generate multiple tokens. Instead, attention is strictly memory-bound as each new token must attend over the entire growing KV-cache, requiring repeated memory reads that scale with sequence length rather than reuse of loaded data. This operator-level asymmetry has encouraged Attention-FFN (A/F) disaggregated systems (Team, 2025; Liang et al., 2025; Zhu et al., 2025; Aubrey & Ghodsian, 2026), which map attention and FFN or expert layers onto separate resources (see Figure 1b). However, even these operator-level bottlenecks are not invariant. At the workload level, batch size modulates the arithmetic intensity of FFN kernels during decode (He et al., 2025), since larger batches amortize the loaded weights. Therefore, variations in the serving scenario can cause individual kernels to transition between memory- and compute-bound regimes, making them better suited to different hardware architectures. This heterogeneity has led to the development of disaggregated inference systems, with A/F emerging as a prominent direction. Beyond GPU-only deployments, the introduction of specialized accelerators has also encouraged heterogeneous disaggregation, since hardware properties favor specific operators, such as LPU-based FFN offloading from GPU (Aubrey & Ghodsian, 2026) and DRAM process-in-memory (PIM) for memory-bound attention (Park et al.,

¹IBM Research–Zurich Research Lab, Rüschlikon, Switzerland ²Technische Universität Dresden, Dresden, Germany ³IBM Research–Silicon Valley Lab, San Jose, CA, USA. Correspondence to: Victoria Clerico mvc@zurich.ibm.com.

Figure

Figure 1. LLM inference disaggregation. (a) P/D assigns each phase to separate hardware. (b) A/F further splits decode attention and FFN. (c) HELIX maps operators across heterogeneous hardware (HW 1–3) at engine initialization via ① profiling-based partition search, ② heterogeneous backends, ③ piecewise compilation, and ④-⑤ heterogeneous dispatch with per-device profiling.

2024; He et al., 2025; Hong et al., 2026). These heterogeneous systems commonly use model-specific partition boundaries and focus the disaggregation decision on the sharding exploration rather than jointly deciding fine-grained placements down to the individual operators. The disaggregation strategy is inherited from the A/F framing and never revisited against the particular model, hardware combination and serving scenario. As hardware architectures diversify, fixed partition boundaries cannot account for the trade-offs introduced by combining different hardware capabilities, adopting new model structures, and varying serving regimes. This paper argues that LLM serving must be rebuilt around dynamic, fine-grained partitioning. Here, dynamic denotes deployment-specific placement resolved during compilation time. What to offload and where to place it are decision variables searched over the LLM computational graph and resolved against the hardware's capabilities, interconnect and computation cost for a model and a target serving regime. We formulate partitioning as a dynamic programming problem over the LLM computational graph. Using profiled per-operator execution and communication costs, our method finds latency-minimizing partitions for a given model, hardware configuration, and serving regime. We present HELIX, a heterogeneous execution stack built on vLLM (Kwon et al., 2023), which compiles and executes partitioned LLM graphs across available accelerators. Figure 1 places our approach in this landscape, moving from static P/D and A/F toward the dynamic partitioning that accommodates workloads, models, and hardware pool. In summary, this paper makes the following contributions:

  • We develop a profile-guided dynamic programming method for partitioning search to determine, at compilation time, how to split LLM inference stages across heterogeneous hardware, given workload, system, and model.

  • We design HELIX, a heterogeneous execution stack built on vLLM, that along with resolving partitions, runs LLM inference across the available devices,

backed by pluggable per-device profilers and backends.

  • We evaluate HELIX on dense Transformer, MoE, and hybrid SSM models across four hardware platforms and four heterogeneous configurations where found partitions can reduce multi-query decoding latency up to 3.5× compared to attention-FFN disaggregation.

References (42)