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
Browse files- checkpoint.json +2 -2
- config.json +36 -20
- cosmos3_nano_sim_bimanual_artifact.json +3 -3
- model.safetensors.index.json +0 -0
- model_index.json +3 -3
- modular_model_index.json +6 -6
- transformer/config.json +2 -2
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",
|
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.39.0",
|
| 33 |
-
"default_use_system_prompt":
|
| 34 |
"enable_safety_checker": false,
|
| 35 |
"safety_checker": [
|
| 36 |
null,
|
|
|
|
| 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.39.0",
|
| 33 |
+
"default_use_system_prompt": false,
|
| 34 |
"enable_safety_checker": false,
|
| 35 |
"safety_checker": [
|
| 36 |
null,
|
modular_model_index.json
CHANGED
|
@@ -21,14 +21,14 @@
|
|
| 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.39.0",
|
| 34 |
"distilled_sigmas": [
|
|
@@ -42,7 +42,7 @@
|
|
| 42 |
"diffusers",
|
| 43 |
"FlowMatchEulerDiscreteScheduler",
|
| 44 |
{
|
| 45 |
-
"pretrained_model_name_or_path": "
|
| 46 |
"subfolder": "scheduler",
|
| 47 |
"type_hint": [
|
| 48 |
"diffusers",
|
|
@@ -55,7 +55,7 @@
|
|
| 55 |
"transformers",
|
| 56 |
"Qwen2TokenizerFast",
|
| 57 |
{
|
| 58 |
-
"pretrained_model_name_or_path": "
|
| 59 |
"subfolder": "text_tokenizer",
|
| 60 |
"type_hint": [
|
| 61 |
"transformers",
|
|
@@ -68,7 +68,7 @@
|
|
| 68 |
"diffusers",
|
| 69 |
"Cosmos3OmniTransformer",
|
| 70 |
{
|
| 71 |
-
"pretrained_model_name_or_path": "
|
| 72 |
"subfolder": "transformer",
|
| 73 |
"type_hint": [
|
| 74 |
"diffusers",
|
|
@@ -81,7 +81,7 @@
|
|
| 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.39.0",
|
| 34 |
"distilled_sigmas": [
|
|
|
|
| 42 |
"diffusers",
|
| 43 |
"FlowMatchEulerDiscreteScheduler",
|
| 44 |
{
|
| 45 |
+
"pretrained_model_name_or_path": "diffusers_format5",
|
| 46 |
"subfolder": "scheduler",
|
| 47 |
"type_hint": [
|
| 48 |
"diffusers",
|
|
|
|
| 55 |
"transformers",
|
| 56 |
"Qwen2TokenizerFast",
|
| 57 |
{
|
| 58 |
+
"pretrained_model_name_or_path": "diffusers_format5",
|
| 59 |
"subfolder": "text_tokenizer",
|
| 60 |
"type_hint": [
|
| 61 |
"transformers",
|
|
|
|
| 68 |
"diffusers",
|
| 69 |
"Cosmos3OmniTransformer",
|
| 70 |
{
|
| 71 |
+
"pretrained_model_name_or_path": "diffusers_format5",
|
| 72 |
"subfolder": "transformer",
|
| 73 |
"type_hint": [
|
| 74 |
"diffusers",
|
|
|
|
| 81 |
"diffusers",
|
| 82 |
"AutoencoderKLWan",
|
| 83 |
{
|
| 84 |
+
"pretrained_model_name_or_path": "diffusers_format5",
|
| 85 |
"subfolder": "vae",
|
| 86 |
"type_hint": [
|
| 87 |
"diffusers",
|
transformer/config.json
CHANGED
|
@@ -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,
|
|
|
|
| 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,
|