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
4f5d8446
Unverified
Commit
4f5d8446
authored
Aug 31, 2024
by
Nicolò Lucchesi
Committed by
GitHub
Aug 31, 2024
Browse files
[Bugfix] Fix ModelScope models in v0.5.5 (#8037)
parent
d05f0a9d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
vllm/transformers_utils/config.py
vllm/transformers_utils/config.py
+3
-0
No files found.
vllm/transformers_utils/config.py
View file @
4f5d8446
...
...
@@ -108,6 +108,9 @@ def get_hf_image_processor_config(
revision
:
Optional
[
str
]
=
None
,
**
kwargs
,
)
->
Dict
[
str
,
Any
]:
# ModelScope does not provide an interface for image_processor
if
VLLM_USE_MODELSCOPE
:
return
dict
()
# Separate model folder from file path for GGUF models
if
Path
(
model
).
is_file
()
and
Path
(
model
).
suffix
==
".gguf"
:
model
=
Path
(
model
).
parent
...
...
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