Skip to content

Commit 7cee030

Browse files
committed
port test/prototype/quant_logger/test_quant_logger.py to intel gpu
1 parent 77f23d0 commit 7cee030

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/prototype/quant_logger/test_quant_logger.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def forward(self, x0):
5151
return x3
5252

5353

54-
@unittest.skipIf(not torch.cuda.is_available(), "Need CUDA available")
54+
@unittest.skipIf(not torch.accelerator.is_available(), "Need GPU available")
5555
@unittest.skipIf(not torch_version_at_least("2.10.0"), "Need pytorch 2.10+")
5656
class TestQuantLogger(unittest.TestCase):
5757
def setUp(self):

0 commit comments

Comments
 (0)