Fix the log to correct guide user to install modelscope (#9793)

Signed-off-by: yuze.zyz <yuze.zyz@alibaba-inc.com>
This commit is contained in:
tastelikefeet
2024-10-30 01:36:59 +08:00
committed by GitHub
parent 74fc2d77ae
commit 08600ddc68

View File

@@ -9,7 +9,7 @@ if VLLM_USE_MODELSCOPE:
if version.parse(modelscope.__version__) <= version.parse('1.18.0'):
raise ImportError(
'Using vLLM with ModelScope needs modelscope>=1.18.1, please '
'install by `pip install modelscope>=1.18.1`')
'install by `pip install modelscope -U`')
from modelscope.utils.hf_util import patch_hub