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
3920c549
Commit
3920c549
authored
Feb 12, 2025
by
zhuwenwen
Browse files
update mixtral.py
parent
a27fdb55
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
+0
-6
vllm/model_executor/models/mixtral.py
vllm/model_executor/models/mixtral.py
+0
-6
No files found.
vllm/model_executor/models/mixtral.py
View file @
3920c549
...
...
@@ -524,12 +524,6 @@ class MixtralForCausalLM(nn.Module, SupportsLoRA, SupportsPP):
for
layername
in
loaded_params
:
weight
=
params_dict
[
layername
]
if
"lm_head.weight"
in
layername
:
lay_key_words
.
append
(
"lm_head.weight"
)
combined_words
=
"|"
.
join
(
lay_key_words
)
os
.
environ
[
'LM_NN'
]
=
'1'
else
:
os
.
environ
[
'LM_NN'
]
=
'0'
matches
=
re
.
findall
(
combined_words
,
layername
)
...
...
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