Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
f4f8a9d8
Unverified
Commit
f4f8a9d8
authored
Jul 24, 2024
by
liuyhwangyh
Committed by
GitHub
Jul 24, 2024
Browse files
[Bugfix]fix modelscope compatible issue (#6730)
parent
b5708117
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vllm/model_executor/model_loader/loader.py
vllm/model_executor/model_loader/loader.py
+1
-1
No files found.
vllm/model_executor/model_loader/loader.py
View file @
f4f8a9d8
...
@@ -161,7 +161,7 @@ class DefaultModelLoader(BaseModelLoader):
...
@@ -161,7 +161,7 @@ class DefaultModelLoader(BaseModelLoader):
cache_dir
=
self
.
load_config
.
download_dir
,
cache_dir
=
self
.
load_config
.
download_dir
,
local_files_only
=
huggingface_hub
.
constants
.
HF_HUB_OFFLINE
,
local_files_only
=
huggingface_hub
.
constants
.
HF_HUB_OFFLINE
,
revision
=
revision
,
revision
=
revision
,
ignore_pattern
s
=
self
.
load_config
.
ignore_patterns
,
ignore_
file_
pattern
=
self
.
load_config
.
ignore_patterns
,
)
)
else
:
else
:
model_path
=
model
model_path
=
model
...
...
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