img2img / ip_adapter /utils.py
Leteint's picture
Create utils.py
fcad272 verified
# ip_adapter/utils.py
import torch
def is_torch2_available():
return hasattr(torch, "compile")