We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35f3da2 commit 25be640Copy full SHA for 25be640
modelopt/torch/quantization/tensor_quant.py
@@ -468,7 +468,7 @@ def forward(
468
@staticmethod
469
def backward(ctx, grad_outputs):
470
"""Implements straight through estimation with clipping."""
471
- return _fake_quant_backward_function(ctx, grad_outputs, num_args=7)
+ return _fake_quant_backward_function(ctx, grad_outputs, num_args=8)
472
473
474
def _dynamic_block_quantize_forward(
0 commit comments