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
4f35be10
Unverified
Commit
4f35be10
authored
Aug 27, 2025
by
Luka Govedič
Committed by
GitHub
Aug 27, 2025
Browse files
[BugFix] Fix topk_softmax assert (#19764)
Signed-off-by:
Luka Govedic
<
lgovedic@redhat.com
>
parent
2b61d2e2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
csrc/moe/topk_softmax_kernels.cu
csrc/moe/topk_softmax_kernels.cu
+1
-1
No files found.
csrc/moe/topk_softmax_kernels.cu
View file @
4f35be10
...
...
@@ -573,7 +573,7 @@ void topk_softmax(
stream
);
}
else
{
assert
(
topk_indices
.
scalar_type
()
==
at
::
ScalarType
::
Int64
);
TORCH_CHECK
(
topk_indices
.
scalar_type
()
==
at
::
ScalarType
::
Long
);
vllm
::
moe
::
topkGatingSoftmaxKernelLauncher
(
gating_output
.
data_ptr
<
float
>
(),
topk_weights
.
data_ptr
<
float
>
(),
...
...
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