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/vae_encoder/model.onnx from stabilityai/stable-diffusion-3.5-medium_m1.0_npu: direct link, hf CLI and curl.
- Browser
- Download file 68.7 MB
-
https://huggingface.co/stabilityai/stable-diffusion-3.5-medium_m1.0_npu/resolve/refs%2Fpr%2F1/common/vae_encoder/model.onnx
- Command line
-
hf download hf://stabilityai/stable-diffusion-3.5-medium_m1.0_npu@refs/pr/1/common/vae_encoder/model.onnx
-
curl -L -o model.onnx https://huggingface.co/stabilityai/stable-diffusion-3.5-medium_m1.0_npu/resolve/refs%2Fpr%2F1/common/vae_encoder/model.onnx
68.7 MB
- Xet hash:
- bab8d2dd14861cc68bacd42396319506be34ca3d86bb2a122b9e92271c73df69
- Size of remote file:
- 68.7 MB
- SHA256:
- ed8cdce402d2cfebb1ca222d633100333fa0e9e00c3afbf929b740d8650881e2
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.