[CI][Bugfix] Complete DeepSeek-V4 FSE test fixture contract (#52842)

Signed-off-by: Thomas Parnell <tpa@zurich.ibm.com>
Signed-off-by: Kevin Luu <51931015+khluu@users.noreply.github.com>
Co-authored-by: Thomas Parnell <tpa@zurich.ibm.com>
Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
Kevin H. Luu
2026-08-18 19:04:10 -06:00
committed by GitHub
co-authored by Thomas Parnell Claude
parent f1178f3a06
commit b05ae5dc00
@@ -479,6 +479,8 @@ def test_models_fse_init(
is_mm_prefix_lm=False,
multimodal_config=None,
quantization_config=None,
runner_type="generate",
is_moe=True,
)
vllm_config.parallel_config.enable_expert_parallel = False
if model_type == "deepseek_v4":
@@ -535,7 +537,8 @@ def test_models_fse_init(
)
vllm_config.speculative_config = SimpleNamespace(
draft_model_config=SimpleNamespace(hf_config=config)
draft_model_config=SimpleNamespace(hf_config=config),
method="mtp",
)
mtp = DeepSeekV4MTP(vllm_config=vllm_config)
assert model.is_fused_shared_expert_enabled is (fse_enabled and not exclude)