# ip_adapter/utils.py import torch def is_torch2_available(): return hasattr(torch, "compile")