﻿# Qwen on H100: tensor-parallel throughput and the cache effect

A community Qwen serving sweep reports strong tensor-parallel scaling, while its request burst and KV-cache headroom shape the result.

Author: Retrivium editorial team
Updated: 2026-11-05
Canonical URL: https://retrivium.ai/journal/qwen-a100-h100-tensor-parallel-cache-capacity-study/
Language: en

A community project links interconnect measurements on A100 and H100 systems to tensor-parallel Qwen serving. Its most useful finding is a capacity effect: under a burst of requests, adding GPUs changes both communication and the space available for concurrent sequences. The experiment does not isolate NVLink as the cause of its throughput gain.

## What the author actually compared

The [project README](https://github.com/bandlayash/multi-gpu-perf-project) describes rented single-node configurations with 4 A100 or H100 GPUs. Its inference table for Qwen2.5-32B on H100 reports output throughput of 691, 2626 and 4218 tokens/s at tensor-parallel sizes 1, 2 and 4. These are author measurements with one run per configuration and no error bars.

The serving workload sends 200 random requests together, each with 1024 input and 256 output tokens. Thus this is a capacity-oriented burst experiment. First-token times include queueing; they cannot be read as unloaded single-request latency. The numerical results belong to that workload and the stated model format, BF16.

## A collective bandwidth is not a copy bandwidth

The [NCCL test performance guide](https://github.com/NVIDIA/nccl-tests/blob/master/doc/PERFORMANCE.md) distinguishes algorithm bandwidth, calculated as payload divided by time, from bus bandwidth, which applies an operation-dependent correction. The correction accounts for the collective's communication structure; it does not turn every value into a direct measurement of one physical link.

For small messages, the guide recommends examining time because constant overhead matters. For larger messages, size-dependent transfer time dominates more strongly. Consequently, a large-message bus-bandwidth maximum is insufficient for estimating the cost of a much smaller activation exchange. Nor should a point-to-point copy figure be substituted for collective timing without preserving its operation and denominator.

## The throughput gain includes extra cache capacity

In the reported sweep, sharding weights leaves more memory available for KV cache and additional active sequences. That gives a plausible workload-specific explanation for throughput growing faster than the GPU count. It does not mean one answer's computation becomes proportionally faster or that communication becomes free.

The [tensor-parallel guide](/journal/vllm-tensor-parallel-size/) explains the distinction between distributing one model and creating independent replicas. To investigate communication separately here, a follow-up would hold active concurrency and request lengths constant, while retaining capacity-oriented runs as a different experiment. Both comparisons are useful, but they answer different operational questions.

## Communication share is an estimate, not a trace

The author explicitly estimates communication from inferred batch size and NCCL measurements. The README also notes that vLLM uses custom all-reduce for small messages, making NCCL a proxy, and that chunked prefill complicates the estimate. NVLS was disabled for the tested slice.

These qualifications prevent interpreting the estimated share as directly profiled time inside the serving engine. A trace of actual communication kernels, synchronization and overlap would be needed to establish that stronger claim. The [topology guide](/journal/gpu-topology-distance-matrix/) supplies related context for checking which device paths the application actually exercises.

## What remains outside the evidence

A same-workload PCIe-only comparison, higher tensor-parallel counts and multi-node serving are listed as future work. They are not demonstrated outcomes. The exact measurement dates are not established by the reviewed README, so the experiment should be identified by its preserved source revision rather than assigned an invented event date.

The defensible conclusion is narrower and useful: burst-serving throughput can be strongly shaped by memory headroom, while representative collective latency differs from peak-link figures. Neither observation establishes the performance of a different request distribution or topology.
