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
5b2a9422
Unverified
Commit
5b2a9422
authored
Feb 05, 2026
by
danisereb
Committed by
GitHub
Feb 05, 2026
Browse files
[BugFix] Fix LoRA Fp8 (#33879)
Signed-off-by:
Daniel Serebrenik
<
daserebrenik@nvidia.com
>
parent
c1858b7e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
8 deletions
+14
-8
vllm/lora/layers/fused_moe.py
vllm/lora/layers/fused_moe.py
+14
-8
No files found.
vllm/lora/layers/fused_moe.py
View file @
5b2a9422
...
...
@@ -130,6 +130,11 @@ class FusedMoEWithLoRA(BaseLayerWithLoRA):
self
.
base_layer
.
ensure_moe_quant_config_init
()
quant_config
=
self
.
base_layer
.
quant_method
.
moe_quant_config
if
getattr
(
self
.
base_layer
.
quant_method
,
"supports_internal_mk"
,
False
):
# Use the existing modular kernel from the quant method
m_fused_moe_fn
=
self
.
base_layer
.
quant_method
.
moe_mk
else
:
# Create a new modular kernel via select_gemm_impl
prepare_finalize
=
MoEPrepareAndFinalizeNoEP
()
m_fused_moe_fn
=
FusedMoEModularKernel
(
prepare_finalize
,
...
...
@@ -138,6 +143,7 @@ class FusedMoEWithLoRA(BaseLayerWithLoRA):
),
self
.
base_layer
.
shared_experts
,
)
if
quant_config
.
use_mxfp4_w4a16
:
assert
isinstance
(
m_fused_moe_fn
.
fused_experts
,
(
MarlinExperts
,
UnfusedOAITritonExperts
)
...
...
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