config: --gpu-memory-mib, the inverse of --gpu-headroom-mib

N claims that many MiB of every card; headroom is the rest. The two
flags cannot be combined. vLLM's utilisation fraction, written in MiB.
This commit is contained in:
Constantin authored and StillDeadcode committed 2026-11-03 19:02:52 +01:00
1 parent aa182fc156
commit 9cb04f62a8
10 files changed
+164 -22

No files matched your search

+3
View File
@@ -935,12 +935,15 @@ utilisation fraction:
| flag | |
|---|---|
| `--gpu-headroom-mib` | VRAM left unclaimed on every card (default 96) |
| `--gpu-memory-mib` | VRAM claimed on every card; inverse of `--gpu-headroom-mib` (headroom is the card less N). The two cannot be combined |
| `--host-pool-mib` | the pinned host tier |
| `--host-headroom-mib` | host RAM left free for the system at startup (default 4096); a snapshot store's floor takes back the shortfall from it, down to 1 GiB |
| `--weights-disk-tier` | the file tier for weights, read from the container; needs `O_DIRECT` |
| `--max-model-len`, `--max-num-seqs` | the KV cache's bound |
| `--kv-resident` | stream the sparse attention group's KV from pinned host memory, keeping a ring of N tokens on the card; off by default. Raised to 32 768 and to one decode step's selection; a ring that covers the context streams nothing; ignored with a warning on an architecture that cannot stream (docs/KV-STREAMING.md) |
`--gpu-memory-mib N` is the same input as `--gpu-headroom-mib` written as a claim. Give one.
Nothing is inferred from the free VRAM at startup, which would size pools differently depending on
what else is open. Each term is a fixed property, a computed quantity, or a measurement printed on
its own line (`core/mem/vram_budget.h`). The startup report lists them in the order spent (sizes