From db292872c8ea74c6874ecdb101ab9235294ed144 Mon Sep 17 00:00:00 2001 From: Daniel Han Date: Tue, 25 Nov 2025 06:50:58 -0800 Subject: [PATCH] Update fp8.py --- unsloth/kernels/fp8.py | 1 + 1 file changed, 1 insertion(+) diff --git a/unsloth/kernels/fp8.py b/unsloth/kernels/fp8.py index 6fae46a22b..0b8d12a462 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