Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Himanshu806
/
YIDO42NJ6130XnXy6tOiE8qkU_LLyP7LjQK8XcY
like
0
Sleeping
App
Files
Files
Community
1850baa
YIDO42NJ6130XnXy6tOiE8qkU_LLyP7LjQK8XcY
/
ip_adapter
/
utils.py
Himasnhu-at
add files
1850baa
2 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"
)