Instructions to use nvidia/Cosmos3-Nano-Sim-Transfer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Cosmos
How to use nvidia/Cosmos3-Nano-Sim-Transfer with Cosmos:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
update_config
#8
by mbalaNV - opened
- checkpoint.json +2 -2
- config.json +36 -20
- cosmos3_nano_sim_bimanual_artifact.json +3 -3
- cosmos_dreams_artifact.json +0 -0
- cosmos_dreams_expected_diffusers_weights.json +0 -0
- cosmos_dreams_expected_weights.json +0 -0
- cosmos_dreams_manifest.json +0 -49
- model.safetensors.index.json +0 -0
- model_index.json +5 -5
- modular_model_index.json +12 -9
- scheduler/scheduler_config.json +1 -1
- text_tokenizer/tokenizer.json +2 -2
- text_tokenizer/tokenizer_config.json +8 -217
- transformer/config.json +4 -3
- vae/config.json +1 -1
checkpoint.json
CHANGED
|
@@ -42,12 +42,12 @@
|
|
| 42 |
"temporal_modality_margin": 15000
|
| 43 |
},
|
| 44 |
"schema_version": 1,
|
| 45 |
-
"sink_frames":
|
| 46 |
"temporal_compression_factor": 4,
|
| 47 |
"text_cache_max_len": 512,
|
| 48 |
"vae_spatial_compression_factor": 16,
|
| 49 |
"video_temporal_causal": true,
|
| 50 |
-
"window_frames":
|
| 51 |
},
|
| 52 |
"source_weights": "ema",
|
| 53 |
"student_only": true
|
|
|
|
| 42 |
"temporal_modality_margin": 15000
|
| 43 |
},
|
| 44 |
"schema_version": 1,
|
| 45 |
+
"sink_frames": 3,
|
| 46 |
"temporal_compression_factor": 4,
|
| 47 |
"text_cache_max_len": 512,
|
| 48 |
"vae_spatial_compression_factor": 16,
|
| 49 |
"video_temporal_causal": true,
|
| 50 |
+
"window_frames": 30
|
| 51 |
},
|
| 52 |
"source_weights": "ema",
|
| 53 |
"student_only": true
|
config.json
CHANGED
|
@@ -25,14 +25,14 @@
|
|
| 25 |
},
|
| 26 |
"latent_patch_size": 2,
|
| 27 |
"schema_version": 1,
|
| 28 |
-
"sink_frames":
|
| 29 |
"temporal_compression_factor": 4,
|
| 30 |
"temporal_modality_margin": 15000,
|
| 31 |
"text_cache_max_len": 512,
|
| 32 |
"unified_3d_mrope_reset_spatial_ids": true,
|
| 33 |
"vae_spatial_compression_factor": 16,
|
| 34 |
"video_temporal_causal": true,
|
| 35 |
-
"window_frames":
|
| 36 |
},
|
| 37 |
"image_token_id": 151655,
|
| 38 |
"model": {
|
|
@@ -63,7 +63,7 @@
|
|
| 63 |
"ar_distilled_sample_type": null,
|
| 64 |
"ar_static_und_cache_max_len": 512,
|
| 65 |
"attention_io_layout": "sequence_sharded",
|
| 66 |
-
"attention_sink_size":
|
| 67 |
"causal_training_strategy": "none",
|
| 68 |
"clamp_empty_varlen_kv": true,
|
| 69 |
"compile": {
|
|
@@ -121,22 +121,29 @@
|
|
| 121 |
"flex_attention": {
|
| 122 |
"_type": "causal_flex_attention_config",
|
| 123 |
"backend": "auto",
|
| 124 |
-
"deduplicate_cross_view": false,
|
| 125 |
"geometry_position_encoding": "baseline",
|
| 126 |
"mask": {
|
| 127 |
"_type": "causal_flex_attention_mask_config",
|
| 128 |
"attention_scope": "all_views",
|
| 129 |
"control_attends_sensor": false,
|
| 130 |
-
"
|
| 131 |
-
|
| 132 |
-
|
| 133 |
-
|
|
|
|
| 134 |
"lidar_attends_captions": true,
|
| 135 |
"radar_attends_captions": true,
|
| 136 |
-
"
|
| 137 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 138 |
},
|
| 139 |
-
"
|
|
|
|
|
|
|
| 140 |
"maskless_cross_view_band_radius": 0,
|
| 141 |
"maskless_cross_view_include_frame_zero": false,
|
| 142 |
"prope_intrinsics": false,
|
|
@@ -159,7 +166,7 @@
|
|
| 159 |
"input_video_key": "video",
|
| 160 |
"joint_attn_implementation": "three_way",
|
| 161 |
"kv_cache_dtype": null,
|
| 162 |
-
"kv_cache_inference_size":
|
| 163 |
"kv_cache_kernel_impl": "triton",
|
| 164 |
"latent_downsample_factor": 16,
|
| 165 |
"lbl": {
|
|
@@ -184,22 +191,29 @@
|
|
| 184 |
"multiview_attention": {
|
| 185 |
"_type": "flex_attention_config",
|
| 186 |
"backend": "auto",
|
| 187 |
-
"deduplicate_cross_view": false,
|
| 188 |
"geometry_position_encoding": "baseline",
|
| 189 |
"mask": {
|
| 190 |
"_type": "flex_attention_mask_config",
|
| 191 |
"attention_scope": "all_views",
|
| 192 |
"control_attends_sensor": false,
|
| 193 |
-
"
|
| 194 |
-
|
| 195 |
-
|
| 196 |
-
|
|
|
|
| 197 |
"lidar_attends_captions": true,
|
| 198 |
"radar_attends_captions": true,
|
| 199 |
-
"
|
| 200 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 201 |
},
|
| 202 |
-
"
|
|
|
|
|
|
|
| 203 |
"maskless_cross_view_band_radius": 0,
|
| 204 |
"maskless_cross_view_include_frame_zero": false,
|
| 205 |
"prope_intrinsics": false,
|
|
@@ -279,6 +293,7 @@
|
|
| 279 |
"rolling_prompt_context_after": 0,
|
| 280 |
"rolling_prompt_context_before": 0,
|
| 281 |
"rolling_prompt_policy": null,
|
|
|
|
| 282 |
"rolling_text_position_mode": "fixed",
|
| 283 |
"rolling_text_sink_tokens": 4,
|
| 284 |
"sigma_diffusion_forcing": 0.02,
|
|
@@ -303,6 +318,7 @@
|
|
| 303 |
},
|
| 304 |
"teacher_forcing_target_only_no_text_pass2": false,
|
| 305 |
"teacher_forcing_transfer_control_dropout_rate": 0.0,
|
|
|
|
| 306 |
"tokenizer": {
|
| 307 |
"_target": "wan2pt2_vae_interface",
|
| 308 |
"bucket_name": "bucket",
|
|
|
|
| 25 |
},
|
| 26 |
"latent_patch_size": 2,
|
| 27 |
"schema_version": 1,
|
| 28 |
+
"sink_frames": 3,
|
| 29 |
"temporal_compression_factor": 4,
|
| 30 |
"temporal_modality_margin": 15000,
|
| 31 |
"text_cache_max_len": 512,
|
| 32 |
"unified_3d_mrope_reset_spatial_ids": true,
|
| 33 |
"vae_spatial_compression_factor": 16,
|
| 34 |
"video_temporal_causal": true,
|
| 35 |
+
"window_frames": 30
|
| 36 |
},
|
| 37 |
"image_token_id": 151655,
|
| 38 |
"model": {
|
|
|
|
| 63 |
"ar_distilled_sample_type": null,
|
| 64 |
"ar_static_und_cache_max_len": 512,
|
| 65 |
"attention_io_layout": "sequence_sharded",
|
| 66 |
+
"attention_sink_size": 3,
|
| 67 |
"causal_training_strategy": "none",
|
| 68 |
"clamp_empty_varlen_kv": true,
|
| 69 |
"compile": {
|
|
|
|
| 121 |
"flex_attention": {
|
| 122 |
"_type": "causal_flex_attention_config",
|
| 123 |
"backend": "auto",
|
|
|
|
| 124 |
"geometry_position_encoding": "baseline",
|
| 125 |
"mask": {
|
| 126 |
"_type": "causal_flex_attention_mask_config",
|
| 127 |
"attention_scope": "all_views",
|
| 128 |
"control_attends_sensor": false,
|
| 129 |
+
"cross_view_temporal_window": {
|
| 130 |
+
"_type": "cross_view_temporal_window_config",
|
| 131 |
+
"bounds": null,
|
| 132 |
+
"includes_first_frame": false
|
| 133 |
+
},
|
| 134 |
"lidar_attends_captions": true,
|
| 135 |
"radar_attends_captions": true,
|
| 136 |
+
"same_view_temporal_window": {
|
| 137 |
+
"_type": "same_view_temporal_window_config",
|
| 138 |
+
"control_to_control_bounds": null,
|
| 139 |
+
"control_to_sensor_bounds": null,
|
| 140 |
+
"sensor_to_control_bounds": null,
|
| 141 |
+
"sensor_to_sensor_bounds": null
|
| 142 |
+
}
|
| 143 |
},
|
| 144 |
+
"maskless_cross_view_action_attends_action": false,
|
| 145 |
+
"maskless_cross_view_attends_action": false,
|
| 146 |
+
"maskless_cross_view_band_keys": "other_views",
|
| 147 |
"maskless_cross_view_band_radius": 0,
|
| 148 |
"maskless_cross_view_include_frame_zero": false,
|
| 149 |
"prope_intrinsics": false,
|
|
|
|
| 166 |
"input_video_key": "video",
|
| 167 |
"joint_attn_implementation": "three_way",
|
| 168 |
"kv_cache_dtype": null,
|
| 169 |
+
"kv_cache_inference_size": 30,
|
| 170 |
"kv_cache_kernel_impl": "triton",
|
| 171 |
"latent_downsample_factor": 16,
|
| 172 |
"lbl": {
|
|
|
|
| 191 |
"multiview_attention": {
|
| 192 |
"_type": "flex_attention_config",
|
| 193 |
"backend": "auto",
|
|
|
|
| 194 |
"geometry_position_encoding": "baseline",
|
| 195 |
"mask": {
|
| 196 |
"_type": "flex_attention_mask_config",
|
| 197 |
"attention_scope": "all_views",
|
| 198 |
"control_attends_sensor": false,
|
| 199 |
+
"cross_view_temporal_window": {
|
| 200 |
+
"_type": "cross_view_temporal_window_config",
|
| 201 |
+
"bounds": null,
|
| 202 |
+
"includes_first_frame": false
|
| 203 |
+
},
|
| 204 |
"lidar_attends_captions": true,
|
| 205 |
"radar_attends_captions": true,
|
| 206 |
+
"same_view_temporal_window": {
|
| 207 |
+
"_type": "same_view_temporal_window_config",
|
| 208 |
+
"control_to_control_bounds": null,
|
| 209 |
+
"control_to_sensor_bounds": null,
|
| 210 |
+
"sensor_to_control_bounds": null,
|
| 211 |
+
"sensor_to_sensor_bounds": null
|
| 212 |
+
}
|
| 213 |
},
|
| 214 |
+
"maskless_cross_view_action_attends_action": false,
|
| 215 |
+
"maskless_cross_view_attends_action": false,
|
| 216 |
+
"maskless_cross_view_band_keys": "other_views",
|
| 217 |
"maskless_cross_view_band_radius": 0,
|
| 218 |
"maskless_cross_view_include_frame_zero": false,
|
| 219 |
"prope_intrinsics": false,
|
|
|
|
| 293 |
"rolling_prompt_context_after": 0,
|
| 294 |
"rolling_prompt_context_before": 0,
|
| 295 |
"rolling_prompt_policy": null,
|
| 296 |
+
"rolling_static_caption_max_tokens": 1024,
|
| 297 |
"rolling_text_position_mode": "fixed",
|
| 298 |
"rolling_text_sink_tokens": 4,
|
| 299 |
"sigma_diffusion_forcing": 0.02,
|
|
|
|
| 318 |
},
|
| 319 |
"teacher_forcing_target_only_no_text_pass2": false,
|
| 320 |
"teacher_forcing_transfer_control_dropout_rate": 0.0,
|
| 321 |
+
"timestep_embedding_chunk_size": 128000,
|
| 322 |
"tokenizer": {
|
| 323 |
"_target": "wan2pt2_vae_interface",
|
| 324 |
"bucket_name": "bucket",
|
cosmos3_nano_sim_bimanual_artifact.json
CHANGED
|
@@ -5385,14 +5385,14 @@
|
|
| 5385 |
"temporal_modality_margin": 15000
|
| 5386 |
},
|
| 5387 |
"schema_version": 1,
|
| 5388 |
-
"sink_frames":
|
| 5389 |
"temporal_compression_factor": 4,
|
| 5390 |
"text_cache_max_len": 512,
|
| 5391 |
"vae_spatial_compression_factor": 16,
|
| 5392 |
"video_temporal_causal": true,
|
| 5393 |
-
"window_frames":
|
| 5394 |
},
|
| 5395 |
-
"manifest_sha256": "
|
| 5396 |
"tensor_inventory": {
|
| 5397 |
"embed_tokens.weight": {
|
| 5398 |
"dtype": "BF16",
|
|
|
|
| 5385 |
"temporal_modality_margin": 15000
|
| 5386 |
},
|
| 5387 |
"schema_version": 1,
|
| 5388 |
+
"sink_frames": 3,
|
| 5389 |
"temporal_compression_factor": 4,
|
| 5390 |
"text_cache_max_len": 512,
|
| 5391 |
"vae_spatial_compression_factor": 16,
|
| 5392 |
"video_temporal_causal": true,
|
| 5393 |
+
"window_frames": 30
|
| 5394 |
},
|
| 5395 |
+
"manifest_sha256": "56afbbc0079d79617172006c36b8fa0243a5a0ca3d1ab3645e9d5162bf13be6f",
|
| 5396 |
"tensor_inventory": {
|
| 5397 |
"embed_tokens.weight": {
|
| 5398 |
"dtype": "BF16",
|
cosmos_dreams_artifact.json
DELETED
|
The diff for this file is too large to render.
See raw diff
|
|
|
cosmos_dreams_expected_diffusers_weights.json
DELETED
|
The diff for this file is too large to render.
See raw diff
|
|
|
cosmos_dreams_expected_weights.json
DELETED
|
The diff for this file is too large to render.
See raw diff
|
|
|
cosmos_dreams_manifest.json
DELETED
|
@@ -1,49 +0,0 @@
|
|
| 1 |
-
{
|
| 2 |
-
"attention_mode": "three_way",
|
| 3 |
-
"checkpoint_hash": "f72aa96e1b639ddc3db45caac76ff23810ffd63c47fb6bb108cd7c46f0b8f936",
|
| 4 |
-
"checkpoint_id": "causal_8b_sf_dmd_transfer_4modality_480p_ga_v2_midtrain_causal_control_with_rgb_history_text_dropout_0@iter_000001750",
|
| 5 |
-
"checkpoint_iteration": 1750,
|
| 6 |
-
"chunk_partition": [
|
| 7 |
-
1,
|
| 8 |
-
4
|
| 9 |
-
],
|
| 10 |
-
"chunk_size": 4,
|
| 11 |
-
"conditioning": {
|
| 12 |
-
"emphasize_control_in_prompt": true,
|
| 13 |
-
"hints": [
|
| 14 |
-
"edge",
|
| 15 |
-
"blur",
|
| 16 |
-
"depth",
|
| 17 |
-
"seg"
|
| 18 |
-
],
|
| 19 |
-
"mode": "control_video",
|
| 20 |
-
"no_eviction": true,
|
| 21 |
-
"share_vision_temporal_positions": true,
|
| 22 |
-
"system_prompt_id": "cosmos3_transfer_v1",
|
| 23 |
-
"transfer_control_attention_mode": "causal_control_with_rgb_history"
|
| 24 |
-
},
|
| 25 |
-
"fixed_step_sampler_config": {
|
| 26 |
-
"num_train_timesteps": 1000,
|
| 27 |
-
"sample_type": "sde",
|
| 28 |
-
"t_list": [
|
| 29 |
-
1.0,
|
| 30 |
-
0.9375,
|
| 31 |
-
0.8333333333333334,
|
| 32 |
-
0.625
|
| 33 |
-
]
|
| 34 |
-
},
|
| 35 |
-
"latent_patch_size": 2,
|
| 36 |
-
"mrope": {
|
| 37 |
-
"base_fps": 24.0,
|
| 38 |
-
"enable_fps_modulation": true,
|
| 39 |
-
"reset_spatial_ids": true,
|
| 40 |
-
"temporal_modality_margin": 15000
|
| 41 |
-
},
|
| 42 |
-
"schema_version": 1,
|
| 43 |
-
"sink_frames": 0,
|
| 44 |
-
"temporal_compression_factor": 4,
|
| 45 |
-
"text_cache_max_len": 512,
|
| 46 |
-
"vae_spatial_compression_factor": 16,
|
| 47 |
-
"video_temporal_causal": true,
|
| 48 |
-
"window_frames": 96
|
| 49 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
model.safetensors.index.json
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
model_index.json
CHANGED
|
@@ -20,17 +20,17 @@
|
|
| 20 |
},
|
| 21 |
"latent_patch_size": 2,
|
| 22 |
"schema_version": 1,
|
| 23 |
-
"sink_frames":
|
| 24 |
"temporal_compression_factor": 4,
|
| 25 |
"temporal_modality_margin": 15000,
|
| 26 |
"text_cache_max_len": 512,
|
| 27 |
"unified_3d_mrope_reset_spatial_ids": true,
|
| 28 |
"vae_spatial_compression_factor": 16,
|
| 29 |
"video_temporal_causal": true,
|
| 30 |
-
"window_frames":
|
| 31 |
},
|
| 32 |
-
"_diffusers_version": "0.
|
| 33 |
-
"default_use_system_prompt":
|
| 34 |
"enable_safety_checker": false,
|
| 35 |
"safety_checker": [
|
| 36 |
null,
|
|
@@ -46,7 +46,7 @@
|
|
| 46 |
],
|
| 47 |
"text_tokenizer": [
|
| 48 |
"transformers",
|
| 49 |
-
"
|
| 50 |
],
|
| 51 |
"transformer": [
|
| 52 |
"diffusers",
|
|
|
|
| 20 |
},
|
| 21 |
"latent_patch_size": 2,
|
| 22 |
"schema_version": 1,
|
| 23 |
+
"sink_frames": 3,
|
| 24 |
"temporal_compression_factor": 4,
|
| 25 |
"temporal_modality_margin": 15000,
|
| 26 |
"text_cache_max_len": 512,
|
| 27 |
"unified_3d_mrope_reset_spatial_ids": true,
|
| 28 |
"vae_spatial_compression_factor": 16,
|
| 29 |
"video_temporal_causal": true,
|
| 30 |
+
"window_frames": 30
|
| 31 |
},
|
| 32 |
+
"_diffusers_version": "0.40.0",
|
| 33 |
+
"default_use_system_prompt": false,
|
| 34 |
"enable_safety_checker": false,
|
| 35 |
"safety_checker": [
|
| 36 |
null,
|
|
|
|
| 46 |
],
|
| 47 |
"text_tokenizer": [
|
| 48 |
"transformers",
|
| 49 |
+
"Qwen2Tokenizer"
|
| 50 |
],
|
| 51 |
"transformer": [
|
| 52 |
"diffusers",
|
modular_model_index.json
CHANGED
|
@@ -21,28 +21,30 @@
|
|
| 21 |
},
|
| 22 |
"latent_patch_size": 2,
|
| 23 |
"schema_version": 1,
|
| 24 |
-
"sink_frames":
|
| 25 |
"temporal_compression_factor": 4,
|
| 26 |
"temporal_modality_margin": 15000,
|
| 27 |
"text_cache_max_len": 512,
|
| 28 |
"unified_3d_mrope_reset_spatial_ids": true,
|
| 29 |
"vae_spatial_compression_factor": 16,
|
| 30 |
"video_temporal_causal": true,
|
| 31 |
-
"window_frames":
|
| 32 |
},
|
| 33 |
-
"_diffusers_version": "0.
|
|
|
|
| 34 |
"distilled_sigmas": [
|
| 35 |
1.0,
|
| 36 |
0.9375,
|
| 37 |
0.8333333333333334,
|
| 38 |
0.625
|
| 39 |
],
|
|
|
|
| 40 |
"is_distilled": true,
|
| 41 |
"scheduler": [
|
| 42 |
"diffusers",
|
| 43 |
"FlowMatchEulerDiscreteScheduler",
|
| 44 |
{
|
| 45 |
-
"pretrained_model_name_or_path": "
|
| 46 |
"subfolder": "scheduler",
|
| 47 |
"type_hint": [
|
| 48 |
"diffusers",
|
|
@@ -53,13 +55,13 @@
|
|
| 53 |
],
|
| 54 |
"text_tokenizer": [
|
| 55 |
"transformers",
|
| 56 |
-
"
|
| 57 |
{
|
| 58 |
-
"pretrained_model_name_or_path": "
|
| 59 |
"subfolder": "text_tokenizer",
|
| 60 |
"type_hint": [
|
| 61 |
"transformers",
|
| 62 |
-
"
|
| 63 |
],
|
| 64 |
"variant": null
|
| 65 |
}
|
|
@@ -68,7 +70,7 @@
|
|
| 68 |
"diffusers",
|
| 69 |
"Cosmos3OmniTransformer",
|
| 70 |
{
|
| 71 |
-
"pretrained_model_name_or_path": "
|
| 72 |
"subfolder": "transformer",
|
| 73 |
"type_hint": [
|
| 74 |
"diffusers",
|
|
@@ -77,11 +79,12 @@
|
|
| 77 |
"variant": null
|
| 78 |
}
|
| 79 |
],
|
|
|
|
| 80 |
"vae": [
|
| 81 |
"diffusers",
|
| 82 |
"AutoencoderKLWan",
|
| 83 |
{
|
| 84 |
-
"pretrained_model_name_or_path": "
|
| 85 |
"subfolder": "vae",
|
| 86 |
"type_hint": [
|
| 87 |
"diffusers",
|
|
|
|
| 21 |
},
|
| 22 |
"latent_patch_size": 2,
|
| 23 |
"schema_version": 1,
|
| 24 |
+
"sink_frames": 3,
|
| 25 |
"temporal_compression_factor": 4,
|
| 26 |
"temporal_modality_margin": 15000,
|
| 27 |
"text_cache_max_len": 512,
|
| 28 |
"unified_3d_mrope_reset_spatial_ids": true,
|
| 29 |
"vae_spatial_compression_factor": 16,
|
| 30 |
"video_temporal_causal": true,
|
| 31 |
+
"window_frames": 30
|
| 32 |
},
|
| 33 |
+
"_diffusers_version": "0.40.0",
|
| 34 |
+
"default_use_system_prompt": false,
|
| 35 |
"distilled_sigmas": [
|
| 36 |
1.0,
|
| 37 |
0.9375,
|
| 38 |
0.8333333333333334,
|
| 39 |
0.625
|
| 40 |
],
|
| 41 |
+
"enable_safety_checker": false,
|
| 42 |
"is_distilled": true,
|
| 43 |
"scheduler": [
|
| 44 |
"diffusers",
|
| 45 |
"FlowMatchEulerDiscreteScheduler",
|
| 46 |
{
|
| 47 |
+
"pretrained_model_name_or_path": "diffusers_format7",
|
| 48 |
"subfolder": "scheduler",
|
| 49 |
"type_hint": [
|
| 50 |
"diffusers",
|
|
|
|
| 55 |
],
|
| 56 |
"text_tokenizer": [
|
| 57 |
"transformers",
|
| 58 |
+
"Qwen2Tokenizer",
|
| 59 |
{
|
| 60 |
+
"pretrained_model_name_or_path": "diffusers_format7",
|
| 61 |
"subfolder": "text_tokenizer",
|
| 62 |
"type_hint": [
|
| 63 |
"transformers",
|
| 64 |
+
"Qwen2Tokenizer"
|
| 65 |
],
|
| 66 |
"variant": null
|
| 67 |
}
|
|
|
|
| 70 |
"diffusers",
|
| 71 |
"Cosmos3OmniTransformer",
|
| 72 |
{
|
| 73 |
+
"pretrained_model_name_or_path": "diffusers_format7",
|
| 74 |
"subfolder": "transformer",
|
| 75 |
"type_hint": [
|
| 76 |
"diffusers",
|
|
|
|
| 79 |
"variant": null
|
| 80 |
}
|
| 81 |
],
|
| 82 |
+
"use_native_flow_schedule": false,
|
| 83 |
"vae": [
|
| 84 |
"diffusers",
|
| 85 |
"AutoencoderKLWan",
|
| 86 |
{
|
| 87 |
+
"pretrained_model_name_or_path": "diffusers_format7",
|
| 88 |
"subfolder": "vae",
|
| 89 |
"type_hint": [
|
| 90 |
"diffusers",
|
scheduler/scheduler_config.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
{
|
| 2 |
"_class_name": "FlowMatchEulerDiscreteScheduler",
|
| 3 |
-
"_diffusers_version": "0.
|
| 4 |
"base_image_seq_len": 256,
|
| 5 |
"base_shift": 0.5,
|
| 6 |
"fixed_step_requires_explicit_sigmas": true,
|
|
|
|
| 1 |
{
|
| 2 |
"_class_name": "FlowMatchEulerDiscreteScheduler",
|
| 3 |
+
"_diffusers_version": "0.40.0",
|
| 4 |
"base_image_seq_len": 256,
|
| 5 |
"base_shift": 0.5,
|
| 6 |
"fixed_step_requires_explicit_sigmas": true,
|
text_tokenizer/tokenizer.json
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:be75606093db2094d7cd20f3c2f385c212750648bd6ea4fb2bf507a6a4c55506
|
| 3 |
+
size 11422650
|
text_tokenizer/tokenizer_config.json
CHANGED
|
@@ -1,217 +1,11 @@
|
|
| 1 |
{
|
| 2 |
-
"add_bos_token": false,
|
| 3 |
"add_prefix_space": false,
|
| 4 |
-
"
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
"single_word": false,
|
| 11 |
-
"special": true
|
| 12 |
-
},
|
| 13 |
-
"151644": {
|
| 14 |
-
"content": "<|im_start|>",
|
| 15 |
-
"lstrip": false,
|
| 16 |
-
"normalized": false,
|
| 17 |
-
"rstrip": false,
|
| 18 |
-
"single_word": false,
|
| 19 |
-
"special": true
|
| 20 |
-
},
|
| 21 |
-
"151645": {
|
| 22 |
-
"content": "<|im_end|>",
|
| 23 |
-
"lstrip": false,
|
| 24 |
-
"normalized": false,
|
| 25 |
-
"rstrip": false,
|
| 26 |
-
"single_word": false,
|
| 27 |
-
"special": true
|
| 28 |
-
},
|
| 29 |
-
"151646": {
|
| 30 |
-
"content": "<|object_ref_start|>",
|
| 31 |
-
"lstrip": false,
|
| 32 |
-
"normalized": false,
|
| 33 |
-
"rstrip": false,
|
| 34 |
-
"single_word": false,
|
| 35 |
-
"special": true
|
| 36 |
-
},
|
| 37 |
-
"151647": {
|
| 38 |
-
"content": "<|object_ref_end|>",
|
| 39 |
-
"lstrip": false,
|
| 40 |
-
"normalized": false,
|
| 41 |
-
"rstrip": false,
|
| 42 |
-
"single_word": false,
|
| 43 |
-
"special": true
|
| 44 |
-
},
|
| 45 |
-
"151648": {
|
| 46 |
-
"content": "<|box_start|>",
|
| 47 |
-
"lstrip": false,
|
| 48 |
-
"normalized": false,
|
| 49 |
-
"rstrip": false,
|
| 50 |
-
"single_word": false,
|
| 51 |
-
"special": true
|
| 52 |
-
},
|
| 53 |
-
"151649": {
|
| 54 |
-
"content": "<|box_end|>",
|
| 55 |
-
"lstrip": false,
|
| 56 |
-
"normalized": false,
|
| 57 |
-
"rstrip": false,
|
| 58 |
-
"single_word": false,
|
| 59 |
-
"special": true
|
| 60 |
-
},
|
| 61 |
-
"151650": {
|
| 62 |
-
"content": "<|quad_start|>",
|
| 63 |
-
"lstrip": false,
|
| 64 |
-
"normalized": false,
|
| 65 |
-
"rstrip": false,
|
| 66 |
-
"single_word": false,
|
| 67 |
-
"special": true
|
| 68 |
-
},
|
| 69 |
-
"151651": {
|
| 70 |
-
"content": "<|quad_end|>",
|
| 71 |
-
"lstrip": false,
|
| 72 |
-
"normalized": false,
|
| 73 |
-
"rstrip": false,
|
| 74 |
-
"single_word": false,
|
| 75 |
-
"special": true
|
| 76 |
-
},
|
| 77 |
-
"151652": {
|
| 78 |
-
"content": "<|vision_start|>",
|
| 79 |
-
"lstrip": false,
|
| 80 |
-
"normalized": false,
|
| 81 |
-
"rstrip": false,
|
| 82 |
-
"single_word": false,
|
| 83 |
-
"special": true
|
| 84 |
-
},
|
| 85 |
-
"151653": {
|
| 86 |
-
"content": "<|vision_end|>",
|
| 87 |
-
"lstrip": false,
|
| 88 |
-
"normalized": false,
|
| 89 |
-
"rstrip": false,
|
| 90 |
-
"single_word": false,
|
| 91 |
-
"special": true
|
| 92 |
-
},
|
| 93 |
-
"151654": {
|
| 94 |
-
"content": "<|vision_pad|>",
|
| 95 |
-
"lstrip": false,
|
| 96 |
-
"normalized": false,
|
| 97 |
-
"rstrip": false,
|
| 98 |
-
"single_word": false,
|
| 99 |
-
"special": true
|
| 100 |
-
},
|
| 101 |
-
"151655": {
|
| 102 |
-
"content": "<|image_pad|>",
|
| 103 |
-
"lstrip": false,
|
| 104 |
-
"normalized": false,
|
| 105 |
-
"rstrip": false,
|
| 106 |
-
"single_word": false,
|
| 107 |
-
"special": true
|
| 108 |
-
},
|
| 109 |
-
"151656": {
|
| 110 |
-
"content": "<|video_pad|>",
|
| 111 |
-
"lstrip": false,
|
| 112 |
-
"normalized": false,
|
| 113 |
-
"rstrip": false,
|
| 114 |
-
"single_word": false,
|
| 115 |
-
"special": true
|
| 116 |
-
},
|
| 117 |
-
"151657": {
|
| 118 |
-
"content": "<tool_call>",
|
| 119 |
-
"lstrip": false,
|
| 120 |
-
"normalized": false,
|
| 121 |
-
"rstrip": false,
|
| 122 |
-
"single_word": false,
|
| 123 |
-
"special": false
|
| 124 |
-
},
|
| 125 |
-
"151658": {
|
| 126 |
-
"content": "</tool_call>",
|
| 127 |
-
"lstrip": false,
|
| 128 |
-
"normalized": false,
|
| 129 |
-
"rstrip": false,
|
| 130 |
-
"single_word": false,
|
| 131 |
-
"special": false
|
| 132 |
-
},
|
| 133 |
-
"151659": {
|
| 134 |
-
"content": "<|fim_prefix|>",
|
| 135 |
-
"lstrip": false,
|
| 136 |
-
"normalized": false,
|
| 137 |
-
"rstrip": false,
|
| 138 |
-
"single_word": false,
|
| 139 |
-
"special": false
|
| 140 |
-
},
|
| 141 |
-
"151660": {
|
| 142 |
-
"content": "<|fim_middle|>",
|
| 143 |
-
"lstrip": false,
|
| 144 |
-
"normalized": false,
|
| 145 |
-
"rstrip": false,
|
| 146 |
-
"single_word": false,
|
| 147 |
-
"special": false
|
| 148 |
-
},
|
| 149 |
-
"151661": {
|
| 150 |
-
"content": "<|fim_suffix|>",
|
| 151 |
-
"lstrip": false,
|
| 152 |
-
"normalized": false,
|
| 153 |
-
"rstrip": false,
|
| 154 |
-
"single_word": false,
|
| 155 |
-
"special": false
|
| 156 |
-
},
|
| 157 |
-
"151662": {
|
| 158 |
-
"content": "<|fim_pad|>",
|
| 159 |
-
"lstrip": false,
|
| 160 |
-
"normalized": false,
|
| 161 |
-
"rstrip": false,
|
| 162 |
-
"single_word": false,
|
| 163 |
-
"special": false
|
| 164 |
-
},
|
| 165 |
-
"151663": {
|
| 166 |
-
"content": "<|repo_name|>",
|
| 167 |
-
"lstrip": false,
|
| 168 |
-
"normalized": false,
|
| 169 |
-
"rstrip": false,
|
| 170 |
-
"single_word": false,
|
| 171 |
-
"special": false
|
| 172 |
-
},
|
| 173 |
-
"151664": {
|
| 174 |
-
"content": "<|file_sep|>",
|
| 175 |
-
"lstrip": false,
|
| 176 |
-
"normalized": false,
|
| 177 |
-
"rstrip": false,
|
| 178 |
-
"single_word": false,
|
| 179 |
-
"special": false
|
| 180 |
-
},
|
| 181 |
-
"151665": {
|
| 182 |
-
"content": "<tool_response>",
|
| 183 |
-
"lstrip": false,
|
| 184 |
-
"normalized": false,
|
| 185 |
-
"rstrip": false,
|
| 186 |
-
"single_word": false,
|
| 187 |
-
"special": false
|
| 188 |
-
},
|
| 189 |
-
"151666": {
|
| 190 |
-
"content": "</tool_response>",
|
| 191 |
-
"lstrip": false,
|
| 192 |
-
"normalized": false,
|
| 193 |
-
"rstrip": false,
|
| 194 |
-
"single_word": false,
|
| 195 |
-
"special": false
|
| 196 |
-
},
|
| 197 |
-
"151667": {
|
| 198 |
-
"content": "<think>",
|
| 199 |
-
"lstrip": false,
|
| 200 |
-
"normalized": false,
|
| 201 |
-
"rstrip": false,
|
| 202 |
-
"single_word": false,
|
| 203 |
-
"special": false
|
| 204 |
-
},
|
| 205 |
-
"151668": {
|
| 206 |
-
"content": "</think>",
|
| 207 |
-
"lstrip": false,
|
| 208 |
-
"normalized": false,
|
| 209 |
-
"rstrip": false,
|
| 210 |
-
"single_word": false,
|
| 211 |
-
"special": false
|
| 212 |
-
}
|
| 213 |
-
},
|
| 214 |
-
"additional_special_tokens": [
|
| 215 |
"<|im_start|>",
|
| 216 |
"<|im_end|>",
|
| 217 |
"<|object_ref_start|>",
|
|
@@ -226,11 +20,8 @@
|
|
| 226 |
"<|image_pad|>",
|
| 227 |
"<|video_pad|>"
|
| 228 |
],
|
| 229 |
-
"
|
| 230 |
-
"
|
| 231 |
-
"eos_token": "<|im_end|>",
|
| 232 |
-
"errors": "replace",
|
| 233 |
-
"extra_special_tokens": {},
|
| 234 |
"model_max_length": 262144,
|
| 235 |
"pad_token": "<|endoftext|>",
|
| 236 |
"split_special_tokens": false,
|
|
|
|
| 1 |
{
|
|
|
|
| 2 |
"add_prefix_space": false,
|
| 3 |
+
"backend": "tokenizers",
|
| 4 |
+
"bos_token": null,
|
| 5 |
+
"clean_up_tokenization_spaces": false,
|
| 6 |
+
"eos_token": "<|im_end|>",
|
| 7 |
+
"errors": "replace",
|
| 8 |
+
"extra_special_tokens": [
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
"<|im_start|>",
|
| 10 |
"<|im_end|>",
|
| 11 |
"<|object_ref_start|>",
|
|
|
|
| 20 |
"<|image_pad|>",
|
| 21 |
"<|video_pad|>"
|
| 22 |
],
|
| 23 |
+
"is_local": false,
|
| 24 |
+
"local_files_only": false,
|
|
|
|
|
|
|
|
|
|
| 25 |
"model_max_length": 262144,
|
| 26 |
"pad_token": "<|endoftext|>",
|
| 27 |
"split_special_tokens": false,
|
transformer/config.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
{
|
| 2 |
"_class_name": "Cosmos3OmniTransformer",
|
| 3 |
-
"_diffusers_version": "0.
|
| 4 |
"action_dim": 32,
|
| 5 |
"action_gen": false,
|
| 6 |
"attention_bias": false,
|
|
@@ -40,14 +40,14 @@
|
|
| 40 |
},
|
| 41 |
"latent_patch_size": 2,
|
| 42 |
"schema_version": 1,
|
| 43 |
-
"sink_frames":
|
| 44 |
"temporal_compression_factor": 4,
|
| 45 |
"temporal_modality_margin": 15000,
|
| 46 |
"text_cache_max_len": 512,
|
| 47 |
"unified_3d_mrope_reset_spatial_ids": true,
|
| 48 |
"vae_spatial_compression_factor": 16,
|
| 49 |
"video_temporal_causal": true,
|
| 50 |
-
"window_frames":
|
| 51 |
},
|
| 52 |
"enable_fps_modulation": true,
|
| 53 |
"head_dim": 128,
|
|
@@ -76,6 +76,7 @@
|
|
| 76 |
20,
|
| 77 |
20
|
| 78 |
],
|
|
|
|
| 79 |
"rope_type": "default"
|
| 80 |
},
|
| 81 |
"rope_theta": 5000000,
|
|
|
|
| 1 |
{
|
| 2 |
"_class_name": "Cosmos3OmniTransformer",
|
| 3 |
+
"_diffusers_version": "0.40.0",
|
| 4 |
"action_dim": 32,
|
| 5 |
"action_gen": false,
|
| 6 |
"attention_bias": false,
|
|
|
|
| 40 |
},
|
| 41 |
"latent_patch_size": 2,
|
| 42 |
"schema_version": 1,
|
| 43 |
+
"sink_frames": 3,
|
| 44 |
"temporal_compression_factor": 4,
|
| 45 |
"temporal_modality_margin": 15000,
|
| 46 |
"text_cache_max_len": 512,
|
| 47 |
"unified_3d_mrope_reset_spatial_ids": true,
|
| 48 |
"vae_spatial_compression_factor": 16,
|
| 49 |
"video_temporal_causal": true,
|
| 50 |
+
"window_frames": 30
|
| 51 |
},
|
| 52 |
"enable_fps_modulation": true,
|
| 53 |
"head_dim": 128,
|
|
|
|
| 76 |
20,
|
| 77 |
20
|
| 78 |
],
|
| 79 |
+
"rope_theta": 5000000,
|
| 80 |
"rope_type": "default"
|
| 81 |
},
|
| 82 |
"rope_theta": 5000000,
|
vae/config.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
{
|
| 2 |
"_class_name": "AutoencoderKLWan",
|
| 3 |
-
"_diffusers_version": "0.
|
| 4 |
"_name_or_path": "Wan-AI/Wan2.2-TI2V-5B-Diffusers",
|
| 5 |
"attn_scales": [],
|
| 6 |
"base_dim": 160,
|
|
|
|
| 1 |
{
|
| 2 |
"_class_name": "AutoencoderKLWan",
|
| 3 |
+
"_diffusers_version": "0.40.0",
|
| 4 |
"_name_or_path": "Wan-AI/Wan2.2-TI2V-5B-Diffusers",
|
| 5 |
"attn_scales": [],
|
| 6 |
"base_dim": 160,
|