Skip to content

Accelerate Rope computing#1

Open
zhangtao0408 wants to merge 2 commits into
Eco-Sphere:mainfrom
zhangtao0408:rope_fix
Open

Accelerate Rope computing#1
zhangtao0408 wants to merge 2 commits into
Eco-Sphere:mainfrom
zhangtao0408:rope_fix

Conversation

@zhangtao0408
Copy link
Copy Markdown
Contributor

Accelerate Rope computing

@zhangtao0408 zhangtao0408 added the enhancement New feature or request label Nov 1, 2025
@zhangtao0408 zhangtao0408 marked this pull request as ready for review November 1, 2025 06:26
output.append(x_i)
return torch.cat(output).float()
cos, sin = freqs_list[0]
return rotary_position_embedding(x, cos, sin, rotated_mode="rotated_interleaved", fused=True)
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please explain why this worked? The grid_sizes only has one element?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants