root
commited on
Commit
·
5594629
1
Parent(s):
b833443
fp8
Browse files- embeddings.safetensors +3 -0
- image_encoder/config.json +22 -0
- image_encoder/model.safetensors +3 -0
- image_encoder/preprocessor_config.json +19 -0
- model_index.json +13 -0
- scheduler/scheduler_config.json +21 -0
- transformer/config.json +30 -0
- transformer/diffusion_pytorch_model.safetensors +3 -0
- vae/config.json +36 -0
- vae/diffusion_pytorch_model.safetensors +3 -0
embeddings.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b2e2591798abd3b934815a2c737b75b1a6555728ca19b68af9ce1d53cc7878d5
|
3 |
+
size 74976632
|
image_encoder/config.json
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"CLIPVisionModelWithProjection"
|
4 |
+
],
|
5 |
+
"attention_dropout": 0.0,
|
6 |
+
"dropout": 0.0,
|
7 |
+
"hidden_act": "quick_gelu",
|
8 |
+
"hidden_size": 1024,
|
9 |
+
"image_size": 336,
|
10 |
+
"initializer_factor": 1.0,
|
11 |
+
"initializer_range": 0.02,
|
12 |
+
"intermediate_size": 4096,
|
13 |
+
"layer_norm_eps": 1e-05,
|
14 |
+
"model_type": "clip_vision_model",
|
15 |
+
"num_attention_heads": 16,
|
16 |
+
"num_channels": 3,
|
17 |
+
"num_hidden_layers": 24,
|
18 |
+
"patch_size": 14,
|
19 |
+
"projection_dim": 768,
|
20 |
+
"torch_dtype": "bfloat16",
|
21 |
+
"transformers_version": "4.47.1"
|
22 |
+
}
|
image_encoder/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fa6c30e7c936db6a359515a2222da2d0b7e46e4cf4594541c6e8668b611db664
|
3 |
+
size 608635848
|
image_encoder/preprocessor_config.json
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"crop_size": 336,
|
3 |
+
"do_center_crop": true,
|
4 |
+
"do_normalize": true,
|
5 |
+
"do_resize": true,
|
6 |
+
"feature_extractor_type": "CLIPFeatureExtractor",
|
7 |
+
"image_mean": [
|
8 |
+
0.48145466,
|
9 |
+
0.4578275,
|
10 |
+
0.40821073
|
11 |
+
],
|
12 |
+
"image_std": [
|
13 |
+
0.26862954,
|
14 |
+
0.26130258,
|
15 |
+
0.27577711
|
16 |
+
],
|
17 |
+
"resample": 3,
|
18 |
+
"size": 336
|
19 |
+
}
|
model_index.json
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "RuyiInpaintPipeline",
|
3 |
+
"_diffusers_version": "0.29.0.dev0",
|
4 |
+
"feature_extractor": [
|
5 |
+
null,
|
6 |
+
null
|
7 |
+
],
|
8 |
+
"requires_safety_checker": false,
|
9 |
+
"safety_checker": [
|
10 |
+
null,
|
11 |
+
null
|
12 |
+
]
|
13 |
+
}
|
scheduler/scheduler_config.json
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "DDPMScheduler",
|
3 |
+
"_diffusers_version": "0.29.0.dev0",
|
4 |
+
"beta_end": 0.03,
|
5 |
+
"beta_schedule": "scaled_linear",
|
6 |
+
"beta_start": 0.00085,
|
7 |
+
"clip_sample": false,
|
8 |
+
"clip_sample_range": 1.0,
|
9 |
+
"dynamic_thresholding_ratio": 0.995,
|
10 |
+
"num_train_timesteps": 1000,
|
11 |
+
"prediction_type": "v_prediction",
|
12 |
+
"rescale_betas_zero_snr": false,
|
13 |
+
"sample_max_value": 1.0,
|
14 |
+
"set_alpha_to_one": false,
|
15 |
+
"skip_prk_steps": true,
|
16 |
+
"steps_offset": 1,
|
17 |
+
"thresholding": false,
|
18 |
+
"timestep_spacing": "leading",
|
19 |
+
"trained_betas": null,
|
20 |
+
"variance_type": "fixed_small"
|
21 |
+
}
|
transformer/config.json
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "HunyuanTransformer3DModel",
|
3 |
+
"_diffusers_version": "0.30.2",
|
4 |
+
"activation_fn": "gelu-approximate",
|
5 |
+
"after_norm": false,
|
6 |
+
"attention_head_dim": 176,
|
7 |
+
"basic_block_type": "basic",
|
8 |
+
"cross_attention_dim": 1024,
|
9 |
+
"cross_attention_dim_t5": 2048,
|
10 |
+
"hidden_size": 2816,
|
11 |
+
"in_channels": 48,
|
12 |
+
"learn_sigma": true,
|
13 |
+
"mlp_ratio": 4.3637,
|
14 |
+
"motion_module_kwargs": null,
|
15 |
+
"motion_module_kwargs_even": null,
|
16 |
+
"motion_module_kwargs_odd": null,
|
17 |
+
"motion_module_type": "VanillaGrid",
|
18 |
+
"n_query": 16,
|
19 |
+
"norm_type": "layer_norm",
|
20 |
+
"num_attention_heads": 16,
|
21 |
+
"num_layers": 40,
|
22 |
+
"out_channels": 32,
|
23 |
+
"patch_size": 2,
|
24 |
+
"pooled_projection_dim": 1024,
|
25 |
+
"projection_dim": 1024,
|
26 |
+
"sample_size": 128,
|
27 |
+
"text_len": 77,
|
28 |
+
"text_len_t5": 256,
|
29 |
+
"time_position_encoding": true
|
30 |
+
}
|
transformer/diffusion_pytorch_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:71c3c1bc2502a06faa76c5a46c12da5530bb8d1c03a62c9a24e760d3292f2647
|
3 |
+
size 7787282152
|
vae/config.json
ADDED
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "AutoencoderKL",
|
3 |
+
"_diffusers_version": "0.22.0.dev0",
|
4 |
+
"act_fn": "silu",
|
5 |
+
"block_out_channels": [
|
6 |
+
128,
|
7 |
+
256,
|
8 |
+
512,
|
9 |
+
512
|
10 |
+
],
|
11 |
+
"down_block_types": [
|
12 |
+
"SpatialDownBlock3D",
|
13 |
+
"SpatialTemporalDownBlock3D",
|
14 |
+
"SpatialTemporalDownBlock3D",
|
15 |
+
"SpatialTemporalDownBlock3D"
|
16 |
+
],
|
17 |
+
"force_upcast": true,
|
18 |
+
"in_channels": 3,
|
19 |
+
"latent_channels": 16,
|
20 |
+
"layers_per_block": 2,
|
21 |
+
"norm_num_groups": 32,
|
22 |
+
"out_channels": 3,
|
23 |
+
"sample_size": 256,
|
24 |
+
"scaling_factor": 0.18215,
|
25 |
+
"slice_compression_vae": true,
|
26 |
+
"use_tiling": true,
|
27 |
+
"mid_block_attention_type": "3d",
|
28 |
+
"mini_batch_encoder": 8,
|
29 |
+
"mini_batch_decoder": 2,
|
30 |
+
"up_block_types": [
|
31 |
+
"SpatialUpBlock3D",
|
32 |
+
"SpatialTemporalUpBlock3D",
|
33 |
+
"SpatialTemporalUpBlock3D",
|
34 |
+
"SpatialTemporalUpBlock3D"
|
35 |
+
]
|
36 |
+
}
|
vae/diffusion_pytorch_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:68ae604518958d38cbb8f0ba7d0a73c32043380e70bbbaaa18a6552f1ca91df5
|
3 |
+
size 492985374
|