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
62830211
Unverified
Commit
62830211
authored
Feb 26, 2026
by
Pavani Majety
Committed by
GitHub
Feb 26, 2026
Browse files
[Bugfix] Fix KV Scale loading for MLA Models (#35430)
Signed-off-by:
Pavani Majety
<
pmajety@nvidia.com
>
parent
01923eec
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
vllm/model_executor/layers/quantization/modelopt.py
vllm/model_executor/layers/quantization/modelopt.py
+2
-2
No files found.
vllm/model_executor/layers/quantization/modelopt.py
View file @
62830211
...
@@ -12,7 +12,7 @@ from vllm.logger import init_logger
...
@@ -12,7 +12,7 @@ from vllm.logger import init_logger
from
vllm.model_executor.kernels.linear
import
(
from
vllm.model_executor.kernels.linear
import
(
init_fp8_linear_kernel
,
init_fp8_linear_kernel
,
)
)
from
vllm.model_executor.layers.attention
import
Attention
from
vllm.model_executor.layers.attention
import
Attention
,
MLAAttention
from
vllm.model_executor.layers.fused_moe.activation
import
MoEActivation
from
vllm.model_executor.layers.fused_moe.activation
import
MoEActivation
from
vllm.model_executor.layers.fused_moe.config
import
(
from
vllm.model_executor.layers.fused_moe.config
import
(
FusedMoEConfig
,
FusedMoEConfig
,
...
@@ -183,7 +183,7 @@ class ModelOptQuantConfigBase(QuantizationConfig):
...
@@ -183,7 +183,7 @@ class ModelOptQuantConfigBase(QuantizationConfig):
self
,
layer
:
torch
.
nn
.
Module
,
prefix
:
str
self
,
layer
:
torch
.
nn
.
Module
,
prefix
:
str
)
->
"QuantizeMethodBase | None"
:
)
->
"QuantizeMethodBase | None"
:
# handle kv-cache first so we can focus only on weight quantization thereafter
# handle kv-cache first so we can focus only on weight quantization thereafter
if
isinstance
(
layer
,
Attention
):
if
isinstance
(
layer
,
(
Attention
,
MLAAttention
)
):
return
self
.
KVCacheMethodCls
(
self
)
return
self
.
KVCacheMethodCls
(
self
)
# handle exclusion
# handle exclusion
...
...
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