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 BenmezianearXiv 2026

Large Language Model (LLM) inference is a moving target. Depending on whether you are processing a prompt (prefill) or generating tokens (decode), and whether your batch size is 1 or 64, the hardware bottlenecks shift dramatically. Traditionally, we’ve handled this with "disaggregated serving"—splitting the work across different hardware pools. But these splits are usually static, like separating Attention from Feed-Forward Networks (FFN).

A new paper from researchers at IBM and TU Dresden argues that these fixed boundaries are holding us back. They introduce HELIX, a software stack that throws away predefined roles and instead dynamically partitions LLM operators across heterogeneous hardware based on the specific workload at hand.

TL;DR

HELIX is a vLLM-based software stack that uses dynamic programming to automatically partition LLM inference tasks across diverse accelerators (like GPUs, PIM, and CIM) at the operator level. By adapting to specific models and batch sizes at runtime, it achieves up to a 3.5× speedup in decoding latency compared to traditional static partitioning methods.

What Problem Does This Paper Address?

LLM inference is inherently heterogeneous. The prefill phase is compute-bound (crunching many tokens at once), while the decode phase is typically memory-bandwidth bound (generating one token at a time). Even within the decode phase, different operators have different needs: Attention is strictly memory-bound, while FFNs can become compute-bound as batch sizes increase.

Existing systems use fixed partitioning strategies, such as Prefill/Decode (P/D) or Attention/FFN (A/F) disaggregation. While effective for standard setups, these "hard-coded" splits fail in three ways:

  1. Workload Invariance: They don't adapt when a change in batch size shifts an operator from being memory-bound to compute-bound.
  2. Architectural Rigidity: They struggle with non-transformer models, like hybrid State-Space Models (SSMs), which don't have a clean Attention/FFN split.
  3. Hardware Integration: Emerging specialized accelerators (like Processing-In-Memory or Compute-In-Memory) are often forced into predefined roles that might not be their optimal use case.
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 1 profiling-based partition search, 2 heterogeneous backends, 3 piecewise compilation, and 4 - 5 heterogeneous dispatch with per-device profiling.

Methods

HELIX moves away from orchestration-level splitting and intervenes at the engine level. It treats heterogeneous placement as a data-plane problem.

At engine initialization, HELIX performs a search over the model’s computational graph. It uses Dynamic Programming (DP) to find a placement that minimizes end-to-end latency while respecting memory constraints.

  • The "Frontier" State: To handle the complex residual connections (skip connections) common in LLMs, the DP algorithm tracks a "frontier" of active stages to ensure it finds a globally optimal split.
  • Efficiency: By using profiled costs for primitives (like GEMMs and Attention), the search is incredibly fast—taking only about 16 milliseconds for a Llama-8B model.

2. The HELIX Software Stack

Built on top of the popular vLLM framework, HELIX intercepts the model's execution graph. It uses piecewise compilation to break the graph into subgraphs, each compiled specifically for its target hardware (e.g., using CUDA Graphs for GPUs or custom backends for specialized accelerators).

The HELIX software stack, showing the path from graph tracing to heterogeneous dispatch.

Datasets and Models

The authors evaluated HELIX across several architectural families to prove its flexibility:

  • Llama 3.1-8B: A standard dense Transformer.
  • Mixtral 8x7B: A sparse Mixture-of-Experts (MoE) model.
  • Bamba-9B: A hybrid model interleaving Attention with Mamba (SSM) layers.
  • Graph Analysis: They also analyzed the computational graphs of larger models like Qwen3-Next-80B and Kimi-Linear-48B.

Key Insights and Ideas

  • Bottlenecks are Fluid: An operator isn't "compute-bound" by nature; it's compute-bound given a specific batch size and hardware. HELIX captures this by re-evaluating placement for different serving regimes.
  • SSMs Benefit Most: Hybrid models like Bamba are "A/F-split-unfriendly." HELIX automatically discovered that offloading all GEMMs (including those in the SSM mixer) to specialized hardware yielded massive gains that a manual split would miss.
  • Hardware Agnosticism: By exposing accelerators as "subgraph executors," HELIX allows researchers to plug in simulators for emerging hardware alongside real GPUs, facilitating early-stage hardware-software co-design.
  • Memory Pressure as a Driver: HELIX can find feasible partitions even when a model is too large for a single device by intelligently moving specific layers to secondary hardware, rather than just simple sharding.

Key Results

The quantitative gains are significant when comparing HELIX to standard Attention-FFN (A/F) disaggregation:

  • Dense/Sparse Transformers: Up to 3× reduction in multi-query decoding latency.
  • Hybrid SSMs (Bamba): Up to 3.5× reduction in latency.
  • Three-Way Heterogeneity: In a complex system combining an H100 GPU, 3D Compute-In-Memory (3DCIM), and DRAM-PIM, HELIX found non-obvious partitions that outperformed all pairwise baselines by up to 8.7×.
  • Search Speed: The partitioning search is "seamless," completing in milliseconds during the standard model loading phase.

Limitations and Future Work

While HELIX is a major step forward, the authors note several areas for expansion:

  • Optimization Objectives: Currently, HELIX focuses solely on minimizing latency. Future versions could optimize for energy efficiency or total cost of ownership (TCO).
  • Pipelining: The current execution is sequential across subgraphs. Implementing finer-grained pipelined scheduling (e.g., sub-batching) could further increase resource utilization.
  • Online Adaptation: The search currently happens at initialization. Moving toward runtime auto-tuning based on live traffic patterns is a promising next step.

By treating hardware as a flexible pool of executors rather than fixed roles, HELIX provides a blueprint for the next generation of heterogeneous AI serving systems.

Summary updated

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$\times$ for dense and sparse transformer models and up to 3.5$\times$ for hybrid state-space models, relative to standard attention-FFN disaggregation.
BibTeX
@misc{clerico2026helix,
  author = {Victoria Clerico and William Simon and Corey Liam Lammie and Orhun Görkem and Athanasios Vasilopoulos and Hsinyu Tsai and Jeronimo Castrillon and Abu Sebastian and Hadjer Benmeziane},
  title = {{HELIX: HEterogeneous LLM Inference with FleXible and Fine-Grained Partitioning}},
  year = {2026},
  eprint = {2611.06513},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.06513},
}
Figure