Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
InstantX
/
InstantID
like
3.11k
Running
on
Zero
App
Files
Files
Community
93
refs/pr/49
InstantID
/
ip_adapter
/
utils.py
ResearcherXman
update
0ba2339
11 months ago
raw
Copy download link
history
blame
Safe
115 Bytes
import
torch.nn.functional
as
F
def
is_torch2_available
():
return
hasattr
(F,
"scaled_dot_product_attention"
)