Fix: modelscope env comment (#4474)

Signed-off-by: huiwq1990 <huiwq1990@163.com>
This commit is contained in:
huiwq1990
2025-03-17 09:11:33 +08:00
committed by GitHub
parent 2e4a1e2d05
commit 5cbd709ea1

View File

@@ -202,7 +202,7 @@ class DefaultModelLoader(BaseModelLoader):
def _maybe_download_from_modelscope( def _maybe_download_from_modelscope(
self, model: str, revision: Optional[str] self, model: str, revision: Optional[str]
) -> 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 Returns the path to the downloaded model, or None if the model is not
downloaded from ModelScope.""" downloaded from ModelScope."""