From 0a4196718c2116b529192feebfcfe56e1d7c8edd Mon Sep 17 00:00:00 2001 From: Daniel Han Date: Mon, 6 Jul 2026 14:20:51 +0000 Subject: [PATCH] Normalize kwarg spacing in loader.py after the main merge Post-merge ruff-format-with-kwargs pass (the pre-commit.ci hook) on the merged loader.py; whitespace only, no logic change. --- unsloth/models/loader.py | 1 + 1 file changed, 1 insertion(+) diff --git a/unsloth/models/loader.py b/unsloth/models/loader.py index ba23197861..a56638837f 100644 --- a/unsloth/models/loader.py +++ b/unsloth/models/loader.py @@ -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.