Instructions to use stabilityai/stable-diffusion-3-medium with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusion Single File
How to use stabilityai/stable-diffusion-3-medium with Diffusion Single File:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Inference
- Notebooks
- Google Colab
- Kaggle
`scaled_dot_product_attention` error
#119
by rihao-he - opened
I met an error,
attention.py", line 124, in init
raise ValueError(
ValueError: The current PyTorch version does not support the scaled_dot_product_attention function.
which version should I use?
To use scaled_dot_product_attention for PyTorch, you need PyTorch version >= 2.0