Fix test_startup.py for torch 2.12 (#40636)

Signed-off-by: Angela Yi <yiangela7@gmail.com>
This commit is contained in:
Angela Yi
2026-04-22 19:31:41 +00:00
committed by GitHub
parent d622e27d2b
commit eb6661d522
3 changed files with 8 additions and 10 deletions
@@ -28,7 +28,7 @@ def get_test_models():
"Qwen/Qwen2-7B-Instruct",
"meta-llama/Llama-3.1-8B",
]
if is_torch_equal_or_newer("2.12.0"):
if is_torch_equal_or_newer("2.12.0.dev"):
models.append("Qwen/Qwen3-4B-Instruct-2507")
return models