Text-to-Image
Diffusers
VersatileDiffusionPipeline
image-to-text
image-to-image
text-to-text
image-editing
image-variation
generation
vision
Instructions to use shi-labs/versatile-diffusion with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use shi-labs/versatile-diffusion with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("shi-labs/versatile-diffusion", dtype=torch.bfloat16, device_map="cuda") prompt = "A high tech solarpunk utopia in the Amazon rainforest" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Commit History
-
Adding `safetensors` variant of this model
Verified signatureThis is an automated PR created with https://huggingface.co/spaces/safetensors/convert This new file is equivalent to `pytorch_model.bin` but safe in the sense that no arbitrary code can be put into it. These files also happen to load much faster than their pytorch counterpart: https://colab.research.google.com/github/huggingface/notebooks/blob/main/safetensors_doc/en/speed.ipynb The widgets on your model page will run using this model even if this is not merged making sure the file actually works. If you find any issues: please report here: https://huggingface.co/spaces/safetensors/convert/discussions Feel free to ignore this PR.574d17c
-
Update README.md
2926f8e
-
new fp16 model
15d7f7d -
new model
86cc214 -
deprecated models
33ed3c9 -
deprecated models
f60bb54
-
Update README.md
4fb3a20 -
Upload vd_combined.png
c984862
-
Update image_unet/config.json
13bada8
-
Update README.md
dd706b8 -
Update README.md
e9f687c -
Update README.md
027e574 -
Update README.md
f579cef -
Update README.md
4ace6a2 -
add diffusion models
be7e653
-
Update README.md
364c933 -
Update README.md
7330aee -
Update README.md
a82c30c -
add figures
f61b00e -
Update README.md
13be151 -
Update README.md
448e188 -
Update README.md
a9f9698 -
Update README.md
65202e6 -
Update README.md
b837d07 -
Create README.md
9b53c6b -
pth models added
2255022 -
initial commit
32e1c00