Skip to content

Commit

Permalink
Fix AMP v2 slowdown issue due to compute_param_encodings
Browse files Browse the repository at this point in the history
Signed-off-by: Seokjun An <[email protected]>
  • Loading branch information
quic-seokan committed Jan 3, 2025
1 parent 421aece commit e1836f7
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,9 @@ def enabled(self, val): # pylint: disable=no-self-use
if val:
raise RuntimeError

def __bool__(self):
return False


class _V1QuantizeDequantize(_V1QuantizerMixin, QuantizeDequantize):
...

0 comments on commit e1836f7

Please sign in to comment.