Repository navigation
vLLM HTR v0.2.13 — 1M NVFP4 GTT Cut from 114.68 to 111.83 GiB (-4.78 GiB Total Footprint vs v0.2.8)
Latest
·
1 commit
to main
since this release
vLLM HTR v0.2.13 — 1M NVFP4 GTT Cut from 114.68 GiB (v0.2.8) to 111.83 GiB (-4.78 GiB Total Footprint, 6.2× Post-Prefill Headroom)
- Immutable image:
ghcr.io/hawgauto/vllm-htr@sha256:88e8b8aa4f61e2c3e9ea317fbb5bbc0b076f5744002817cb645c4bc2aeca984a - Tag alias:
ghcr.io/hawgauto/vllm-htr:v0.2.13 - Headline (
ERNIE-5.5-Flash-Preview-HTR,1M NVFP4+4 GiBKV + DSpark-5 + FlashIndexer on 128 GB Strix Halo):- DRM GTT held at
1M:114.68 GiB(v0.2.8) →111.83 GiB(v0.2.13) (-2.85 GiBidle GTT,-3.5+ GiBpost-prefill — only+1.07 GiBabove pure107.01 GiBweights +3.75 GiBKV!) - Total container footprint (
DRM + CPU Private_Dirty):118.70 GiB→113.92 GiB(-4.78 GiBerased, CPUPrivate_Dirtycut-50%from3.85 GiBto1.92 GiB!) - Host
availableRAM (post-5.8K chunked prefill):0.94 GiB→5.84 GiB(+4.90 GiB,6.2×headroom!) - Idle CPU:
~100%of 1 core →0.50%of 1 core (bakedROCPROFILER_REGISTER_ENABLED=0)
- DRM GTT held at
Verified 1M NVFP4 A/B (v0.2.8 → v0.2.13, identical weights & 4 GiB KV on 128 GB Strix Halo)
Metric (1M NVFP4, 4 GiB KV) |
v0.2.8 |
v0.2.9 / v0.2.10 |
v0.2.11 |
v0.2.12 |
v0.2.13 |
Total vs v0.2.8 |
|---|---|---|---|---|---|---|
| DRM GTT used (idle) | 114.684 GiB |
114.312 GiB |
113.465 GiB |
112.796 GiB |
111.832 GiB |
-2.85 GiB |
| DRM GTT used (post-5.8K prefill) | ~115.4 GiB |
~115.0 GiB |
114.172 GiB |
113.531 GiB |
111.839 GiB |
-3.5+ GiB (auto-reclaimed) |
Container CPU Private_Dirty |
3.85 GiB |
2.24 GiB |
2.10 GiB |
2.05 GiB |
1.92 GiB |
-1.93 GiB (-50%) |
Total container (DRM + CPU PrivDirty) |
118.70 GiB |
116.72 GiB |
115.73 GiB |
115.01 GiB |
113.92 GiB |
-4.78 GiB |
Host available RAM (idle) |
1.65 GiB |
3.76 GiB |
4.22 GiB |
4.50 GiB |
5.77 GiB |
+4.12 GiB (3.5×) |
Host available RAM (post-5.8K prefill) |
0.94 GiB |
3.21 GiB |
3.45 GiB |
~3.8 GiB |
5.84 GiB |
+4.90 GiB (6.2×) |
| Idle CPU (10s post-inference) | ~100% |
~100% |
0.50% |
0.50% |
0.50% |
-99.5% |
| 5,818-tok chunked prefill + needle | 12.49 s |
12.50 s |
12.47 s |
Parity | 12.57 s |
Parity (exact Record 142) |
What's new in v0.2.12 + v0.2.13
v0.2.13 — Deep Allocator, Buffer & Idle Reclamation Pass (-1.9 GiB additional)
- Right-sized decode-only & on-demand prefill metadata buffers (
-331 MiBGTT):indexer.py:expanded_block_table_buffersized tomax(32, max_num_seqs * next_n)instead ofmax_num_batched_tokens=2048(128 MiB → 2 MiB,-126 MiB).sparse_mla.py:c128a_global_decode_buffer(64 MiB → 1 MiB,-63 MiB) + on-demandc128a_prefill_buffer(64 MiB → 0 MiBidle,-64 MiB).deepseek_v4/amd/rocm.py:c128a_decode_topk_ragged_indices_buffer(64 MiB → 1 MiB,-63 MiB) +10× decode_swa_ragged_indices_buffer(15 MiB → 0.24 MiB,-14.8 MiB).
- Pre-graph compaction of stranded
20 MiBHIPCachingAllocatorweight segments (~-600 MiBGTT):- Compacts small surviving weights (
2.5–6.0 MiBparameters left alone in20 MiBsegments after init-time BF16 replacements) contiguously inprocess_weights_after_loading()before KV allocation and CUDA graph capture (ERNIE_COMPACT_SEGMENTS=0disables).
- Compacts small surviving weights (
- Idle-only GPU/CPU reclamation hook (
-752 MiBpost-prefill GTT +-71 MiBCPU):- In
EngineCore.post_step(), tracks both syncstep()and asyncstep_with_batch_queue()drain transitions; oncescheduler.has_requests()returns to idle andreserved - allocated >= 128 MiB, hands peak prefill segments back viatorch.cuda.empty_cache()+libc.malloc_trim(0)(HTR_IDLE_CACHE_TRIM=0disables). Zero overhead during active decode/prefill.
- In
- Baked
ENV GLIBC_TUNABLES=glibc.malloc.mmap_threshold=131072:glibc.malloc.trim_threshold=131072:glibc.malloc.arena_max=2(-198 MiBCPUPrivate_Dirty).
v0.2.12 (included) — 100% Table-Free RoPE (-640 MiB GTT) & Zero-aiter ERNIE-5.5 Startup
- Replaced all three
1M-position RoPE tables (256 MiBHCA FP32 YaRN +256 MiBDSpark FP32 plain +128 MiBDSA BF16 plain =640 MiB) with512 bytesoffloat64inv_freq / (2π)consumed natively byernie_hca_attn.hipandernie_fast_ops.hip(including new Wave32gfx1151fused_qnorm_rope_kv_insert_tfandrope_qk64_tfkernels, audited atw64=0,0spills,0divOps,0scratch ops across all265kernels). - Gated Qwen3.8
install_hc_overlay()andfa_utils.py'sflash_attn → aiterimport off on ERNIE-5.5 (VLLM_ROCM_USE_AITER=0). Qwen3.8'sv0.2.7kernel/MTP/PLE stack remains 100% untouched (23/23unit tests PASS).