Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Duplicated from
Fucius/OMG
ftopal
/
OMG
like
0
Paused
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
OMG
/
src
/
ip_adapter
/
utils.py
Fucius
Upload 52 files
ad5354d
verified
11 months ago
raw
Copy download link
history
blame
contribute
delete
Safe
115 Bytes
import
torch.nn.functional
as
F
def
is_torch2_available
():
return
hasattr
(F,
"scaled_dot_product_attention"
)