Instructions to use shalpin87/diffusion_cifar with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use shalpin87/diffusion_cifar with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("shalpin87/diffusion_cifar", 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
Sean Halpin commited on
Commit ·
43689ca
1
Parent(s): b2be8c2
Epoch 0
Browse files- unet/config.json +1 -1
- unet/diffusion_pytorch_model.bin +1 -1
unet/config.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
{
|
| 2 |
"_class_name": "UNet2DModel",
|
| 3 |
"_diffusers_version": "0.1.3",
|
| 4 |
-
"_name_or_path": "/root/.cache/huggingface/diffusers/models--shalpin87--diffusion_cifar/snapshots/
|
| 5 |
"act_fn": "silu",
|
| 6 |
"attention_head_dim": 8,
|
| 7 |
"block_out_channels": [
|
|
|
|
| 1 |
{
|
| 2 |
"_class_name": "UNet2DModel",
|
| 3 |
"_diffusers_version": "0.1.3",
|
| 4 |
+
"_name_or_path": "/root/.cache/huggingface/diffusers/models--shalpin87--diffusion_cifar/snapshots/b2be8c22453fdeff3eaa3601bc87a290b15f136c/unet",
|
| 5 |
"act_fn": "silu",
|
| 6 |
"attention_head_dim": 8,
|
| 7 |
"block_out_channels": [
|
unet/diffusion_pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 454859389
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0d42b6995fa1e47354f4689446d2947c9f25d4e8c00c81bd68cac019643bfd3b
|
| 3 |
size 454859389
|