Fix SM120 NVFP4 KV cache test OOM - #31653
Merged
Fridge003 merged 3 commits intoJul 18, 2026
Merged
Conversation
Contributor
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
Collaborator
Author
|
/rerun-test test/registered/models_e2e/test_llama8b_nvfp4_kv_cache_sm120.py |
Contributor
|
Results for 🚀 |
Collaborator
Author
|
/rerun-test test/registered/quant/test_llama8b_nvfp4_kv_cache_sm120.py |
Contributor
|
Results for 🚀 |
Fridge003
marked this pull request as ready for review
July 18, 2026 07:48
Zhylkaaa
pushed a commit
to Zhylkaaa/sglang
that referenced
this pull request
Jul 29, 2026
jinzhenfan
pushed a commit
to jinzhenfan/sglang
that referenced
this pull request
Jul 29, 2026
Chronostasys
pushed a commit
to MindLab-Research/sglang
that referenced
this pull request
Aug 24, 2026
jakki-amd
pushed a commit
to jakki-amd/sglang
that referenced
this pull request
Sep 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
models_e2etoquantGSM8KMixinwithDefaultServerBasefor one server configuration instead of sweeping throughrun_combined_testsextra-aon the1-gpu-smallrunnermem_fraction_staticfrom the default0.885to0.87, preserving the test's 200-request concurrency while leaving about 0.47 GiB more runtime headroom on a 32 GiB RTX 5090The test only covers the NVFP4 GEMM + NVFP4 KV-cache configuration; it does not add an MTP variant.
Root cause
The test maximizes its NVFP4 KV-cache allocation under the default static-memory fraction. During the first ModelOpt FP4 GEMM in FlashInfer autotuning, CUDA then has only 28.44 MiB free when FlashInfer requests another 32 MiB, so server startup fails and the test harness later reports exit code
-9.This is a narrow CI containment for the newly added test; it does not change production allocator behavior. The test remains disabled until its separate accuracy failure is resolved.
Failing job: https://github.com/sgl-project/sglang/actions/runs/29624032862/job/88035809117
Validation
pre-commit run --files test/registered/quant/test_llama8b_nvfp4_kv_cache_sm120.pygit diff --checkdisabledreasonThe full end-to-end test requires an SM120 GPU and is intentionally not scheduled while disabled.
CI States
Latest PR Test (Base): ❌ Run #29636016544
Latest PR Test (Extra): ❌ Run #29636016460