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.

Temporary patches

Daniel Han914bd92a8cef
diff --git a/unsloth/models/_utils.py b/unsloth/models/_utils.py
index 77bfa8762a8..680402a178a 100644
--- a/unsloth/models/_utils.py
+++ b/unsloth/models/_utils.py
@@ -113,6 +113,11 @@ from unsloth_zoo.compiler import (
from unsloth_zoo.training_utils import (
prepare_model_for_training,
)
+from unsloth_zoo.temporary_patches import (
+ TEMPORARY_PATCHES,
+)
+for temporary_patch in TEMPORARY_PATCHES:
+ temporary_patch()
# =============================================
# Disable some warnings which can get annoying