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
Diffusers warnings
Daniel Han37888f3e10da
diff --git a/unsloth/__init__.py b/unsloth/__init__.pyindex bf3de82dc02..d10a0f80303 100644--- a/unsloth/__init__.py+++ b/unsloth/__init__.py@@ -29,14 +29,17 @@ from .import_fixes import (fix_message_factory_issue,check_fbgemm_gpu_version,torchvision_compatibility_check,+ fix_diffusers_warnings,)fix_message_factory_issue()check_fbgemm_gpu_version()torchvision_compatibility_check()+fix_diffusers_warnings()del fix_message_factory_issuedel check_fbgemm_gpu_versiondel torchvision_compatibility_check+del fix_diffusers_warnings# This check is critical because Unsloth optimizes these libraries by modifying# their code at import time. If they're imported first, the original (slower,diff --git a/unsloth/import_fixes.py b/unsloth/import_fixes.pyindex 308bd92db76..f3aae7f523d 100644--- a/unsloth/import_fixes.py+++ b/unsloth/import_fixes.py@@ -536,3 +536,8 @@ def fix_executorch():logger.info("Unsloth: Patching Executorch to fix get_mapped_key")except Exception as e:logger.info(f"Unsloth: Failed Executorch with error = {str(e)}")+++def fix_diffusers_warnings():+ # Silence Flax classes are deprecated and will be removed in Diffusers v1.0.0.+ os.environ["DIFFUSERS_VERBOSITY"] = "error"