Skip to content

Conversation

harrywhoo
Copy link
Contributor

  • Change head_dim//2 to rotary_dim//2 in LongRope scaling
  • Fixes buffer size when rotary_dim differs from head_dim when partial_rotary_factor < 1.0

* Change head_dim//2 to rotary_dim//2 in LongRope scaling
* Fixes buffer size when rotary_dim differs from head_dim
Copy link
Contributor

@MasterJH5574 MasterJH5574 left a comment

Choose a reason for hiding this comment

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

Thanks @harrywhoo for the fix!

@MasterJH5574 MasterJH5574 merged commit 910aeaf into apache:main Jul 1, 2025
10 checks passed
ShiboXing pushed a commit to ShiboXing/tvm that referenced this pull request Aug 10, 2025
* Change head_dim//2 to rotary_dim//2 in LongRope scaling
* Fixes buffer size when rotary_dim differs from head_dim
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