Discussion about this post

User's avatar
Sebastian Raschka, PhD's avatar

Hi all, I just also added a lot of the additional content I originally trimmed from this article to an optional appendix (plus YaRN and ALiBi). If you already read the article and are looking for this bonus content, search for the "appendix" in this article. You can also find a direct link here, but it makes most sense to read passages of this where it is referenced throughout the text: https://sebastianraschka.com/supplementary/positional-embeddings/

Reply
Share
Nan Deng's avatar

The MiniMax-M3 example makes the partial RoPE tradeoff pretty clear: you shrink the cosine and sine tables, but the KV cache still stores the full key. If the memory win is that small, I wonder why it's showing up in 2026 models at all — is there a quality reason the table-size math doesn't capture, or is it mostly carried over from an earlier implementation?

Reply
Share
15 more comments...

Ready for more?