diff --git a/koboldai_settings.py b/koboldai_settings.py index 061de2a0..db33142a 100644 --- a/koboldai_settings.py +++ b/koboldai_settings.py @@ -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