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81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
{
  "allow_patterns_overrides": [
    "*/*.safetensors"
  ],
  "architectures": [
    "Cosmos3ForConditionalGeneration"
  ],
  "cosmos3_nano_sim_bimanual": {
    "attention_mode": "three_way",
    "base_fps": 24,
    "checkpoint_hash": "06e78ab5bbb81b7ad92842c359c3b9e3e64000dc43574ed6180cfc0dee701f0a",
    "checkpoint_id": "causal_8b_sf_dmd_transfer_480p_direct_resize_caption_mix_from_stage2_iter2250@iter_000001500",
    "checkpoint_iteration": 1500,
    "chunk_size": 1,
    "enable_fps_modulation": true,
    "fixed_step_sampler_config": {
      "num_train_timesteps": 1000,
      "sample_type": "sde",
      "t_list": [
        1.0,
        0.9375,
        0.8333333333333334,
        0.625
      ]
    },
    "latent_patch_size": 2,
    "schema_version": 1,
    "sink_frames": 1,
    "temporal_compression_factor": 4,
    "temporal_modality_margin": 15000,
    "text_cache_max_len": 512,
    "unified_3d_mrope_reset_spatial_ids": true,
    "vae_spatial_compression_factor": 16,
    "video_temporal_causal": true,
    "window_frames": 51
  },
  "image_token_id": 151655,
  "model": {
    "_recursive_": false,
    "_target": "omni_mot_causal_model",
    "config": {
      "_type": "omni_mot_causal_model_config",
      "action_gen": false,
      "action_global_asinh": false,
      "action_io_projector_type": "domain_aware",
      "action_metric_gripper": false,
      "action_schema": "native",
      "activation_checkpointing": {
        "_type": "activation_checkpointing_config",
        "determinism_check": "default",
        "min_cgroup_memory_free_fraction": 0.1,
        "mode": "full",
        "offload_to_cpu": false,
        "preserve_rng_state": true,
        "save_only_marked_ops": false,
        "save_ops_regex": [
          "fmha_forward",
          "_flash_attn_varlen_forward",
          "_flash_attn_forward",
          "fmha_fwd"
        ]
      },
      "ar_distilled_sample_type": null,
      "ar_static_und_cache_max_len": 512,
      "attention_io_layout": "sequence_sharded",
      "attention_sink_size": 1,
      "causal_training_strategy": "none",
      "clamp_empty_varlen_kv": true,
      "compile": {
        "_type": "compile_config",
        "ar_post_saturation_mode": "default",
        "compile_dynamic": true,
        "compiled_region": "language",
        "coordinate_descent_tuning": false,
        "cuda_graph_scope": "block",
        "enabled": false,
        "mark_unbacked": false,
        "max_autotune_pointwise": false,
        "use_cuda_graphs": false
      },
      "correct_cp_gradients": false,
      "diffusion_expert_config": {
        "_type": "diffusion_expert_config",
        "base_fps": 24,
        "enable_action_modality_embedding": true,
        "enable_fps_modulation": true,
        "enable_media_modality_embedding": false,
        "enable_sound_modality_embedding": true,
        "enable_vision_modality_embeddings": false,
        "lidar_patch_spatial_hw": null,
        "load_weights_from_pretrained": false,
        "max_vae_latent_side_after_patchify": 52,
        "num_view_embeddings": 0,
        "patch_spatial": 2,
        "radar_patch_spatial_hw": null,
        "sound_base_temporal_compression_factor": null,
        "timestep_range": 1.0,
        "unified_3d_mrope_reset_spatial_ids": true,
        "unified_3d_mrope_temporal_modality_margin": 15000,
        "vision_temporal_position_mode": "latent_index"
      },
      "ema": {
        "_type": "ema_config",
        "enabled": false,
        "iteration_shift": 0,
        "rate": 0.1
      },
      "enable_input_bias": true,
      "enable_moba": false,
      "exclude_reasoner_weights_from_checkpoint": false,
      "fixed_step_sampler_config": {
        "_type": "fixed_step_sampler_config",
        "sample_type": "sde",
        "t_list": [
          1.0,
          0.9375,
          0.8333333333333334,
          0.625
        ]
      },
      "flex_attention": {
        "_type": "causal_flex_attention_config",
        "backend": "auto",
        "deduplicate_cross_view": false,
        "geometry_position_encoding": "baseline",
        "mask": {
          "_type": "causal_flex_attention_mask_config",
          "attention_scope": "all_views",
          "control_attends_sensor": false,
          "control_to_control_window": null,
          "control_to_sensor_window": null,
          "decomposed_temporal_window_includes_first_frame": false,
          "decomposed_temporal_window_seconds": null,
          "lidar_attends_captions": true,
          "radar_attends_captions": true,
          "sensor_to_control_window": null,
          "sensor_to_sensor_window": null
        },
        "maskless_cross_view_band_keys": "all_views",
        "maskless_cross_view_band_radius": 0,
        "maskless_cross_view_include_frame_zero": false,
        "prope_intrinsics": false,
        "rigrope_canonical_frame": false,
        "rigrope_channels": "all",
        "rigrope_head_fraction": 1.0,
        "rigrope_include_time": false,
        "rigrope_max_freq_exponent": 3.0,
        "rigrope_min_freq_exponent": 0.0,
        "rigrope_missing_geometry": "error",
        "rigrope_moment_normalization": "fixed",
        "rigrope_moment_scale_floor_m": 0.05,
        "rigrope_moment_scale_m": 25.0,
        "rigrope_pose_world_frame": "scene",
        "rigrope_time_scale_s": 1.0
      },
      "grad_clip": false,
      "input_caption_key": "ai_caption",
      "input_image_key": "images",
      "input_video_key": "video",
      "joint_attn_implementation": "three_way",
      "kv_cache_dtype": null,
      "kv_cache_inference_size": 51,
      "kv_cache_kernel_impl": "triton",
      "latent_downsample_factor": 16,
      "lbl": {
        "_type": "lbl_config",
        "coeff_gen": null,
        "coeff_und": null,
        "method": "local"
      },
      "lidar_fps": null,
      "lidar_state_ch": null,
      "lidar_tokenizer": null,
      "load_vision_tokenizer": true,
      "lora_alpha": 32,
      "lora_enabled": false,
      "lora_rank": 16,
      "lora_target_modules": "q_proj_moe_gen,k_proj_moe_gen,v_proj_moe_gen,o_proj_moe_gen",
      "max_action_dim": 32,
      "max_num_tokens_after_packing": 74000,
      "moba_bidirectional_steps": 1,
      "moba_causal_steps": 1,
      "multiview_action_conditioning": null,
      "multiview_attention": {
        "_type": "flex_attention_config",
        "backend": "auto",
        "deduplicate_cross_view": false,
        "geometry_position_encoding": "baseline",
        "mask": {
          "_type": "flex_attention_mask_config",
          "attention_scope": "all_views",
          "control_attends_sensor": false,
          "control_to_control_window": null,
          "control_to_sensor_window": null,
          "decomposed_temporal_window_includes_first_frame": false,
          "decomposed_temporal_window_seconds": null,
          "lidar_attends_captions": true,
          "radar_attends_captions": true,
          "sensor_to_control_window": null,
          "sensor_to_sensor_window": null
        },
        "maskless_cross_view_band_keys": "all_views",
        "maskless_cross_view_band_radius": 0,
        "maskless_cross_view_include_frame_zero": false,
        "prope_intrinsics": false,
        "rigrope_canonical_frame": false,
        "rigrope_channels": "all",
        "rigrope_head_fraction": 1.0,
        "rigrope_include_time": false,
        "rigrope_max_freq_exponent": 3.0,
        "rigrope_min_freq_exponent": 0.0,
        "rigrope_missing_geometry": "error",
        "rigrope_moment_normalization": "fixed",
        "rigrope_moment_scale_floor_m": 0.05,
        "rigrope_moment_scale_m": 25.0,
        "rigrope_pose_world_frame": "scene",
        "rigrope_time_scale_s": 1.0
      },
      "natten_parameter_list": null,
      "net": null,
      "num_embodiment_domains": 32,
      "nvfp4_linears": null,
      "parallelism": {
        "_type": "parallelism_config",
        "cfg_parallel_shard_degree": 1,
        "context_parallel_shard_degree": 1,
        "data_parallel_replicate_degree": 1,
        "data_parallel_shard_degree": 1,
        "enable_inference_mode": false,
        "fsdp_cpu_offload": false,
        "fsdp_master_dtype": "float32",
        "fsdp_reduce_dtype": null,
        "vae_load_balance_group_size": 1
      },
      "precision": "bfloat16",
      "radar_fps": null,
      "radar_state_ch": null,
      "radar_tokenizer": null,
      "rectified_flow_inference_config": {
        "_type": "rectified_flow_inference_config",
        "num_train_timesteps": 1000,
        "scheduler_type": "unipc",
        "shift": 1,
        "use_dynamic_shifting": false
      },
      "rectified_flow_training_config": {
        "_type": "rectified_flow_training_config",
        "action_loss_weight": 10.0,
        "exclude_fully_conditioned_items": null,
        "image_loss_scale": null,
        "independent_action_schedule": false,
        "independent_sound_schedule": false,
        "lidar_loss_scale": null,
        "loss_reduction_mode": "local_item_mean",
        "loss_scale": 10.0,
        "normalize_loss_by_active": false,
        "radar_loss_scale": null,
        "shift": 5,
        "shift_action": null,
        "shift_image": null,
        "shift_lidar": null,
        "shift_sound": null,
        "sound_loss_scale": null,
        "train_time_action_distribution": "logitnormal",
        "train_time_image_distribution": "logitnormal",
        "train_time_sound_distribution": "logitnormal",
        "train_time_video_distribution": "uniform",
        "train_time_weight": "uniform",
        "use_discrete_rf": false,
        "use_dynamic_shift": false
      },
      "release_cp_raw_batch_after_preprocessing": false,
      "resolution": "480",
      "rolling_kv_cache_chunks": null,
      "rolling_kv_sink_chunks": 1,
      "rolling_media_rope_scale": 1.0,
      "rolling_media_sink_age_cap_seconds": null,
      "rolling_media_text_extent": null,
      "rolling_prompt_context_after": 0,
      "rolling_prompt_context_before": 0,
      "rolling_prompt_policy": null,
      "rolling_text_position_mode": "fixed",
      "rolling_text_sink_tokens": 4,
      "sigma_diffusion_forcing": 0.02,
      "sound_dim": null,
      "sound_gen": false,
      "sound_latent_fps": 25,
      "sound_tokenizer": null,
      "sr_latent_condition_noise": null,
      "state_ch": 48,
      "state_t": 300,
      "teacher_forcing_detach_clean_kv": false,
      "teacher_forcing_frames_per_chunk": 1,
      "teacher_forcing_kv_implementation": "singleview_threeway_kv",
      "teacher_forcing_replay_policy": {
        "_type": "teacher_forcing_replay_policy_config",
        "clean_pass_causality": "frame",
        "control_visibility": "causal",
        "controls_read_strict_past_clean_rgb": true,
        "decomposed_temporal_window_seconds": null,
        "deduplicate_cross_view": false,
        "multiview_attention_scope": "all_views"
      },
      "teacher_forcing_target_only_no_text_pass2": false,
      "teacher_forcing_transfer_control_dropout_rate": 0.0,
      "tokenizer": {
        "_target": "wan2pt2_vae_interface",
        "bucket_name": "bucket",
        "causal": true,
        "chunk_duration": 93,
        "encode_bucket_multiple": null,
        "encode_chunk_frames": {
          "256": 68,
          "480": 24,
          "720": 8
        },
        "encode_exact_durations": [
          17,
          61,
          73
        ],
        "keep_decoder_cache": false,
        "object_store_credential_path_pretrained": null,
        "spatial_compression_factor": 16,
        "temporal_compression_factor": 4,
        "temporal_window": null,
        "use_streaming_encode": false,
        "vae_path": "pretrained/tokenizers/video/wan2pt2/Wan2.2_VAE.pth"
      },
      "video_temporal_causal": true,
      "vision_gen": true,
      "vlm_config": {
        "_type": "vlm_config",
        "layer_module": null,
        "model_instance": {
          "_target": "qwen3_vl_text_for_causal_lm",
          "config": {
            "_target": "create_vlm_config",
            "base_config": {
              "_target": "qwen3_vl_mot_config_from_json_file",
              "json_file": "cosmos3://vfm/models/vlm/qwen3_vl/configs/Qwen3-VL-8B-Instruct.json"
            },
            "qk_norm_for_text": true
          }
        },
        "model_name": "nvidia/Cosmos3-Nano-Reasoner",
        "pretrained_weights": {
          "_type": "pretrained_weights_config",
          "backbone_path": "",
          "checkpoint_format": null,
          "credentials_path": "",
          "enable_gcs_patch_in_boto3": false,
          "enabled": false
        },
        "qk_norm": false,
        "safetensors_path": "",
        "tie_word_embeddings": false,
        "tokenizer": {
          "_target": "create_qwen2_tokenizer_with_download",
          "config_variant": "hf",
          "pretrained_model_name": "Qwen/Qwen3-VL-8B-Instruct"
        },
        "use_system_prompt": false
      }
    }
  },
  "model_type": "cosmos3_omni",
  "per_view_captions": false,
  "text_config": {
    "attention_bias": false,
    "attention_dropout": 0.0,
    "bos_token_id": 151643,
    "dtype": "bfloat16",
    "eos_token_id": 151645,
    "head_dim": 128,
    "hidden_act": "silu",
    "hidden_size": 4096,
    "initializer_range": 0.02,
    "intermediate_size": 12288,
    "max_position_embeddings": 262144,
    "model_type": "qwen3_vl_text",
    "num_attention_heads": 32,
    "num_hidden_layers": 36,
    "num_key_value_heads": 8,
    "rms_norm_eps": 1e-06,
    "rope_scaling": {
      "mrope_interleaved": true,
      "mrope_section": [
        24,
        20,
        20
      ],
      "rope_type": "default"
    },
    "rope_theta": 5000000,
    "use_cache": true,
    "vocab_size": 151936
  },
  "tie_word_embeddings": false,
  "transformers_version": "4.57.0.dev0",
  "video_token_id": 151656,
  "vision_config": {
    "deepstack_visual_indexes": [
      8,
      16,
      24
    ],
    "depth": 27,
    "hidden_act": "gelu_pytorch_tanh",
    "hidden_size": 1152,
    "in_channels": 3,
    "initializer_range": 0.02,
    "intermediate_size": 4304,
    "model_type": "qwen3_vl",
    "num_heads": 16,
    "num_position_embeddings": 2304,
    "out_hidden_size": 4096,
    "patch_size": 16,
    "spatial_merge_size": 2,
    "temporal_patch_size": 2
  },
  "vision_end_token_id": 151653,
  "vision_start_token_id": 151652
}