Add NVIDIA T1200 to the list of FP GPUs

Fixes https://discord.com/channels/1014774730907209781/1014774732018683926/1064269949339697163
This commit is contained in:
JeLuF 2023-01-16 00:42:02 +01:00 committed by GitHub
parent 8ee4364065
commit b5d1912c94
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
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 ' t550' 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' in device_name or ' t550' in device_name or ' t1200' in device_name)) or ('Quadro T2000' in device_name)
def get_max_vram_usage_level(device):
if device != 'cpu':