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 import_fixes.py
Daniel Han9c10317550f2
diff --git a/unsloth/import_fixes.py b/unsloth/import_fixes.pyindex 79fba855f54..3ba79c21628 100644--- a/unsloth/import_fixes.py+++ b/unsloth/import_fixes.py@@ -268,6 +268,7 @@ def check_fbgemm_gpu_version():)logger.info(f"Unsloth: fbgemm_gpu_genai=={fbgemm_gpu_version} detected.")+print([mod for mod in ["trl", "transformers", "peft"] if mod in sys.modules])def patch_enable_input_require_grads():"""@@ -331,6 +332,7 @@ def patch_enable_input_require_grads():"Unsloth: Patched enable_input_require_grads for vision model compatibility")+print([mod for mod in ["trl", "transformers", "peft"] if mod in sys.modules])def torchvision_compatibility_check():if importlib.util.find_spec("torch") is None: