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
7dbe6d81
Unverified
Commit
7dbe6d81
authored
Nov 11, 2025
by
Chaojun Zhang
Committed by
GitHub
Nov 11, 2025
Browse files
Fix Fused MoE LoRA Triton kernel bug (#28450)
Signed-off-by:
chaojun-zhang
<
chaojun.zhang@intel.com
>
parent
b30dfa03
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
vllm/lora/ops/triton_ops/fused_moe_lora_op.py
vllm/lora/ops/triton_ops/fused_moe_lora_op.py
+2
-1
No files found.
vllm/lora/ops/triton_ops/fused_moe_lora_op.py
View file @
7dbe6d81
...
...
@@ -26,7 +26,7 @@ def _get_ptr(lora_weights: list[torch.Tensor], device: torch.device):
tensor_ptrs
=
[]
for
lora_weight
in
lora_weights
:
tensor_ptrs
.
append
(
lora_weight
.
data_ptr
())
ptr_tensor
=
torch
.
tensor
(
tensor_ptrs
,
device
=
device
)
ptr_tensor
=
torch
.
tensor
(
tensor_ptrs
,
device
=
device
,
dtype
=
torch
.
uint64
)
_LORA_PTR_DICT
[
key
]
=
ptr_tensor
return
_LORA_PTR_DICT
.
get
(
key
)
...
...
@@ -85,6 +85,7 @@ def _fused_moe_lora_kernel(
GROUP_SIZE_M
:
tl
.
constexpr
,
SPLIT_K
:
tl
.
constexpr
,
USE_GDC
:
tl
.
constexpr
,
launch_pdl
:
tl
.
constexpr
,
IS_PRIMARY
:
tl
.
constexpr
,
):
pid
=
tl
.
program_id
(
axis
=
0
)
...
...
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