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 Han0a6bdf93b57d
diff --git a/unsloth/models/_utils.py b/unsloth/models/_utils.py
index 903093e60fa..d645235f02d 100644
--- a/unsloth/models/_utils.py
+++ b/unsloth/models/_utils.py
@@ -388,11 +388,11 @@ def is_big_gpu(index):
return True
import torch._inductor.utils
torch._inductor.utils.is_big_gpu = is_big_gpu
-patch_torch_compile(
- debug = UNSLOTH_COMPILE_DEBUG,
- O3 = UNSLOTH_COMPILE_MAXIMUM,
- ignore_errors = UNSLOTH_COMPILE_IGNORE_ERRORS,
-)
+# patch_torch_compile(
+# debug = UNSLOTH_COMPILE_DEBUG,
+# O3 = UNSLOTH_COMPILE_MAXIMUM,
+# ignore_errors = UNSLOTH_COMPILE_IGNORE_ERRORS,
+# )
torch_compile_options = {
"epilogue_fusion" : True,