[CI] Bound the CUDA graph capture range in test launches and lift the spec fixture's admission cap (#33776)

This commit is contained in:
Liangsheng Yin
2026-08-05 20:00:30 -07:00
committed by GitHub
parent f33f6a522f
commit 9bd1461757
9 changed files with 26 additions and 6 deletions
@@ -40,6 +40,8 @@ class _Core(EagleLlama2Base):
attention_backend = "intel_amx"
disable_overlap = True
mem_fraction_static = 0.3
# CPU decode is compute-bound; a wider batch buys nothing here.
max_running_requests = 8
gsm8k_num_examples = 64
env_overrides = ((envs.SGLANG_ENABLE_STRICT_MEM_CHECK_DURING_BUSY, 1),)
@@ -20,6 +20,8 @@ class TestEagle3ParityCPU(SpecParityKit, Eagle3Base):
attention_backend = "intel_amx"
disable_overlap = True
mem_fraction_static = 0.3
# CPU decode is compute-bound; a wider batch buys nothing here.
max_running_requests = 8
env_overrides = ((envs.SGLANG_ENABLE_STRICT_MEM_CHECK_DURING_BUSY, 1),)
@@ -32,6 +32,8 @@ class _Core(EagleLlama2Base):
attention_backend = "intel_amx"
disable_overlap = True
mem_fraction_static = 0.3
# CPU decode is compute-bound; a wider batch buys nothing here.
max_running_requests = 8
gsm8k_num_examples = 64
env_overrides = ((envs.SGLANG_ENABLE_STRICT_MEM_CHECK_DURING_BUSY, 1),)
@@ -30,7 +30,6 @@ class TestEagle3Perf(Eagle3Base, SpecPerfKit):
class TestEagleLlama2Retract(EagleLlama2Base, SpecAccuracyKit, SpecFeatureKit):
"""Retract under a small KV budget; must not leak."""
max_running_requests = 64
extra_args = ("--max-total-tokens", 4500) # small KV to trigger retract
env_overrides = (
(envs.SGLANG_TEST_RETRACT, True),
@@ -46,7 +45,6 @@ class TestEagle3Topk16V2Retract(Eagle3Base, SpecAccuracyKit, SpecFeatureKit):
spec_tokens = 64
disable_overlap = False
cuda_graph_max_bs_decode = 5
max_running_requests = 64
gsm8k_accept_len_thres = 2.4
extra_args = ("--max-total-tokens", 4500) # small KV to trigger retract
env_overrides = (
@@ -40,6 +40,9 @@ class TestEagle3Topk16(
spec_tokens = 64
disable_overlap = False
enable_return_hidden_states = True
# Verify materializes bs * spec_tokens fp32 logit rows: 262MB here, but
# 2.1GB at the fixture's 64 -- OOM on a 32GB card.
max_running_requests = 8
cuda_graph_max_bs_decode = 5
acc_length_thres = 3.1
batch_accept_len_thres = 1.75
@@ -31,6 +31,8 @@ class TestEagle3Page4Topk8(Eagle3Base, SpecAccuracyKit, SpecLogprobKit, SpecFeat
# Preset accept-length values are topk=1 numbers -- loose for a topk=8
# tree; tighten once CI reports the actuals.
gsm8k_accept_len_thres = 2.0
# Same fp32 logits budget as the topk=16 classes (bs * spec_tokens * vocab).
max_running_requests = 16
cuda_graph_max_bs_decode = 5
env_overrides = ((envs.SGLANG_ENABLE_STRICT_MEM_CHECK_DURING_BUSY, 1),)
@@ -32,8 +32,6 @@ class TestEagle3Triton(
"""Overlap scheduler on triton (kits listed in bases)."""
attention_backend = "triton"
max_running_requests = 64
cuda_graph_max_bs_decode = 64
gsm8k_num_examples = 200
gsm8k_check_accept_len = False
env_overrides = ((envs.SGLANG_ENABLE_STRICT_MEM_CHECK_DURING_BUSY, 1),)