HiSparse concurrency calculator
Estimate ordinary GPU KV capacity, HiSparse’s fully offloaded steady state, and native indexer offloading for sparse-attention models. Results are planning estimates, not guaranteed serving limits.
HiSparse memory composition
Standard KV remains resident until pressure activates hot buffers and releases older pages.
Concurrency vs. sequence length
–
Shows total concurrency across the deployment and assumes the minimum non-limiting HiSparse host pool at each sequence length. Native indexer offloading does not change active-request HBM.
KV placement by layer
–
With HiSparse. Without it, every cache stays on the GPU. Offloaded layers keep a top-K hot buffer on the GPU.
Hover or tap a layer for details.
Per-DP-replica accounting
| Resource | Non-HiSparse | HiSparse |
|---|---|---|
| GPU pool capacity | ||
| Unique GPU / request | ||
| ↳ Indexer history | included | |
| ↳ Hot buffers | – | |
| ↳ Retained pages | – | |
| Unique host / request | – | |
| Native indexer offload / request | – | |
| Native indexer offload coverage | – | |
| GPU concurrency limit | ||
| Host concurrency limit | – | |
| Final concurrency limit |
Model and assumptions
HiSparse GPU usage is the unique indexer history plus per-request hot buffers, two retained resident pages per hot group, and fixed per-request state that stays on the GPU (sliding-window KV, compressor or linear-attention state). Each block costs the full packed stripe, so fixed state is counted in blocks. Models with small-block sliding or resident groups also hold an admission reserve for the next request’s prompt and in-flight prefill chunks (8,192 batched tokens, async scheduling). HiSparse host usage includes the full offloaded KV history. The native OffloadingConnector pool caches completed indexer blocks for prefix reuse, but does not remove active indexer history from HBM. The sparse-MLA latent and indexer KV are replicated across TP ranks; therefore TP does not directly divide KV bytes per request. It can still leave more HBM for KV by reducing the per-GPU weight shard. With TP host sharing enabled, one host pool serves the whole TP group. This is a steady-state estimate; spill transitions, request-length skew, routing imbalance, and temporary workspaces can lower the reachable concurrency. The automatic HBM estimate shards routed-expert weights across DP×TP when EP is enabled; otherwise each DP replica duplicates them. Shared weights always shard across TP.