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