TRANSMISSION // 2612.05145v1
xInfer adapts GPU layouts to finish long LLM jobs sooner
Source published
A system called xInfer changes how GPUs share LLM work and redistributes long-running requests. In tests, it shortened batch completion times, though results are limited to specific models and hardware.

When many language-model requests are processed together, a few unusually long outputs can keep the whole batch waiting. A preprint introduces xInfer, which adjusts GPU parallelism and shifts work between instances as a batch runs. Its tests show gains on selected workloads, not a universal improvement for every inference setup.
Why long outputs can slow a whole batch
Many uses of large language models happen offline: a fixed set of prompts is submitted together for tasks such as model evaluation, data preparation or reinforcement-learning rollouts. In this setting, the goal is often to finish the entire batch quickly, rather than to minimize the wait for any one request.
That goal is complicated by long-tailed output lengths. Most requests may finish relatively quickly, while a few continue generating for much longer. Those stragglers can leave some GPUs underused even as the batch remains unfinished. Meanwhile, each active request accumulates a key-value cache, or KV-cache, that stores information used to generate subsequent tokens. As these caches grow, fewer requests may fit in GPU memory at once.
The authors of xInfer argue that fixed GPU layouts struggle with both problems: they cannot adapt the way GPUs divide model work as conditions change, and they cannot reliably balance requests whose final lengths are unknown in advance.
Two ways to adapt while work is running
The system combines two mechanisms. Flexible Parallelism Switching changes the balance between data parallelism and tensor parallelism. In data parallelism, separate GPU groups handle separate requests. In tensor parallelism, multiple GPUs split the work of running one model instance.
Tensor parallelism can free memory on each GPU for more KV-cache and combine requests into larger batches, potentially improving how efficiently GPUs handle some calculations. But it also requires communication among GPUs, which takes time. The better arrangement can change as requests get longer and the active batch shrinks, so xInfer uses a performance model to estimate how candidate layouts will perform. It switches only when its predicted time savings exceed the cost of moving model and cache data and reconfiguring the system.
The second mechanism, a Distributed Overflow Queue, tackles uneven work across instances. Within a node, instances can take requests from a shared queue. Across nodes, an underused node can request work from a busier peer. Rather than moving a request’s KV-cache across the network, the receiving node gets the token IDs and processes the request again from its prompt. That choice trades some repeated computation for avoiding a potentially costly cache transfer.
What the tests found
The authors tested xInfer with Qwen3 models in three offline workloads: reinforcement-learning rollout, model evaluation and data curation. Their experiments used up to 32 H100 GPUs, arranged as one or four eight-GPU nodes. They compared end-to-end batch completion time with vLLM and SGLang, and included the costs of xInfer’s layout changes.
Across the tested configurations, the paper reports maximum speedups of 1.46 times over vLLM and 1.49 times over SGLang. Those are best-case results, not typical gains guaranteed for every workload. The paper also reports that benefits varied with model size, workload and deployment scale. In some cases, xInfer was close to the faster baseline; in one set of smaller-model results, it trailed a baseline on a workload. A separate queue test found reduced GPU idle time and a shorter finish-time spread, but that test emulated node peers on a single node rather than measuring inter-node communication.
The performance model’s reported cross-validation results were strong on the tested H100 setup. That supports the model’s fit to those measurements; it does not establish that the same accuracy or speedups will hold on different hardware or workloads.
What remains uncertain
These findings come from a preprint, which may not have undergone peer review. The evaluation covers three workloads, Qwen3 models and H100 GPUs; it does not show how xInfer performs across the broader range of models and infrastructure used in practice. The authors also describe their underlying engine as relatively unoptimized and say that extending the system to mixture-of-experts and other sparse models remains future work.
The results therefore suggest a systems approach worth investigating for fixed-batch, long-tail inference—not a general claim that xInfer will make every language-model deployment faster. The paper’s evidence is most relevant when the objective is to complete a batch quickly and the workload resembles the tested cases.
- LLM inference
- GPU computing
- tensor parallelism
- data parallelism
- KV-cache
- load balancing
- offline inference
Related reading
Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.
AutoEMatic adjusts AI number precision as a model writes
Source published
Shared keywords: gpu computing
RankCast targets the busiest GPU in MoE serving
Source published
Shared keywords: llm inference, load balancing
How FluidPD reallocates work in LLM servers
Source published
Shared keywords: llm inference
A memory-aware priority rule for LLM inference
Source published
Shared keywords: kv cache, llm inference
How Dual-Band Attention speeds long-prompt AI
Source published
Shared keywords: gpu computing