Hetis: Serving LLMs in Heterogeneous GPU Clusters with Fine-grained and Dynamic Parallelism

Zizhao Mo, Jianxiong Liao, Huanle Xu, Zhi Zhou, Chengzhong Xu

Abstract

The significant resource demands in LLM serving prompts production clusters to fully utilize heterogeneous hardware by partitioning LLM models across a mix of high-end and low-end GPUs. However, existing parallelization approaches often struggle to scale efficiently in heterogeneous environments due to their coarse-grained and static parallelization strategies.

Introduction

In the current landscape of Large Language Model (LLM) deployment, the demand for compute often outstrips the availability of uniform, high-end hardware. This has led to the rise of "heterogeneous" clusters—environments where cutting-edge GPUs like the NVIDIA A100 coexist with older, less powerful cards like the P100. While these "GPU zoos" offer a way to scale capacity, they present a significant orchestration challenge. Standard serving systems often fail to balance the workload across such mismatched devices, leading to bottlenecks where high-end cards sit idle while older ones are overwhelmed.

Hetis is a novel serving system designed to address these inefficiencies through surgical, module-level task splitting. By intelligently distributing model components based on their computational characteristics, Hetis maximizes the utility of every device in a cluster.

The Challenge of Heterogeneity

Serving LLMs involves two distinct phases: Prefill (processing the initial prompt) and Decode (generating tokens sequentially). Prefill is primarily compute-bound, whereas Decode is memory-bound due to the "KV cache"—the memory required to store the context of previous tokens.

Existing parallelization strategies, such as phase-splitting or parameter-splitting, struggle in mixed-hardware environments. As shown in Figure 1, these methods often lead to severe imbalances. Static splitting can leave massive amounts of memory unused on high-end cards while low-end cards run out of space for the KV cache. Furthermore, computational sensitivity varies by module; while Multi-Layer Perceptron (MLP) modules can run up to 24.5× slower on a P100 compared to an A100, the Attention module is significantly less sensitive to the specific GPU type. Treating the model as a monolithic block prevents systems from exploiting this nuance.

Limitations of existing parallelization strategies in heterogeneous environments.

The Hetis Architecture

Hetis introduces fine-grained and dynamic parallelism to overcome these hurdles. Instead of splitting by layer or phase, Hetis partitions the model by function and distributes tasks at a "head" granularity.

The Hetis system architecture, featuring the Parallelizer, Profiler, Dispatcher, and Hauler components.

As illustrated in Figure 3, the system is built around four core components:

  1. Parallelizer: Categorizes GPUs into roles. Primary Workers (high-end GPUs) handle dense MLP modules and the compute-intensive prefill phase. Attention Workers (low-end GPUs) are pooled to handle decoding Attention tasks.
  2. Profiler: Models the computation and communication costs across the heterogeneous pool to inform placement decisions.
  3. Dispatcher: Uses a real-time optimization algorithm to decide which GPU handles which Attention heads. This "head-wise" granularity allows for precise load balancing.
  4. Hauler: Manages the migration of contexts. If a request grows unexpectedly long, Hetis can "re-dispatch" Attention heads mid-stream to rebalance the cluster without interrupting generation.

Key Results and Insights

By isolating Attention tasks and offloading them to older GPUs, Hetis effectively turns "weak" hardware into valuable KV cache reservoirs. This approach minimizes the communication "tax" compared to splitting by sequence length, as transferring head-wise tensors is more efficient.

Evaluations across real-world workloads (ShareGPT, HumanEval, and LongBench) and models (Llama-13B/70B, OPT-30B) demonstrate significant performance gains:

  • Throughput: Improved by up to 2.25× compared to state-of-the-art systems like Splitwise and Hexgen.
  • Latency: Reduced end-to-end latency by up to 1.49×.
  • Memory Utilization: Provided up to 1.87× more available KV cache space by utilizing the memory of every GPU in the cluster.

Conclusion

Hetis demonstrates that heterogeneous GPU clusters do not have to be inefficient. By moving away from static, coarse-grained parallelization and embracing dynamic, module-aware task distribution, Hetis allows organizations to fully leverage their existing hardware investments. Future work will focus on scaling the strategy search for massive clusters and optimizing for emerging model architectures.

Paper Citation: Zizhao Mo, Jianxiong Liao, Huanle Xu, Zhi Zhou, and Chengzhong Xu.

  1. Hetis: Serving LLMs in Heterogeneous GPU Clusters with Fine-grained and Dynamic Parallelism. In SC ’25. https://doi.org/10.1145/3712285.3759784

Summary updated

BibTeX
@misc{mo2025hetis,
  author = {Zizhao Mo and Jianxiong Liao and Huanle Xu and Zhi Zhou and Chengzhong Xu},
  title = {{Hetis: Serving LLMs in Heterogeneous GPU Clusters with Fine-grained and Dynamic Parallelism}},
  year = {2025},
  eprint = {2509.08309},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2509.08309},
}
Figure