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
b7df53cd
Unverified
Commit
b7df53cd
authored
Oct 23, 2024
by
Michael Goin
Committed by
GitHub
Oct 24, 2024
Browse files
[Bugfix] Use "vision_model" prefix for MllamaVisionModel (#9628)
Signed-off-by:
mgoin
<
michael@neuralmagic.com
>
parent
bb01f291
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
vllm/model_executor/models/mllama.py
vllm/model_executor/models/mllama.py
+2
-1
No files found.
vllm/model_executor/models/mllama.py
View file @
b7df53cd
...
@@ -1053,7 +1053,8 @@ class MllamaForConditionalGeneration(nn.Module, SupportsMultiModal):
...
@@ -1053,7 +1053,8 @@ class MllamaForConditionalGeneration(nn.Module, SupportsMultiModal):
self
.
image_size
=
config
.
vision_config
.
image_size
self
.
image_size
=
config
.
vision_config
.
image_size
self
.
vision_model
=
MllamaVisionModel
(
config
.
vision_config
,
self
.
vision_model
=
MllamaVisionModel
(
config
.
vision_config
,
quant_config
)
quant_config
,
prefix
=
"vision_model"
)
self
.
language_model
=
MllamaForCausalLM
(
self
.
language_model
=
MllamaForCausalLM
(
config
.
text_config
,
config
.
text_config
,
cache_config
=
cache_config
,
cache_config
=
cache_config
,
...
...
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