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
5204ff5c
Unverified
Commit
5204ff5c
authored
Jan 27, 2025
by
Cyrus Leung
Committed by
GitHub
Jan 26, 2025
Browse files
[Bugfix] Fix Granite 3.0 MoE model loading (#12446)
Signed-off-by:
DarkLight1337
<
tlleungac@connect.ust.hk
>
parent
0cc6b383
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
vllm/model_executor/models/granitemoe.py
vllm/model_executor/models/granitemoe.py
+1
-0
No files found.
vllm/model_executor/models/granitemoe.py
View file @
5204ff5c
...
...
@@ -348,6 +348,7 @@ class GraniteMoeForCausalLM(nn.Module, SupportsLoRA, SupportsPP):
self
.
config
=
config
self
.
lora_config
=
lora_config
self
.
quant_config
=
quant_config
# Required by MixtralForCausalLM
self
.
model
=
GraniteMoeModel
(
vllm_config
=
vllm_config
,
prefix
=
maybe_prefix
(
prefix
,
"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