Skip to content

Fix RoPE extension - #846

Merged
danielhanchen merged 14 commits into
mainfrom
nightly
Jul 31, 2024
Merged

danielhanchen merged 14 commits into
mainfrom
nightly

Conversation

@danielhanchen

Copy link
Copy Markdown
Member

No description provided.

@danielhanchen
danielhanchen merged commit 4e570be into main Jul 31, 2024
abiswas-realadvice pushed a commit to abiswas-realadvice/unsloth that referenced this pull request May 14, 2026
* bugs

* Update _utils.py

* flash-attn softcapping

* Update gemma2.py

* Update gemma2.py

* Update gemma2.py

* Update gemma2.py

* Update mapper.py

* Update README.md

* Update _utils.py

* Fix ROPE extension issue and device mismatch (unslothai#840)

* When an exception has been assigned using as target, it is cleared at the end of the except clause.(https://docs.python.org/3/reference/compound_stmts.html#the-try-statement)

* Update loader.py

* round up to extend rope size

* inv_freq.device changed, make sure they are on the same device

---------

Co-authored-by: xiaoyang <[email protected]>
Co-authored-by: Daniel Han <[email protected]>

* Update gemma.py

---------

Co-authored-by: XiaoYang <[email protected]>
Co-authored-by: xiaoyang <[email protected]>
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