Files
2023-11-06 20:41:03 +03:00

6 lines
115 B
Python

import torch.nn.functional as F
def is_torch2_available():
return hasattr(F, "scaled_dot_product_attention")