This commit is contained in:
ebolam
2022-12-01 08:48:47 -05:00
parent 88c536b194
commit 5e7789f90b

View File

@@ -1180,7 +1180,7 @@ class system_settings(settings):
if torch.cuda.get_device_properties(device).major > 7:
self.bit_8_available = True
break
elif torch.cuda.get_device_properties(device).major = 7 and torch.cuda.get_device_properties(device).minor >= 2:
elif torch.cuda.get_device_properties(device).major == 7 and torch.cuda.get_device_properties(device).minor >= 2:
self.bit_8_available = True
break