quench fp16 rev id not found warning

This commit is contained in:
Lincoln Stein
2023-06-06 22:01:05 -04:00
parent 13fa0d3bc0
commit d8d11f9bbb

View File

@ -532,7 +532,8 @@ class ModelManager(object):
**fp_args, **fp_args,
) )
except OSError as e: except OSError as e:
if str(e).startswith("fp16 is not a valid"): if str(e).startswith("fp16 is not a valid") or \
'Invalid rev id: fp16' in str(e):
pass pass
else: else:
self.logger.error( self.logger.error(