Skip to content

Commit f0ec4b3

Browse files
committed
skip smooth quant test (torch dynamo)
1 parent cce09cc commit f0ec4b3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/prototype/test_smoothquant.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
TORCH_VERSION_AT_LEAST_2_5,
2121
)
2222

23+
if torch.version.hip is not None:
24+
pytest.skip("Skipping the test in ROCm", allow_module_level=True)
2325

2426
class ToyLinearModel(torch.nn.Module):
2527
def __init__(self, m=512, n=256, k=128):

0 commit comments

Comments
 (0)