Upload folder using huggingface_hub
Browse files- lam/config.json +61 -0
- lam/model-00001-of-00003.safetensors +3 -0
- lam/model-00002-of-00003.safetensors +3 -0
- lam/model-00003-of-00003.safetensors +3 -0
- lam/model.safetensors.index.json +0 -0
- model_index.json +20 -0
- processor/processor_config.json +8 -0
- scheduler/scheduler_config.json +16 -0
- vae/config.json +38 -0
- vae/diffusion_pytorch_model.safetensors +3 -0
lam/config.json
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"LAMModel"
|
| 4 |
+
],
|
| 5 |
+
"encoder_height": 224,
|
| 6 |
+
"encoder_width": 304,
|
| 7 |
+
"fsq_levels": [
|
| 8 |
+
7,
|
| 9 |
+
5,
|
| 10 |
+
5,
|
| 11 |
+
5,
|
| 12 |
+
5
|
| 13 |
+
],
|
| 14 |
+
"initializer_range": 0.02,
|
| 15 |
+
"is_diffusion": true,
|
| 16 |
+
"latent_channels": 5,
|
| 17 |
+
"max_tokens": 80,
|
| 18 |
+
"min_tokens": 1,
|
| 19 |
+
"model_type": "lam",
|
| 20 |
+
"null_latent": 0,
|
| 21 |
+
"num_tokens_in": 333,
|
| 22 |
+
"pool_pick_tokens": 80,
|
| 23 |
+
"torch_dtype": "float32",
|
| 24 |
+
"transformer_config": {
|
| 25 |
+
"_class_name": "SD3Transformer2DModel",
|
| 26 |
+
"_diffusers_version": "0.31.0.dev0",
|
| 27 |
+
"_name_or_path": "stabilityai/stable-diffusion-3.5-medium",
|
| 28 |
+
"attention_head_dim": 64,
|
| 29 |
+
"caption_projection_dim": 1536,
|
| 30 |
+
"dual_attention_layers": [
|
| 31 |
+
0,
|
| 32 |
+
1,
|
| 33 |
+
2,
|
| 34 |
+
3,
|
| 35 |
+
4,
|
| 36 |
+
5,
|
| 37 |
+
6,
|
| 38 |
+
7,
|
| 39 |
+
8,
|
| 40 |
+
9,
|
| 41 |
+
10,
|
| 42 |
+
11,
|
| 43 |
+
12
|
| 44 |
+
],
|
| 45 |
+
"in_channels": 32,
|
| 46 |
+
"joint_attention_dim": 5,
|
| 47 |
+
"num_attention_heads": 24,
|
| 48 |
+
"num_layers": 24,
|
| 49 |
+
"out_channels": 16,
|
| 50 |
+
"patch_size": 2,
|
| 51 |
+
"pooled_projection_dim": 400,
|
| 52 |
+
"pos_embed_max_size": 384,
|
| 53 |
+
"qk_norm": "rms_norm",
|
| 54 |
+
"sample_size": 128
|
| 55 |
+
},
|
| 56 |
+
"transformers_version": "4.50.0",
|
| 57 |
+
"use_empty_prompt": true,
|
| 58 |
+
"use_tail_drop": true,
|
| 59 |
+
"videomae_from_pretrained": "OpenGVLab/VideoMAEv2-Large",
|
| 60 |
+
"vocab_size": 4375
|
| 61 |
+
}
|
lam/model-00001-of-00003.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a368298faeb43922ec189f00f45d674870195f45d6b9974446e7664e3a2a6f12
|
| 3 |
+
size 4989515188
|
lam/model-00002-of-00003.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:726af20335f395ba445159b3244985493792d307046edc4dd31be79b72d63a23
|
| 3 |
+
size 4995121448
|
lam/model-00003-of-00003.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5a783221322273380a9ce0b454de0da9454f96ff68f3c1b373c31a54136a40a4
|
| 3 |
+
size 1076820760
|
lam/model.safetensors.index.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
model_index.json
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "LAMPipeline",
|
| 3 |
+
"_diffusers_version": "0.32.0",
|
| 4 |
+
"lam": [
|
| 5 |
+
"vll.models.lam.modeling_lam",
|
| 6 |
+
"LAMModel"
|
| 7 |
+
],
|
| 8 |
+
"processor": [
|
| 9 |
+
"vll.models.lam.processing_lam",
|
| 10 |
+
"LAMProcessor"
|
| 11 |
+
],
|
| 12 |
+
"scheduler": [
|
| 13 |
+
"diffusers",
|
| 14 |
+
"FlowMatchEulerDiscreteScheduler"
|
| 15 |
+
],
|
| 16 |
+
"vae": [
|
| 17 |
+
"diffusers",
|
| 18 |
+
"AutoencoderKL"
|
| 19 |
+
]
|
| 20 |
+
}
|
processor/processor_config.json
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"encoder_height": 224,
|
| 3 |
+
"encoder_width": 304,
|
| 4 |
+
"height": 288,
|
| 5 |
+
"processor_class": "LAMProcessor",
|
| 6 |
+
"vae_scale_factor": 8,
|
| 7 |
+
"width": 384
|
| 8 |
+
}
|
scheduler/scheduler_config.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "FlowMatchEulerDiscreteScheduler",
|
| 3 |
+
"_diffusers_version": "0.32.0",
|
| 4 |
+
"base_image_seq_len": 256,
|
| 5 |
+
"base_shift": 0.5,
|
| 6 |
+
"invert_sigmas": false,
|
| 7 |
+
"max_image_seq_len": 4096,
|
| 8 |
+
"max_shift": 1.15,
|
| 9 |
+
"num_train_timesteps": 1000,
|
| 10 |
+
"shift": 3.0,
|
| 11 |
+
"shift_terminal": null,
|
| 12 |
+
"use_beta_sigmas": false,
|
| 13 |
+
"use_dynamic_shifting": false,
|
| 14 |
+
"use_exponential_sigmas": false,
|
| 15 |
+
"use_karras_sigmas": false
|
| 16 |
+
}
|
vae/config.json
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "AutoencoderKL",
|
| 3 |
+
"_diffusers_version": "0.32.0",
|
| 4 |
+
"_name_or_path": "stabilityai/stable-diffusion-3.5-medium",
|
| 5 |
+
"act_fn": "silu",
|
| 6 |
+
"block_out_channels": [
|
| 7 |
+
128,
|
| 8 |
+
256,
|
| 9 |
+
512,
|
| 10 |
+
512
|
| 11 |
+
],
|
| 12 |
+
"down_block_types": [
|
| 13 |
+
"DownEncoderBlock2D",
|
| 14 |
+
"DownEncoderBlock2D",
|
| 15 |
+
"DownEncoderBlock2D",
|
| 16 |
+
"DownEncoderBlock2D"
|
| 17 |
+
],
|
| 18 |
+
"force_upcast": true,
|
| 19 |
+
"in_channels": 3,
|
| 20 |
+
"latent_channels": 16,
|
| 21 |
+
"latents_mean": null,
|
| 22 |
+
"latents_std": null,
|
| 23 |
+
"layers_per_block": 2,
|
| 24 |
+
"mid_block_add_attention": true,
|
| 25 |
+
"norm_num_groups": 32,
|
| 26 |
+
"out_channels": 3,
|
| 27 |
+
"sample_size": 1024,
|
| 28 |
+
"scaling_factor": 1.5305,
|
| 29 |
+
"shift_factor": 0.0609,
|
| 30 |
+
"up_block_types": [
|
| 31 |
+
"UpDecoderBlock2D",
|
| 32 |
+
"UpDecoderBlock2D",
|
| 33 |
+
"UpDecoderBlock2D",
|
| 34 |
+
"UpDecoderBlock2D"
|
| 35 |
+
],
|
| 36 |
+
"use_post_quant_conv": false,
|
| 37 |
+
"use_quant_conv": false
|
| 38 |
+
}
|
vae/diffusion_pytorch_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:965f71f229a5981c0a025db771d8868998f5e4e8412dc5585c687f638fa59679
|
| 3 |
+
size 335306212
|