Upload folder using huggingface_hub
Browse files
transformer/config.json
ADDED
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "CogVideoXTransformer3DModel",
|
3 |
+
"_diffusers_version": "0.31.0.dev0",
|
4 |
+
"_name_or_path": "THUDM/CogVideoX-5b",
|
5 |
+
"activation_fn": "gelu-approximate",
|
6 |
+
"attention_bias": true,
|
7 |
+
"attention_head_dim": 64,
|
8 |
+
"dropout": 0.0,
|
9 |
+
"flip_sin_to_cos": true,
|
10 |
+
"freq_shift": 0,
|
11 |
+
"in_channels": 16,
|
12 |
+
"max_text_seq_length": 226,
|
13 |
+
"norm_elementwise_affine": true,
|
14 |
+
"norm_eps": 1e-05,
|
15 |
+
"num_attention_heads": 48,
|
16 |
+
"num_layers": 42,
|
17 |
+
"out_channels": 16,
|
18 |
+
"patch_size": 2,
|
19 |
+
"quantization_config": {
|
20 |
+
"_load_in_4bit": true,
|
21 |
+
"_load_in_8bit": false,
|
22 |
+
"bnb_4bit_compute_dtype": "float16",
|
23 |
+
"bnb_4bit_quant_storage": "uint8",
|
24 |
+
"bnb_4bit_quant_type": "nf4",
|
25 |
+
"bnb_4bit_use_double_quant": false,
|
26 |
+
"llm_int8_enable_fp32_cpu_offload": false,
|
27 |
+
"llm_int8_has_fp16_weight": false,
|
28 |
+
"llm_int8_skip_modules": null,
|
29 |
+
"llm_int8_threshold": 6.0,
|
30 |
+
"load_in_4bit": true,
|
31 |
+
"load_in_8bit": false,
|
32 |
+
"quant_method": "bitsandbytes"
|
33 |
+
},
|
34 |
+
"sample_frames": 49,
|
35 |
+
"sample_height": 60,
|
36 |
+
"sample_width": 90,
|
37 |
+
"spatial_interpolation_scale": 1.875,
|
38 |
+
"temporal_compression_ratio": 4,
|
39 |
+
"temporal_interpolation_scale": 1.0,
|
40 |
+
"text_embed_dim": 4096,
|
41 |
+
"time_embed_dim": 512,
|
42 |
+
"timestep_activation_fn": "silu",
|
43 |
+
"use_learned_positional_embeddings": false,
|
44 |
+
"use_rotary_positional_embeddings": true
|
45 |
+
}
|
transformer/diffusion_pytorch_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:adffc752e6ed7f74ed5651ba385c510e5415bdd38e1625f4a3b768ef887aea77
|
3 |
+
size 3138547787
|