Skip to content

[release/1.10.0] Fix non-contiguous inputs in fused RoPE (#334)#336

Merged
pragupta merged 1 commit into
release/1.10.0from
cherry-pick/fused-rope-noncontig-334-release-1.10.0
Jul 1, 2026
Merged

[release/1.10.0] Fix non-contiguous inputs in fused RoPE (#334)#336
pragupta merged 1 commit into
release/1.10.0from
cherry-pick/fused-rope-noncontig-334-release-1.10.0

Conversation

@albmalamd

Copy link
Copy Markdown

Cherry-pick of #334 (commit 77b96da) into release/1.10.0.

The aiter fused RoPE kernels require the head-dim (last) stride to be 1. This enforces contiguity on non-contiguous inputs/gradients in the forward and backward paths of FusedRoPEFuncAiter, FusedRoPECachedFuncAiter, FusedRoPETHDFuncAiter, and FusedRoPE2DFuncAiter.

The FusedRoPE2DFuncAiter hunks required a trivial conflict resolution (trailing-whitespace-only blank lines on this branch); the net change is identical to the original commit.

@albmalamd
albmalamd requested a review from pragupta July 1, 2026 19:33
@pragupta pragupta changed the title Fix non-contiguous inputs in fused RoPE (#334) [release/1.10.0] [release/1.10.0] Fix non-contiguous inputs in fused RoPE (#334) Jul 1, 2026
@pragupta
pragupta merged commit e97c665 into release/1.10.0 Jul 1, 2026
1 check passed
@pragupta
pragupta deleted the cherry-pick/fused-rope-noncontig-334-release-1.10.0 branch July 1, 2026 21:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants