[Bugfix] Widen ep_gather output offset to int64 (#58373)
Signed-off-by: Robert Shaw <robertgshaw2@gmail.com> Co-authored-by: Claude Code <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Code
parent
fe51194e2d
commit
283d76d56a
@@ -415,7 +415,7 @@ def _fwd_kernel_ep_gather(
|
||||
|
||||
tl.store(
|
||||
output_tensor
|
||||
+ cur_token * output_tensor_stride0
|
||||
+ tl.cast(cur_token, tl.int64) * output_tensor_stride0
|
||||
+ cur_block * BLOCK_D
|
||||
+ off_d,
|
||||
accumulator.to(output_tensor.dtype.element_ty),
|
||||
|
||||
Reference in New Issue
Block a user