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
f5db6385
Unverified
Commit
f5db6385
authored
Dec 17, 2025
by
Grzegorz K. Karch
Committed by
GitHub
Dec 17, 2025
Browse files
Fix nemotron_nas intermediate_size computation (#30795)
Signed-off-by:
Grzegorz Karch
<
gkarch@nvidia.com
>
parent
c0a88df7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
vllm/model_executor/models/nemotron_nas.py
vllm/model_executor/models/nemotron_nas.py
+7
-4
No files found.
vllm/model_executor/models/nemotron_nas.py
View file @
f5db6385
...
@@ -169,10 +169,13 @@ class DeciLMDecoderLayer(nn.Module):
...
@@ -169,10 +169,13 @@ class DeciLMDecoderLayer(nn.Module):
self
.
input_layernorm
=
RMSNorm
(
config
.
hidden_size
,
eps
=
config
.
rms_norm_eps
)
self
.
input_layernorm
=
RMSNorm
(
config
.
hidden_size
,
eps
=
config
.
rms_norm_eps
)
if
not
self
.
_is_no_op_ffn
:
if
not
self
.
_is_no_op_ffn
:
ffn_mult
=
block_config
.
ffn
.
ffn_mult
if
hasattr
(
block_config
.
ffn
,
"ffn_mult"
):
intermediate_size
=
_ffn_mult_to_intermediate_size
(
ffn_mult
=
block_config
.
ffn
.
ffn_mult
ffn_mult
,
config
.
hidden_size
intermediate_size
=
_ffn_mult_to_intermediate_size
(
)
ffn_mult
,
config
.
hidden_size
)
else
:
intermediate_size
=
block_config
.
ffn
.
intermediate_size
self
.
mlp
=
LlamaMLP
(
self
.
mlp
=
LlamaMLP
(
hidden_size
=
self
.
hidden_size
,
hidden_size
=
self
.
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