forked from Karylab-cklius/vllm
[CI/Build] Use modelscope's international site for regression test (#42176)
Signed-off-by: Isotr0py <mozf@mail2.sysu.edu.cn>
This commit is contained in:
@@ -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", "")
|
||||
|
||||
Reference in New Issue
Block a user