Skip to content

Commit a8919e9

Browse files
committed
minor
1 parent ce384be commit a8919e9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

modelopt/torch/quantization/tensor_quant.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,8 @@ def _fp8_eager(x, amax=None):
5454
return x.to(dtype)
5555

5656

57-
@torch.compile(dynamic=True)
5857
def _fp8_triton(x, amax):
59-
return _fp8_eager(x, amax)
58+
return torch.compile(dynamic=True)(_fp8_eager)(x, amax)
6059

6160

6261
def fp8_eager(x, amax):

0 commit comments

Comments
 (0)