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
07c69390
Commit
07c69390
authored
Jun 10, 2025
by
zhuwenwen
Browse files
Update qwen3_moe.py
parent
90e10dee
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
vllm/model_executor/models/qwen3_moe.py
vllm/model_executor/models/qwen3_moe.py
+4
-4
No files found.
vllm/model_executor/models/qwen3_moe.py
View file @
07c69390
...
@@ -332,9 +332,9 @@ class Qwen3MoeModel(nn.Module):
...
@@ -332,9 +332,9 @@ class Qwen3MoeModel(nn.Module):
self
.
padding_idx
=
config
.
pad_token_id
self
.
padding_idx
=
config
.
pad_token_id
self
.
vocab_size
=
config
.
vocab_size
self
.
vocab_size
=
config
.
vocab_size
self
.
config
=
config
self
.
config
=
config
if
self
.
config
.
quantization_config
[
"bits"
]
==
4
:
#
if self.config.quantization_config["bits"] == 4:
os
.
environ
[
'LLAMA_NN'
]
=
'0'
#
os.environ['LLAMA_NN'] = '0'
os
.
environ
[
'LM_NN'
]
=
'0'
#
os.environ['LM_NN'] = '0'
self
.
embed_tokens
=
VocabParallelEmbedding
(
self
.
embed_tokens
=
VocabParallelEmbedding
(
config
.
vocab_size
,
config
.
vocab_size
,
config
.
hidden_size
,
config
.
hidden_size
,
...
...
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