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.

Update _utils.py

Daniel Han74f02237652c
diff --git a/unsloth/models/_utils.py b/unsloth/models/_utils.py
index ba6392eab82..091dbaee297 100644
--- a/unsloth/models/_utils.py
+++ b/unsloth/models/_utils.py
@@ -48,6 +48,7 @@ __all__ = [
"patch_regional_compilation",
"patch_layernorm",
"patch_torch_compile",
+ "patch_model_and_tokenizer",
]
import torch