[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2026-07-06 12:50:39 +00:00
parent bf974da5cd
commit ceaa706efa

View file

@ -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.