[Model Runner v2] Force v1 runner for tests (#43233)

Signed-off-by: yewentao256 <zhyanwentao@126.com>
This commit is contained in:
Wentao Ye
2026-05-23 16:37:24 -07:00
committed by GitHub
parent b32fe416ea
commit 33d7cbe02c
6 changed files with 50 additions and 6 deletions
+14 -2
View File
@@ -92,7 +92,13 @@ def test_async_tp_pass_correctness(
"mp",
]
compare_two_settings(model_id, async_tp_args, tp_args, method="generate")
compare_two_settings(
model_id,
async_tp_args,
tp_args,
method="generate",
force_v1_runner=True,
)
@create_new_process_for_each_test()
@@ -154,4 +160,10 @@ def test_async_tp_pass_nvfp4_correctness(num_gpus_available: int, monkeypatch):
"mp",
]
compare_two_settings(NVFP4_MODEL_ID, async_tp_args, tp_args, method="generate")
compare_two_settings(
NVFP4_MODEL_ID,
async_tp_args,
tp_args,
method="generate",
force_v1_runner=True,
)
@@ -294,7 +294,13 @@ def _compare_sp(
"mp",
]
compare_two_settings(model_id, tp_sp_args, tp_args, method=method)
compare_two_settings(
model_id,
tp_sp_args,
tp_args,
method=method,
force_v1_runner=True,
)
SP_TEXT_GENERATION_MODELS = {