mirror of
https://github.com/unslothai/unsloth.git
synced 2026-07-09 15:58:41 +00:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
bf974da5cd
commit
ceaa706efa
1 changed files with 1 additions and 0 deletions
|
|
@ -245,6 +245,7 @@ def _maybe_advise_fla_install(model_types):
|
|||
"transformers will use a slower pure PyTorch path."
|
||||
)
|
||||
|
||||
|
||||
def _fix_rope_inv_freq(model):
|
||||
"""Fix inv_freq corruption caused by transformers v5 meta-device loading.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue