Merge pull request #764 from JeLuF/patch-7

Add NVIDIA T550 to list of FP GPUs #755
This commit is contained in:
cmdr2 2023-01-13 10:18:24 +05:30 committed by GitHub
commit 85c90cbee1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -125,7 +125,7 @@ def needs_to_force_full_precision(context):
return True return True
device_name = context.device_name.lower() device_name = context.device_name.lower()
return (('nvidia' in device_name or 'geforce' in device_name) and (' 1660' in device_name or ' 1650' in device_name or ' t400' in device_name)) or ('Quadro T2000' in device_name) return (('nvidia' in device_name or 'geforce' in device_name) and (' 1660' in device_name or ' 1650' in device_name or ' t400' or ' t550 ' in device_name)) or ('Quadro T2000' in device_name)
def get_max_vram_usage_level(device): def get_max_vram_usage_level(device):
if device != 'cpu': if device != 'cpu':