Skip to content

Commit 25be640

Browse files
committed
Fix the test case
Signed-off-by: Jingyu Xin <[email protected]>
1 parent 35f3da2 commit 25be640

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modelopt/torch/quantization/tensor_quant.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@ def forward(
468468
@staticmethod
469469
def backward(ctx, grad_outputs):
470470
"""Implements straight through estimation with clipping."""
471-
return _fake_quant_backward_function(ctx, grad_outputs, num_args=7)
471+
return _fake_quant_backward_function(ctx, grad_outputs, num_args=8)
472472

473473

474474
def _dynamic_block_quantize_forward(

0 commit comments

Comments
 (0)