We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9416e9 commit 7d32cddCopy full SHA for 7d32cdd
test/hqq/test_hqq_affine.py
@@ -14,7 +14,7 @@
14
ZeroPointDomain,
15
quantize_,
16
)
17
-from torchao.testing.utils import skip_if_rocm
+from torchao.testing.utils import skip_if_rocm, skip_if_xpu
18
from torchao.utils import get_current_accelerator_device
19
20
cuda_available = torch.accelerator.is_available()
@@ -116,6 +116,7 @@ def test_hqq_plain_5bit(self):
116
117
118
@skip_if_rocm("ROCm enablement in progress")
119
+ @skip_if_xpu("XPU enablement in progress")
120
def test_hqq_plain_4bit(self):
121
self._test_hqq(
122
dtype=torch.uint4,
0 commit comments