Skip to content

Commit

Permalink
Remove comment related to a TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
sanchitintel authored Jan 15, 2025
1 parent c08b752 commit c83f470
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion torchao/dtypes/affine_quantized_tensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,6 @@ def from_hp_to_intx(
zero_point_domain,
)
# choose_qparams_affine is a custom op that does support returning optional Tensors. We thus set the zero_point to None if its domain is None
# TODO should probably consolidate ZeroPointDomain.NONE and None
if zero_point_domain == ZeroPointDomain.NONE:
zero_point = None
data = quantize_affine(
Expand Down

0 comments on commit c83f470

Please sign in to comment.