From 1029e5ef282ec4f705de99b91418e956c835c315 Mon Sep 17 00:00:00 2001 From: Isotr0py Date: Sun, 10 May 2026 10:47:09 +0800 Subject: [PATCH] [CI/Build] Use modelscope's international site for regression test (#42176) Signed-off-by: Isotr0py --- tests/test_regression.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_regression.py b/tests/test_regression.py index 385a9286c65..c38d974119a 100644 --- a/tests/test_regression.py +++ b/tests/test_regression.py @@ -56,9 +56,10 @@ def test_gc(): def test_model_from_modelscope(monkeypatch: pytest.MonkeyPatch): - # model: https://modelscope.cn/models/qwen/Qwen1.5-0.5B-Chat/summary + # model: https://www.modelscope.ai/models/qwen/Qwen1.5-0.5B-Chat with monkeypatch.context() as m: m.setenv("VLLM_USE_MODELSCOPE", "True") + m.setenv("MODELSCOPE_DOMAIN", "www.modelscope.ai") # Don't use HF_TOKEN for ModelScope repos, otherwise it will fail # with 400 Client Error: Bad Request. m.setenv("HF_TOKEN", "")