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

Daniel Han6360dfbf5ad2
diff --git a/unsloth/kernels/fp8.py b/unsloth/kernels/fp8.py
index 6fae46a22bb..0b8d12a4623 100644
--- a/unsloth/kernels/fp8.py
+++ b/unsloth/kernels/fp8.py
@@ -566,6 +566,7 @@ try:
logger.info(f"Using fbgemm_gpu block quantized FP8 matmul")
fp8_block_quant_linear = fp8_fbgemm_block_linear
else:
+ os.environ["UNSLOTH_HAS_FBGEMM"] = "0"
except:
pass