Skip to content

Apply roll operation to position_ids in MTP #1651

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

iansheng
Copy link

@iansheng iansheng commented Jun 26, 2025

input_ids is rolled before passing to next layer, but position_ids is not. This breaks alignment between tokens and positions. This pr is to address this issue: #1650

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

Successfully merging this pull request may close these issues.

3 participants