From 5c5d7d5a86ac0d4602c959bdc761dd8101435a1d Mon Sep 17 00:00:00 2001 From: Disty0 Date: Sat, 4 Oct 2025 18:38:18 +0300 Subject: [PATCH] cleanup --- modules/sdnq/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/sdnq/common.py b/modules/sdnq/common.py index ed131423d..5bcd60ce9 100644 --- a/modules/sdnq/common.py +++ b/modules/sdnq/common.py @@ -44,7 +44,7 @@ if os.environ.get("SDNQ_USE_TENSORWISE_FP8_MM", None) is None: # row-wise FP8 only exist on H100 hardware, sdnq will use software row-wise with tensorwise hardware with this setting use_tensorwise_fp8_matmul = bool(devices.backend == "cuda" and torch.cuda.get_device_capability(devices.device) < (9,0)) else: - use_tensorwise_fp8_matmul = os.environ.get("SDNQ_USE_TENSORWISE_FP8_MM", "1").lower() not in {"0", "false", "no"} + use_tensorwise_fp8_matmul = os.environ.get("SDNQ_USE_TENSORWISE_FP8_MM", "0").lower() not in {"0", "false", "no"} if os.environ.get("SDNQ_USE_CONTIGUOUS_MM", None) is None: use_contiguous_mm = bool(is_rdna2 or devices.backend in {"cpu", "ipex", "zluda"})