Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
change
sglang
Commits
5cbd709e
Unverified
Commit
5cbd709e
authored
Mar 17, 2025
by
huiwq1990
Committed by
GitHub
Mar 16, 2025
Browse files
Fix: modelscope env comment (#4474)
Signed-off-by:
huiwq1990
<
huiwq1990@163.com
>
parent
2e4a1e2d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
python/sglang/srt/model_loader/loader.py
python/sglang/srt/model_loader/loader.py
+1
-1
No files found.
python/sglang/srt/model_loader/loader.py
View file @
5cbd709e
...
...
@@ -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."""
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment