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
78061ef5
Unverified
Commit
78061ef5
authored
Feb 02, 2026
by
Grzegorz K. Karch
Committed by
GitHub
Feb 02, 2026
Browse files
Fix accessing hidden_act from model config (#32686)
Signed-off-by:
Grzegorz Karch
<
gkarch@nvidia.com
>
parent
528b3076
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
vllm/model_executor/models/nemotron_nas.py
vllm/model_executor/models/nemotron_nas.py
+6
-1
No files found.
vllm/model_executor/models/nemotron_nas.py
View file @
78061ef5
...
...
@@ -177,10 +177,15 @@ class DeciLMDecoderLayer(nn.Module):
else
:
intermediate_size
=
block_config
.
ffn
.
intermediate_size
if
hasattr
(
block_config
.
ffn
,
"hidden_act"
):
hidden_act
=
block_config
.
ffn
.
hidden_act
else
:
hidden_act
=
config
.
hidden_act
self
.
mlp
=
LlamaMLP
(
hidden_size
=
self
.
hidden_size
,
intermediate_size
=
intermediate_size
,
hidden_act
=
config
.
hidden_act
,
hidden_act
=
hidden_act
,
quant_config
=
quant_config
,
bias
=
getattr
(
config
,
"mlp_bias"
,
False
),
prefix
=
f
"
{
prefix
}
.mlp"
,
...
...
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