From de5d4f0165db7c4f215e9d0b27cd123a7f0b50e8 Mon Sep 17 00:00:00 2001 From: Disty0 Date: Tue, 9 Dec 2025 19:57:34 +0300 Subject: [PATCH] SDNQ fix sr not doing anything --- modules/sdnq/quantizer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/sdnq/quantizer.py b/modules/sdnq/quantizer.py index fbab83cc3..7439ac8ba 100644 --- a/modules/sdnq/quantizer.py +++ b/modules/sdnq/quantizer.py @@ -327,7 +327,7 @@ def sdnq_quantize_layer_weight(weight, layer_class_name=None, weights_dtype="int else: group_size = -1 - weight, scale, zero_point = quantize_weight(weight, reduction_axes, weights_dtype) + weight, scale, zero_point = quantize_weight(weight, reduction_axes, weights_dtype, use_stochastic_rounding=use_stochastic_rounding) if ( not dequantize_fp32 and dtype_dict[weights_dtype]["num_bits"] <= 8