Skip to content

Conversation

@ggerganov
Copy link
Member

cont #12373

Add notion of SWA-related rope parameters. Currently, only part of the hparams, but in the future could be added to the cparams if we want to be able to control these per-context.

Also add debug logs to know which layers use SWA.

@bartowski1182
Copy link
Contributor

bartowski1182 commented Mar 13, 2025

Would this necessitate reconverting Gemma 3 since we no longer have hard coded detection for the Arch? Or is it using already existing metadata?

@ggerganov
Copy link
Member Author

No, the change is backwards compatible. It's a simple refactoring of the code, to make it less special-cased.

@ggerganov ggerganov merged commit 081bee8 into master Mar 14, 2025
54 checks passed
jpohhhh pushed a commit to Telosnex/llama.cpp that referenced this pull request Mar 14, 2025
arthw pushed a commit to arthw/llama.cpp that referenced this pull request Mar 19, 2025
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.

3 participants