Instructions to use nathanReitinger/MNIST-diffusion with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use nathanReitinger/MNIST-diffusion with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("nathanReitinger/MNIST-diffusion", 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
Ctrl+K
- 7.53 kB xet
- 6.27 kB xet
- 6.3 kB xet
- 6.4 kB xet
- 6.25 kB xet
- 4.81 kB xet
- 4.92 kB xet
- 5.43 kB xet
- 5.55 kB xet
- 5.37 kB xet
- 4.99 kB xet
- 5.1 kB xet
- 4.83 kB xet
- 4.83 kB xet
- 4.89 kB xet
- 4.43 kB xet
- 4.3 kB xet
- 4.43 kB xet
- 3.98 kB xet
- 4.13 kB xet
- 4.45 kB xet
- 4.32 kB xet
- 4.26 kB xet
- 3.92 kB xet
- 3.86 kB xet
- 3.96 kB xet
- 4.08 kB xet
- 4.05 kB xet
- 3.88 kB xet
- 3.88 kB xet
- 3.87 kB xet
- 3.68 kB xet
- 4.08 kB xet
- 3.88 kB xet
- 4.01 kB xet
- 3.92 kB xet
- 3.89 kB xet
- 4.22 kB xet
- 3.53 kB xet
- 3.25 kB xet