[ModelRunner V2] Enable by default for all dense models (#44443)

Signed-off-by: yewentao256 <zhyanwentao@126.com>
Signed-off-by: Nick Hill <nickhill123@gmail.com>
Co-authored-by: Nick Hill <nickhill123@gmail.com>
This commit is contained in:
Wentao Ye
2026-07-02 18:48:57 +08:00
committed by GitHub
co-authored by Nick Hill
parent de2a8fc042
commit a2f713002d
6 changed files with 55 additions and 17 deletions
+23 -1
View File
@@ -118,7 +118,17 @@ def test_v2_model_runner_env_tri_state(monkeypatch, env_value, expected):
is_moe=False,
is_quantized=False,
),
False,
True,
),
(
SimpleNamespace(
model="google/gemma-2-2b",
architectures=["Gemma2ForCausalLM"],
runner_type="generate",
is_moe=False,
is_quantized=False,
),
True,
),
(
SimpleNamespace(
@@ -197,6 +207,18 @@ def test_v2_model_runner_env_tri_state(monkeypatch, env_value, expected):
runner_type="generate",
is_moe=False,
is_quantized=False,
is_hybrid=True,
),
False,
),
(
SimpleNamespace(
model="state-spaces/mamba-130m-hf",
architectures=["MambaForCausalLM"],
runner_type="generate",
is_moe=False,
is_quantized=False,
is_attention_free=True,
),
False,
),