From 5cbd709ea1c97f6e9b0efada28556bc6749f8642 Mon Sep 17 00:00:00 2001 From: huiwq1990 Date: Mon, 17 Mar 2025 09:11:33 +0800 Subject: [PATCH] Fix: modelscope env comment (#4474) Signed-off-by: huiwq1990 --- python/sglang/srt/model_loader/loader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/sglang/srt/model_loader/loader.py b/python/sglang/srt/model_loader/loader.py index 656a9718d..e01eb8ad5 100644 --- a/python/sglang/srt/model_loader/loader.py +++ b/python/sglang/srt/model_loader/loader.py @@ -202,7 +202,7 @@ class DefaultModelLoader(BaseModelLoader): def _maybe_download_from_modelscope( self, model: str, revision: Optional[str] ) -> Optional[str]: - """Download model from ModelScope hub if VLLM_USE_MODELSCOPE is True. + """Download model from ModelScope hub if SGLANG_USE_MODELSCOPE is True. Returns the path to the downloaded model, or None if the model is not downloaded from ModelScope."""