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 2db0d70 commit a6b4789Copy full SHA for a6b4789
test/integration/test_integration.py
@@ -1263,11 +1263,7 @@ class SmoothquantIntegrationTest(unittest.TestCase):
1263
@unittest.skipIf(not torch.accelerator.is_available(), "Need GPU available")
1264
@unittest.skip("Seg fault?")
1265
def test_non_dynamically_quantizable_linear(self):
1266
- if (
1267
- torch.cuda.is_available()
1268
- and torch.cuda.is_available()
1269
- and torch.cuda.get_device_capability() < (8, 0)
1270
- ):
+ if torch.cuda.is_available() and torch.cuda.get_device_capability() < (8, 0):
1271
self.skipTest("test requires SM capability of at least (8, 0).")
1272
model = (
1273
torch.nn.Sequential(
0 commit comments