HexiSeq: Accommodating Long Context Training of LLMs over Heterogeneous Hardware

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Liang, Yan, Jiang, Youhe, Yan, Ran, Yuan, Binhang, Wang, Wei, Wu, Chuan
Format: Preprint
Published: 2026
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909025950498816
author Liang, Yan
Jiang, Youhe
Yan, Ran
Yuan, Binhang
Wang, Wei
Wu, Chuan
author_facet Liang, Yan
Jiang, Youhe
Yan, Ran
Yuan, Binhang
Wang, Wei
Wu, Chuan
contents Long-context training of large language models (LLMs) is commonly distributed with Context Parallelism (CP) and Head Parallelism (HP), but existing training systems largely assume homogeneous GPU meshes. This paper extends CP and HP to heterogeneous GPU clusters with mixed GPU models and non-uniform network bandwidths, a common setting in production training. We introduce HexiSeq, a system that supports fully asymmetric CP--HP partitioning by assigning sequence shards and attention heads according to device compute, memory, and communication capabilities. We formalize heterogeneous CP--HP allocation as a constrained optimization problem and develop an efficient hierarchical scheduler for finding optimal schedules. We evaluate HexiSeq against state-of-the-art CP and HP baselines on both real and simulated heterogeneous clusters. Across models from 3B to 70B parameters and context lengths up to one million tokens, HexiSeq improves throughput by $1.11\times$ on average and up to $1.19\times$ on mixed H100--A100 testbeds, and by $1.36\times$ on average and up to $1.72\times$ in simulations with 32--128 GPUs spanning up to four GPU models. On FLOP-comparable pairs against homogeneous clusters, HexiSeq reaches throughput close to the strongest homogeneous baseline, showing that heterogeneous clusters can be used efficiently for long-context LLM training.
format Preprint
id arxiv_https___arxiv_org_abs_2605_07569
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle HexiSeq: Accommodating Long Context Training of LLMs over Heterogeneous Hardware
Liang, Yan
Jiang, Youhe
Yan, Ran
Yuan, Binhang
Wang, Wei
Wu, Chuan
Distributed, Parallel, and Cluster Computing
Long-context training of large language models (LLMs) is commonly distributed with Context Parallelism (CP) and Head Parallelism (HP), but existing training systems largely assume homogeneous GPU meshes. This paper extends CP and HP to heterogeneous GPU clusters with mixed GPU models and non-uniform network bandwidths, a common setting in production training. We introduce HexiSeq, a system that supports fully asymmetric CP--HP partitioning by assigning sequence shards and attention heads according to device compute, memory, and communication capabilities. We formalize heterogeneous CP--HP allocation as a constrained optimization problem and develop an efficient hierarchical scheduler for finding optimal schedules. We evaluate HexiSeq against state-of-the-art CP and HP baselines on both real and simulated heterogeneous clusters. Across models from 3B to 70B parameters and context lengths up to one million tokens, HexiSeq improves throughput by $1.11\times$ on average and up to $1.19\times$ on mixed H100--A100 testbeds, and by $1.36\times$ on average and up to $1.72\times$ in simulations with 32--128 GPUs spanning up to four GPU models. On FLOP-comparable pairs against homogeneous clusters, HexiSeq reaches throughput close to the strongest homogeneous baseline, showing that heterogeneous clusters can be used efficiently for long-context LLM training.
title HexiSeq: Accommodating Long Context Training of LLMs over Heterogeneous Hardware
topic Distributed, Parallel, and Cluster Computing
url https://arxiv.org/abs/2605.07569