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-hy.safetensors from SD-Next/MicroDecoder: direct link, hf CLI and curl.
- Browser
- Download file 9.9 MB
-
https://huggingface.co/SD-Next/MicroDecoder/resolve/main/microdecoder-hy.safetensors
- Command line
-
hf download hf://SD-Next/MicroDecoder/microdecoder-hy.safetensors
-
curl -L -o microdecoder-hy.safetensors https://huggingface.co/SD-Next/MicroDecoder/resolve/main/microdecoder-hy.safetensors
9.9 MB
- Xet hash:
- 957bfb0b9d4aac8dc12c24eed5411f9dce06505ebb0672f578e8676a8393c378
- Size of remote file:
- 9.9 MB
- SHA256:
- f8aa88e67819e4f08545362986e6a612c8d15485bab775743d58d79a964c94c2
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.