Skip to content

fix(rope): fix RoPE pairing bug - #5

Open
Rlingb wants to merge 1 commit into
jmaczan:mainfrom
Rlingb:fix-rope
Open

fix(rope): fix RoPE pairing bug#5
Rlingb wants to merge 1 commit into
jmaczan:mainfrom
Rlingb:fix-rope

Conversation

@Rlingb

@Rlingb Rlingb commented Jul 26, 2026

Copy link
Copy Markdown

Fixes #1

This PR fixes the RoPE pairing bug by switching from adjacent pairing to GPT-J style, aligning with Llama-3.2-1B pretrained weights. It also adds precomputed cos/sin tables and three-band frequency scaling.

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.

1 participant