Instructions to use SD-Next/MicroDecoder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use SD-Next/MicroDecoder with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("SD-Next/MicroDecoder", 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 microdecoder-f1.safetensors from SD-Next/MicroDecoder: direct link, hf CLI and curl.
- Browser
- Download file 9.68 MB
-
https://huggingface.co/SD-Next/MicroDecoder/resolve/main/microdecoder-f1.safetensors
- Command line
-
hf download hf://SD-Next/MicroDecoder/microdecoder-f1.safetensors
-
curl -L -o microdecoder-f1.safetensors https://huggingface.co/SD-Next/MicroDecoder/resolve/main/microdecoder-f1.safetensors
9.68 MB
- Xet hash:
- 07d04813e9622df9a5a977763998e3cf27e68516b050c426ff148557829d7c97
- Size of remote file:
- 9.68 MB
- SHA256:
- d2d8b0c603d7a387cef03afbfde5b19f7e47294679c04825f4f6d2e6d20567f9
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.