Instructions to use Hanbin42/stable-diffusion-onnx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Hanbin42/stable-diffusion-onnx with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Hanbin42/stable-diffusion-onnx", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
- Xet hash:
- 7a7f86b792560644326141f3b9e411619083a7858098de8835f4d835a40c01d2
- Size of remote file:
- 1.64 MB
- SHA256:
- 27ccfd2fc3e39f8e1c759493edacbdbcdde388c817cd0ddc2b02cd152292b4a6
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.