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.
Python agentaichatgptdeepseekfine-tuninggemmaimage-generationllamallmllmsopenaipythonqwenreinforcement-learningself-hostedstable-diffusiontext-to-speechttsuiunsloth
Update _utils.py
Daniel Han098692bd965e
diff --git a/unsloth/models/_utils.py b/unsloth/models/_utils.pyindex 3b4e276bbd5..e2b35c5ff68 100644--- a/unsloth/models/_utils.py+++ b/unsloth/models/_utils.py@@ -182,6 +182,15 @@ try:except:pass+# Gemma3 It is strongly recommended to train Gemma3 models with the `eager`+try:+ from transformers.models.gemma3.modeling_gemma3 import logger as gemma3_logger+ gemma3_logger.addFilter(HideLoggingMessage("strongly recommended"))+ del gemma3_logger+except:+ pass++# Patch get_model_param_count to record correct 4bit / 8bitfrom transformers.trainer_pt_utils import is_deepspeed_zero3_enableddef get_model_param_count(model, trainable_only = False):