Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Duplicated from
InstantX/InstantID
IrinaSvetlana
/
splashmix
like
0
Paused
App
Files
Files
Community
ec7fc1c
splashmix
/
ip_adapter
/
utils.py
ResearcherXman
update
0ba2339
10 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"
)