Major_pro / ip_adapter /utils.py
VimalrajS04's picture
Initial commit of project with LFS
ff5549e
Raw History Blame Contribute Delete
115 Bytes
import torch.nn.functional as F
def is_torch2_available():
return hasattr(F, "scaled_dot_product_attention")