Instructions to use stabilityai/stable-diffusion-3.5-medium_m1.0_npu with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use stabilityai/stable-diffusion-3.5-medium_m1.0_npu with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-3.5-medium_m1.0_npu", 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 Settings
- Draw Things
- DiffusionBee
Download common/text_encoder_2/model.onnx from stabilityai/stable-diffusion-3.5-medium_m1.0_npu: direct link, hf CLI and curl.
- Browser
- Download file 1.39 GB
-
https://huggingface.co/stabilityai/stable-diffusion-3.5-medium_m1.0_npu/resolve/main/common/text_encoder_2/model.onnx
- Command line
-
hf download hf://stabilityai/stable-diffusion-3.5-medium_m1.0_npu/common/text_encoder_2/model.onnx
-
curl -L -o model.onnx https://huggingface.co/stabilityai/stable-diffusion-3.5-medium_m1.0_npu/resolve/main/common/text_encoder_2/model.onnx
1.39 GB
- Xet hash:
- 3cf1883baf01cc574932f0475207d61b240dc46182cb65f79036055d139209a8
- Size of remote file:
- 1.39 GB
- SHA256:
- 79b9ff623592af62146d15d4fcee9eb4e8f909da4a7eda0f2f4b976c6dbcf560
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.