Upload 4 files
Browse filesUpload small random test pipeline for the consistency models EDM implementation (non-class conditional)
- model_index.json +12 -0
- scheduler/scheduler_config.json +18 -0
- unet/config.json +38 -0
- unet/diffusion_pytorch_model.safetensors +3 -0
model_index.json
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "KarrasEDMPipeline",
|
| 3 |
+
"_diffusers_version": "0.22.0.dev0",
|
| 4 |
+
"scheduler": [
|
| 5 |
+
"diffusers",
|
| 6 |
+
"KarrasEDMScheduler"
|
| 7 |
+
],
|
| 8 |
+
"unet": [
|
| 9 |
+
"diffusers",
|
| 10 |
+
"UNet2DModel"
|
| 11 |
+
]
|
| 12 |
+
}
|
scheduler/scheduler_config.json
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "KarrasEDMScheduler",
|
| 3 |
+
"_diffusers_version": "0.22.0.dev0",
|
| 4 |
+
"clip_sample": false,
|
| 5 |
+
"clip_sample_range": 1.0,
|
| 6 |
+
"num_train_timesteps": 40,
|
| 7 |
+
"precondition_type": "edm",
|
| 8 |
+
"prediction_type": "edm",
|
| 9 |
+
"rho": 7.0,
|
| 10 |
+
"s_churn": 0.0,
|
| 11 |
+
"s_noise": 1.0,
|
| 12 |
+
"s_tmax": Infinity,
|
| 13 |
+
"s_tmin": 0.0,
|
| 14 |
+
"sigma_data": 0.5,
|
| 15 |
+
"sigma_max": 80.0,
|
| 16 |
+
"sigma_min": 0.002,
|
| 17 |
+
"timestep_spacing": "linspace"
|
| 18 |
+
}
|
unet/config.json
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "UNet2DModel",
|
| 3 |
+
"_diffusers_version": "0.22.0.dev0",
|
| 4 |
+
"act_fn": "silu",
|
| 5 |
+
"add_attention": true,
|
| 6 |
+
"attention_head_dim": 8,
|
| 7 |
+
"attn_norm_num_groups": 32,
|
| 8 |
+
"block_out_channels": [
|
| 9 |
+
32,
|
| 10 |
+
64
|
| 11 |
+
],
|
| 12 |
+
"center_input_sample": false,
|
| 13 |
+
"class_embed_type": null,
|
| 14 |
+
"down_block_types": [
|
| 15 |
+
"ResnetDownsampleBlock2D",
|
| 16 |
+
"AttnDownBlock2D"
|
| 17 |
+
],
|
| 18 |
+
"downsample_padding": 1,
|
| 19 |
+
"downsample_type": "resnet",
|
| 20 |
+
"dropout": 0.0,
|
| 21 |
+
"flip_sin_to_cos": true,
|
| 22 |
+
"freq_shift": 0,
|
| 23 |
+
"in_channels": 3,
|
| 24 |
+
"layers_per_block": 2,
|
| 25 |
+
"mid_block_scale_factor": 1,
|
| 26 |
+
"norm_eps": 1e-05,
|
| 27 |
+
"norm_num_groups": 32,
|
| 28 |
+
"num_class_embeds": null,
|
| 29 |
+
"out_channels": 3,
|
| 30 |
+
"resnet_time_scale_shift": "scale_shift",
|
| 31 |
+
"sample_size": 32,
|
| 32 |
+
"time_embedding_type": "positional",
|
| 33 |
+
"up_block_types": [
|
| 34 |
+
"AttnUpBlock2D",
|
| 35 |
+
"ResnetUpsampleBlock2D"
|
| 36 |
+
],
|
| 37 |
+
"upsample_type": "resnet"
|
| 38 |
+
}
|
unet/diffusion_pytorch_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:10fbd4bf346f20f687ec2a1654e6877d7fe8149e8bd621180353c06bea2d1f76
|
| 3 |
+
size 4633412
|