Skip to content

Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.

Merge branch 'pr/3055'

Daniel Hanc2540a189721
diff --cc unsloth/models/_utils.py
index 95182e01799,c7602ed1931..83be0dddd67
--- a/unsloth/models/_utils.py
+++ b/unsloth/models/_utils.py
@@@ -221,8 -221,7 +221,10 @@@ class _RaiseUninitialized(logging.Handl
def __init__(self):
super().__init__()
def emit(self, record):
- if "some weights of" in str(record).lower() and "gemma" in str(record).lower():
+ record_lower = str(record).lower()
- if "some weights of" in record_lower and "score.weight" not in record_lower:
++ if ("some weights of" in record_lower) and \
++ ("score.weight" not in record_lower) and \
++ ("classifier.weight" not in record_lower):
raise Exception(
f"Unsloth: Critical error since some weights are not initialized.\n"\
f"Please try updating Unsloth, transformers and timm via:\n"\