Download ip_adapter/utils.py from Leteint/img2img: direct link, hf CLI and curl.
- Browser
- Download file 101 Bytes
-
https://huggingface.co/spaces/Leteint/img2img/resolve/main/ip_adapter/utils.py
- Command line
-
hf download hf://spaces/Leteint/img2img/ip_adapter/utils.py
-
curl -L -o utils.py https://huggingface.co/spaces/Leteint/img2img/resolve/main/ip_adapter/utils.py
101 Bytes
| # ip_adapter/utils.py | |
| import torch | |
| def is_torch2_available(): | |
| return hasattr(torch, "compile") |