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 Han57d858b27abb
diff --git a/unsloth/models/_utils.py b/unsloth/models/_utils.py
index 7f0c2f69594..2e88e213e6e 100644
--- a/unsloth/models/_utils.py
+++ b/unsloth/models/_utils.py
@@ -214,6 +214,14 @@ try:
except:
pass
+# MXFP4 quantization requires triton >= 3.4.0
+try:
+ from transformers.quantizers.quantizer_mxfp4 import logger as mxfp4_logger
+ mxfp4_logger.addFilter(HideLoggingMessage("requires triton"))
+ del mxfp4_logger
+except:
+ pass
+
# Errors out on
# Some weights of Gemma3nForConditionalGeneration were not initialized from the model checkpoint
from transformers.modeling_utils import logger as transformers_logger