Skip to content

Commit 69f3795

Browse files
authored
Delete unused QAT utils code (#1579)
1 parent a1c67b9 commit 69f3795

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

torchao/quantization/qat/utils.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,6 @@
1616
_get_per_token_block_size,
1717
)
1818

19-
# Attribute name representing the forward prehook wrapping the
20-
# linear input in an `AffineFakeQuantizedTensor` on a linear module.
21-
#
22-
# The value of this attribute is a 2-tuple of (prehook, handle).
23-
# The prehook can be disabled by calling `handle.remove()`, and
24-
# re-enabled by calling `module.register_forward_pre_hook(prehook)`.
25-
_QAT_LINEAR_SUBCLASS_INPUT_PREHOOK = "_qat_linear_subclass_input_prehook"
26-
2719

2820
class _GenericFakeQuantize(torch.autograd.Function):
2921
"""

0 commit comments

Comments
 (0)