Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
change
sglang
Commits
465968b2
Unverified
Commit
465968b2
authored
Jul 21, 2025
by
Ke Bao
Committed by
GitHub
Jul 21, 2025
Browse files
Fix dtype error in CI (#8197)
parent
750838ad
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
python/sglang/srt/layers/moe/topk.py
python/sglang/srt/layers/moe/topk.py
+1
-1
No files found.
python/sglang/srt/layers/moe/topk.py
View file @
465968b2
...
@@ -524,7 +524,7 @@ def biased_grouped_topk_gpu(
...
@@ -524,7 +524,7 @@ def biased_grouped_topk_gpu(
topk_weights
=
torch
.
empty
((
token
,
topk
),
dtype
=
torch
.
float32
,
device
=
device
)
topk_weights
=
torch
.
empty
((
token
,
topk
),
dtype
=
torch
.
float32
,
device
=
device
)
topk_ids
=
torch
.
empty
((
token
,
topk
),
dtype
=
torch
.
int32
,
device
=
device
)
topk_ids
=
torch
.
empty
((
token
,
topk
),
dtype
=
torch
.
int32
,
device
=
device
)
aiter_biased_grouped_topk
(
aiter_biased_grouped_topk
(
gating_output
,
gating_output
.
to
(
dtype
=
torch
.
float32
)
,
correction_bias
,
correction_bias
,
topk_weights
,
topk_weights
,
topk_ids
,
topk_ids
,
...
...
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