Update asymm_models_joint.py
This commit is contained in:
parent
e66735527c
commit
b932036af3
@ -43,7 +43,7 @@ except ImportError:
|
||||
SAGEATTN_IS_AVAILABLE = False
|
||||
|
||||
backends = []
|
||||
if torch.cuda.get_device_properties(0).major <= 7.5:
|
||||
if torch.cuda.get_device_properties(0).major < 7:
|
||||
backends.append(SDPBackend.MATH)
|
||||
if torch.cuda.get_device_properties(0).major >= 9.0:
|
||||
backends.append(SDPBackend.CUDNN_ATTENTION)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user