Skip to content
Discussion options

You must be logged in to vote

Rule of thumb that has worked for me on A100/H100:

  • Lower gpu_memory_utilization first (e.g. 0.90 → 0.85) before capping max_num_seqs. Capping sequences throttles throughput harder than giving the block pool a little headroom.
  • Block size 16 is a good default. Larger blocks (32) reduce metadata overhead but waste more on short sequences (internal fragmentation). Only go bigger if your median sequence is long.
  • Keep ~10-15% KV headroom so bursty arrivals don't trigger preemption + recompute — recompute is what usually shows up as a latency cliff, not OOM.

If you are still OOMing under bursts, it is almost always the peak concurrent sequence count, not steady state. Log num_preemptions — if …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@HumbleBee14giscus
Comment options

HumbleBee14 Jul 17, 2026 — with giscus
Maintainer Author

Answer selected by HumbleBee14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant