File size: 101 Bytes
fcad272
 
 
 
 
 
 
1
2
3
4
5
6
7
# ip_adapter/utils.py

import torch


def is_torch2_available():
    return hasattr(torch, "compile")