MyVTON / ip_adapter /utils.py
Roopansh's picture
Initial Commit
73c83cf
raw
history blame
115 Bytes
import torch.nn.functional as F
def is_torch2_available():
return hasattr(F, "scaled_dot_product_attention")