Skip to content

Commit 0ea51af

Browse files
wenhuach21chensuyue
authored andcommitted
remove torch compile (#807)
(cherry picked from commit 1452d95)
1 parent 76bc5f0 commit 0ea51af

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

auto_round/data_type/nvfp.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ def calculate_gparam(tensor, group_size=16, device="cpu"):
6767
return global_scale
6868

6969

70-
@torch.compile()
7170
def ref_nvfp4_quant(x, global_scale, block_size=16, v=0, scale_coeff=1.0):
7271
assert global_scale.dtype == torch.float32
7372
assert x.ndim == 2

0 commit comments

Comments
 (0)