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 import_fixes.py

Daniel Han7459010ab3ec
diff --git a/unsloth/import_fixes.py b/unsloth/import_fixes.py
index f388f4ea8df..da0fbc613b5 100644
--- a/unsloth/import_fixes.py
+++ b/unsloth/import_fixes.py
@@ -97,6 +97,8 @@ if os.environ.get("UNSLOTH_ENABLE_LOGGING", "0") != "1":
sys.stderr = HidePrintMessage(sys.stderr)
# https://github.com/pytorch/FBGEMM/blob/d99cd96490ec4aabac2ee95b1e76ea4dcfcfa628/fbgemm_gpu/experimental/gemm/triton_gemm/utils.py#L43-L52
sys.stderr.add_filter("TMA benchmarks will be running")
+ # Skipping import of cpp extensions due to incompatible torch version 2.9.0+cu128 for torchao version 0.15.0
+ logging.getLogger("torchao").setLevel(logging.ERROR)
# Fix up AttributeError: 'MessageFactory' object has no attribute 'GetPrototype'