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 Han08dea00cfb68
diff --git a/unsloth/models/_utils.py b/unsloth/models/_utils.pyindex 2ec4adaa119..6aa7f94cf46 100644--- a/unsloth/models/_utils.py+++ b/unsloth/models/_utils.py@@ -131,6 +131,7 @@ logging.getLogger("transformers.tokenization_utils_base").setLevel(logging.CRITI# Ignore logging messagesclass HideLoggingMessage(logging.Filter):+ __slots__ = "text",def __init__(self, text): self.text = textdef filter(self, x): return not (self.text in x.getMessage())pass@@ -138,6 +139,8 @@ pass# The speedups for torchdynamo mostly come wih GPU Ampere or higher and which is not detected here.from transformers.training_args import logger as transformers_training_args_loggertransformers_training_args_logger.addFilter(HideLoggingMessage("The speedups"))+# torch.distributed process group is initialized, but parallel_mode != ParallelMode.DISTRIBUTED.+transformers_training_args_logger.addFilter(HideLoggingMessage("torch.distributed"))del transformers_training_args_logger# Using the default loss: `ForCausalLMLoss`.