From da0df35106547e30f8a11146286b9e53f7d56936 Mon Sep 17 00:00:00 2001 From: Disty0 Date: Tue, 25 Nov 2025 21:58:53 +0300 Subject: [PATCH] fix typo --- modules/sdnq/loader.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/sdnq/loader.py b/modules/sdnq/loader.py index 8d4a02987..d1d1e0f47 100644 --- a/modules/sdnq/loader.py +++ b/modules/sdnq/loader.py @@ -170,8 +170,8 @@ def apply_options_to_model(model, dtype: torch.dtype = None, dequantize_fp32: bo or dtype_dict[module.sdnq_dequantizer.weights_dtype]["num_bits"] > 8 or ( (use_quantized_matmul or (use_quantized_matmul is None and module.sdnq_dequantizer.use_quantized_matmul)) - and not dtype_dict[module.sdnq_dequantizerquantized_matmul_dtype]["is_integer"] - and (not use_tensorwise_fp8_matmul or dtype_dict[module.sdnq_dequantizerquantized_matmul_dtype]["num_bits"] == 16) + and not dtype_dict[module.sdnq_dequantizer.quantized_matmul_dtype]["is_integer"] + and (not use_tensorwise_fp8_matmul or dtype_dict[module.sdnq_dequantizer.quantized_matmul_dtype]["num_bits"] == 16) ) ) scale_dtype = torch.float32 if upcast_scale or dequantize_fp32 or (dequantize_fp32 is None and module.scale.dtype == torch.float32) else module.sdnq_dequantizer.result_dtype