English

Demystifying the Design Space and Best Practices for Heterogeneous LLM Inference and Serving

Distributed, Parallel, and Cluster Computing 2026-06-29 v1

Abstract

Heterogeneous prefill-decode (PD) inference is now in production: prefill on cost-efficient or supply-available accelerators, decode on bandwidth-strong ones, and KV state crossing mixed interconnects in mixed numerical formats. Each deployment makes these decisions on its own. What is missing is the picture across configurations-which decisions must be made jointly at the PD boundary, and which can be made independently. We propose a design space organized along four design axes-accelerator, precision, interconnect, and KV residency and the workload regime (stage pressure) they respond to. We show that only a subset of interactions among these factors become binding constraints once PD inference becomes heterogeneous. These interactions surface through three recurring boundary decisions: compute placement, KV representation, and KV ownership. The resulting analysis yields concrete guidance. Precision policy belongs to runtime roles rather than to a single system-wide setting, because the same low-bit format relieves different bottlenecks on each side of the boundary. KV transfer engines move bytes rather than tensor semantics, making representation compatibility an explicit boundary concern whenever producer and consumer differ. The KV handoff also carries a lifecycle-reservation, release, and failure recovery-that spans prefill and decode and requires explicit ownership. Two further interactions remain open. Cross-vendor and interconnect-related claims are stated as design guidance grounded in industrial deployment observations and source-code inspection of the runtimes involved.

Keywords

Cite

@article{arxiv.2606.29708,
  title  = {Demystifying the Design Space and Best Practices for Heterogeneous LLM Inference and Serving},
  author = {Zhixin Wang and Zhengbo Wang and Fangcheng Fu and Yinhui Lu and Jinlong Hou and Yijie Chen and Xiaowei Shen and He Liu and Xiangbin Li and Jun Chen and Ruya Gu and Dian Wang and Zhou Tan and Yuan Cheng and Hongzhou Zhang and Xiangjun Huang and Ping Zhang and Xiaohe Hu},
  journal= {arXiv preprint arXiv:2606.29708},
  year   = {2026}
}