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
c058ff44
Unverified
Commit
c058ff44
authored
Mar 22, 2026
by
Yongye Zhu
Committed by
GitHub
Mar 22, 2026
Browse files
[Bigfix]fix lora test by pass padded size back to the layer (#37811)
parent
ce9b1d76
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
vllm/model_executor/layers/quantization/mxfp4.py
vllm/model_executor/layers/quantization/mxfp4.py
+9
-0
No files found.
vllm/model_executor/layers/quantization/mxfp4.py
View file @
c058ff44
...
@@ -154,6 +154,15 @@ class Mxfp4MoEMethod(FusedMoEMethodBase):
...
@@ -154,6 +154,15 @@ class Mxfp4MoEMethod(FusedMoEMethodBase):
)
)
self
.
hidden_size
=
hidden_size
=
self
.
moe
.
hidden_dim
self
.
hidden_size
=
hidden_size
=
self
.
moe
.
hidden_dim
# Expose padded dimensions on the layer for LoRA and Marlin code
# that reads layer.hidden_size / layer.intermediate_size_per_partition.
layer
.
params_dtype
=
params_dtype
layer
.
num_experts
=
num_experts
layer
.
hidden_size
=
hidden_size
layer
.
intermediate_size_per_partition
=
(
intermediate_size_per_partition_after_pad
)
# Fused gate_up_proj (column parallel)
# Fused gate_up_proj (column parallel)
w13_weight
=
torch
.
nn
.
Parameter
(
w13_weight
=
torch
.
nn
.
Parameter
(
torch
.
zeros
(
torch
.
zeros
(
...
...
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