Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Charles-Elena
/
InstantID
like
0
Follow
Charles Elena
7
Diffusers
ONNX
Safetensors
Inference Endpoints
License:
mit
Model card
Files
Files and versions
Community
1
Deploy
Use this model
e686daf
InstantID
/
ip_adapter
/
utils.py
yamildiego
added adapter
4933de5
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"
)