Instructions to use google/ddpm-cifar10-32 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use google/ddpm-cifar10-32 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("google/ddpm-cifar10-32", 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
Commit ·
267b167
1
Parent(s): ff056c9
Adding `safetensors` variant of this model (#14)
Browse files- Adding `safetensors` variant of this model (30eb34ce06e995c15ec349bc188a86d6bd0d5359)
Co-authored-by: Steven Liu <stevhliu@users.noreply.huggingface.co>
- .gitattributes +1 -0
- diffusion_pytorch_model.safetensors +3 -0
.gitattributes
CHANGED
|
@@ -26,3 +26,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 26 |
*.zstandard filter=lfs diff=lfs merge=lfs -text
|
| 27 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 28 |
diffusion_model.pt filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 26 |
*.zstandard filter=lfs diff=lfs merge=lfs -text
|
| 27 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 28 |
diffusion_model.pt filter=lfs diff=lfs merge=lfs -text
|
| 29 |
+
diffusion_pytorch_model.safetensors filter=lfs diff=lfs merge=lfs -text
|
diffusion_pytorch_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1558dbe3fb093b0857d473e376b711eeda1b186c557be5e85b3a56300cd49f0f
|
| 3 |
+
size 143020084
|