mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-17 15:56:07 +08:00
[BugFix][AMD][Deepseek] fix a dtype mismatch error for deepseek running on AMD (#23864)
Signed-off-by: Jinghui Zhang <jinghuizhang0804@gmail.com>
This commit is contained in:
parent
98ac0cb32d
commit
5264015d74
@ -279,7 +279,7 @@ def rocm_aiter_grouped_topk(
|
|||||||
if e_score_correction_bias is not None:
|
if e_score_correction_bias is not None:
|
||||||
torch.ops.vllm.rocm_aiter_biased_grouped_topk(
|
torch.ops.vllm.rocm_aiter_biased_grouped_topk(
|
||||||
gating_output,
|
gating_output,
|
||||||
e_score_correction_bias,
|
e_score_correction_bias.to(gating_output.dtype),
|
||||||
topk_weights,
|
topk_weights,
|
||||||
topk_ids,
|
topk_ids,
|
||||||
num_expert_group,
|
num_expert_group,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user