Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 375758478
  • Loading branch information
reinerp authored and copybara-github committed May 25, 2021
1 parent da8db63 commit 44a7cbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aqt/jax/quantization.py
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,7 @@ def quantized_dot(*,
dot_dimension_numbers = (((act.ndim - 1,), (0,)), ((), ()))
if quant_type == QuantType.aqt:
# Let 's' be activation scales and 't' be weight scales. We implement
# matmul(RoundAndClip(w*s), RoundAndClip(s^-1 * w * t)) *t^-1. In the
# matmul(RoundAndClip(act*s), RoundAndClip(s^-1 * w * t)) *t^-1. In the
# comments below, we refer to this terminology.
# lax.dot accepts any combination of 1d and 2d arguments for its lhs and rhs
# input. To simplify the AQT implementation, we only accept 2d arguments for
Expand Down

0 comments on commit 44a7cbc

Please sign in to comment.