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 Han3591f347eb32
diff --git a/unsloth/models/_utils.py b/unsloth/models/_utils.py
index 61d660bce47..f49c9db1ff2 100644
--- a/unsloth/models/_utils.py
+++ b/unsloth/models/_utils.py
@@ -46,6 +46,8 @@ __all__ = [
"patch_gradient_accumulation_fix",
"patch_compiling_bitsandbytes",
"patch_regional_compilation",
+ "patch_layernorm",
+ "patch_torch_compile",
]
import torch