Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
Duplicated from
ddosxd/InstantID
Deadmon
/
InstantID
like
0
Runtime error
App
Files
Files
Community
main
InstantID
/
ip_adapter
/
utils.py
ResearcherXman
update
0ba2339
5 months ago
raw
history
blame
contribute
delete
No virus
115 Bytes
import
torch.nn.functional
as
F
def
is_torch2_available
():
return
hasattr
(F,
"scaled_dot_product_attention"
)