Divyanshudiv commited on
Commit
fa93c5a
·
verified ·
1 Parent(s): 0263fde

Upload folder using huggingface_hub

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. test/_edges/rainy/edge_bg0.1_rm0.5.mp4 +3 -0
  2. test/_edges/rainy/edge_bg0.1_rm1.mp4 +3 -0
  3. test/_edges/sunny/edge_bg0.1_rm1.mp4 +3 -0
  4. test/_edges/sunny/edge_bg0.5_rm1.mp4 +3 -0
  5. test/_masks/sunny/Building_mask.mp4 +3 -0
  6. test/_masks/sunny/weather_mask.mp4 +3 -0
  7. test/rainy/weather/distilled_step4_bg0.1_rm0.5/config.yaml +956 -0
  8. test/rainy/weather/distilled_step4_bg0.1_rm0.5/console.log +22 -0
  9. test/rainy/weather/distilled_step4_bg0.1_rm0.5/debug.log +0 -0
  10. test/rainy/weather/distilled_step4_bg0.1_rm0.5/rainy_weather_distilled_step4_bg0.1_rm0.5.json +1 -0
  11. test/rainy/weather/distilled_step4_bg0.1_rm0.5/rainy_weather_distilled_step4_bg0.1_rm0.5.mp4 +3 -0
  12. test/rainy/weather/distilled_step4_bg0.1_rm0.5/rainy_weather_distilled_step4_bg0.1_rm0.5.txt +1 -0
  13. test/rainy/weather/distilled_step4_bg0.1_rm0.5/rainy_weather_distilled_step4_bg0.1_rm0.5_control_edge.mp4 +3 -0
  14. test/rainy/weather/distilled_step4_bg0.1_rm0.5/spec.json +13 -0
  15. test/rainy/weather/distilled_step4_bg0.1_rm1/config.yaml +956 -0
  16. test/rainy/weather/distilled_step4_bg0.1_rm1/console.log +22 -0
  17. test/rainy/weather/distilled_step4_bg0.1_rm1/debug.log +0 -0
  18. test/rainy/weather/distilled_step4_bg0.1_rm1/rainy_weather_distilled_step4_bg0.1_rm1.json +1 -0
  19. test/rainy/weather/distilled_step4_bg0.1_rm1/rainy_weather_distilled_step4_bg0.1_rm1.mp4 +3 -0
  20. test/rainy/weather/distilled_step4_bg0.1_rm1/rainy_weather_distilled_step4_bg0.1_rm1.txt +1 -0
  21. test/rainy/weather/distilled_step4_bg0.1_rm1/rainy_weather_distilled_step4_bg0.1_rm1_control_edge.mp4 +3 -0
  22. test/rainy/weather/distilled_step4_bg0.1_rm1/spec.json +13 -0
  23. test/sunny/Building/2b_step35_bg0.1_rm0.5/config.yaml +882 -0
  24. test/sunny/Building/2b_step35_bg0.1_rm0.5/console.log +18 -0
  25. test/sunny/Building/2b_step35_bg0.1_rm0.5/debug.log +0 -0
  26. test/sunny/Building/2b_step35_bg0.1_rm0.5/spec.json +13 -0
  27. test/sunny/Building/2b_step35_bg0.1_rm0.5/sunny_Building_2b_step35_bg0.1_rm0.5.json +1 -0
  28. test/sunny/Building/2b_step35_bg0.1_rm0.5/sunny_Building_2b_step35_bg0.1_rm0.5.mp4 +3 -0
  29. test/sunny/Building/2b_step35_bg0.1_rm0.5/sunny_Building_2b_step35_bg0.1_rm0.5.txt +1 -0
  30. test/sunny/Building/2b_step35_bg0.1_rm0.5/sunny_Building_2b_step35_bg0.1_rm0.5_control_edge.mp4 +3 -0
  31. test/sunny/Building/2b_step35_bg0.1_rm1/config.yaml +882 -0
  32. test/sunny/Building/2b_step35_bg0.1_rm1/console.log +18 -0
  33. test/sunny/Building/2b_step35_bg0.1_rm1/debug.log +0 -0
  34. test/sunny/Building/2b_step35_bg0.1_rm1/spec.json +13 -0
  35. test/sunny/Building/2b_step35_bg0.1_rm1/sunny_Building_2b_step35_bg0.1_rm1.json +1 -0
  36. test/sunny/Building/2b_step35_bg0.1_rm1/sunny_Building_2b_step35_bg0.1_rm1.mp4 +3 -0
  37. test/sunny/Building/2b_step35_bg0.1_rm1/sunny_Building_2b_step35_bg0.1_rm1.txt +1 -0
  38. test/sunny/Building/2b_step35_bg0.1_rm1/sunny_Building_2b_step35_bg0.1_rm1_control_edge.mp4 +3 -0
  39. test/sunny/Building/2b_step35_bg0.5_rm1/config.yaml +882 -0
  40. test/sunny/Building/2b_step35_bg0.5_rm1/console.log +18 -0
  41. test/sunny/Building/2b_step35_bg0.5_rm1/debug.log +0 -0
  42. test/sunny/Building/2b_step35_bg0.5_rm1/spec.json +13 -0
  43. test/sunny/Building/2b_step35_bg0.5_rm1/sunny_Building_2b_step35_bg0.5_rm1.json +1 -0
  44. test/sunny/Building/2b_step35_bg0.5_rm1/sunny_Building_2b_step35_bg0.5_rm1.mp4 +3 -0
  45. test/sunny/Building/2b_step35_bg0.5_rm1/sunny_Building_2b_step35_bg0.5_rm1.txt +1 -0
  46. test/sunny/Building/2b_step35_bg0.5_rm1/sunny_Building_2b_step35_bg0.5_rm1_control_edge.mp4 +3 -0
  47. test/sunny/Building/2b_step35_masked_bg0.1_rm0.5/config.yaml +882 -0
  48. test/sunny/Building/2b_step35_masked_bg0.1_rm0.5/console.log +18 -0
  49. test/sunny/Building/2b_step35_masked_bg0.1_rm0.5/debug.log +0 -0
  50. test/sunny/Building/2b_step35_masked_bg0.1_rm0.5/spec.json +14 -0
test/_edges/rainy/edge_bg0.1_rm0.5.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e857de5159eea1fc35e88e350efc9539ae3d4090d92aa4ff49326186c32ed4a4
3
+ size 1539257
test/_edges/rainy/edge_bg0.1_rm1.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ce45863db79912ad8a96e630f23184f85e8aced2cacdaf3e367d63e4769fc2a5
3
+ size 1663561
test/_edges/sunny/edge_bg0.1_rm1.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:06651f21105721e4b779fda00d09f7080e2abf73587ec093ebd82d2d372a17d7
3
+ size 1173523
test/_edges/sunny/edge_bg0.5_rm1.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a47328aa1e14e3850dc5e320e25c46b6807f86b35ee4f3755c19c35499ea5737
3
+ size 1222816
test/_masks/sunny/Building_mask.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:293abe321d590f3e77d7cb2612d6744a7833971d7b22ca36073b0a932a302d0b
3
+ size 265959
test/_masks/sunny/weather_mask.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d7a83c2b0bd8cc6837aabaeba3e4552578743016008004429772238a5d043b0a
3
+ size 497925
test/rainy/weather/distilled_step4_bg0.1_rm0.5/config.yaml ADDED
@@ -0,0 +1,956 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ checkpoint:
2
+ broadcast_via_filesystem: 'False'
3
+ dcp_async_mode_enabled: 'False'
4
+ enable_gcs_patch_in_boto3: 'False'
5
+ jit:
6
+ device: cuda
7
+ dtype: bfloat16
8
+ enabled: 'False'
9
+ input_shape: null
10
+ strict: 'True'
11
+ keys_not_to_resume: []
12
+ keys_to_skip_loading: []
13
+ load_ema_to_reg: 'False'
14
+ load_from_object_store:
15
+ bucket: bucket
16
+ credentials: credentials/s3_checkpoint.secret
17
+ enabled: 'True'
18
+ load_path: ''
19
+ load_training_state: 'False'
20
+ only_load_scheduler_state: 'False'
21
+ save_iter: '500'
22
+ save_to_object_store:
23
+ bucket: bucket
24
+ credentials: credentials/s3_checkpoint.secret
25
+ enabled: 'True'
26
+ strict_resume: 'True'
27
+ type:
28
+ _target_: <class 'cosmos_transfer2._src.interactive.checkpointer.dcp_distill.DistributedCheckpointer'>
29
+ callbacks: null
30
+ disable_async: 'False'
31
+ verbose: 'True'
32
+ dataloader_train:
33
+ _target_: <class 'cosmos_transfer2._src.predict2.datasets.joint_dataloader.IterativeJointDataLoader'>
34
+ dataloaders:
35
+ image_data:
36
+ dataloader:
37
+ _target_: <function get_cached_replay_dataloader at 0x7f126ea1add0>
38
+ batch_size: '2'
39
+ cache_augment_fn: null
40
+ cache_replay_name: image_dataloader
41
+ cache_size: '32'
42
+ concat_size: '1'
43
+ dataset:
44
+ _target_: <function get_image_dataset at 0x7f126ea1af80>
45
+ len_t5: '512'
46
+ resolution: '512'
47
+ t5_dim: '1024'
48
+ num_workers: '8'
49
+ pin_memory: 'True'
50
+ shuffle: 'False'
51
+ use_cache: 'False'
52
+ webdataset: 'False'
53
+ ratio: '1'
54
+ video_data:
55
+ dataloader:
56
+ _target_: <function get_cached_replay_dataloader at 0x7f126ea1add0>
57
+ batch_size: '1'
58
+ cache_augment_fn: null
59
+ cache_replay_name: video_dataloader
60
+ cache_size: '32'
61
+ concat_size: '1'
62
+ dataset:
63
+ _target_: <function get_video_dataset at 0x7f126ea1b2e0>
64
+ len_t5: '512'
65
+ num_video_frames: '136'
66
+ resolution: '512'
67
+ t5_dim: '1024'
68
+ num_workers: '8'
69
+ pin_memory: 'True'
70
+ shuffle: 'False'
71
+ use_cache: 'False'
72
+ webdataset: 'False'
73
+ ratio: '1'
74
+ dataset:
75
+ augmentor_name: video_basic_augmentor_v2_with_control
76
+ caption_type: t2w_qwen2p5_7b
77
+ control_input_type: edge
78
+ dataset_resolution_type: gt720p
79
+ embedding_type: null
80
+ max_fps_thres: '60'
81
+ min_fps_thres: '10'
82
+ num_video_frames: '93'
83
+ resolution: '720'
84
+ use_native_fps: 'True'
85
+ video_decoder_name: video_naive_bytes
86
+ num_workers: '4'
87
+ dataloader_val: null
88
+ defaults:
89
+ - _self_
90
+ - data_train: null
91
+ - data_val: null
92
+ - optimizer: fusedadamw
93
+ - scheduler: lambdalinear
94
+ - callbacks: basic
95
+ - model: ddp
96
+ - net: null
97
+ - net_fake_score: null
98
+ - net_teacher: null
99
+ - net_discriminator_head: null
100
+ - conditioner: video_prediction_conditioner
101
+ - ema: power
102
+ - tokenizer: wan2pt1_tokenizer
103
+ - checkpoint: s3
104
+ - ckpt_type: dcp_distill
105
+ - condition_postprocessor: null
106
+ - experiment: null
107
+ job:
108
+ cluster: null
109
+ group: cosmos3_interactive
110
+ name: dmd2_trigflow_distill_cosmos_transfer2p5_2B_bidirectional_edge
111
+ project: cosmos_interactive
112
+ wandb_mode: online
113
+ model:
114
+ _recursive_: 'False'
115
+ _target_: <class 'cosmos_transfer2._src.interactive.methods.distribution_matching.dmd2.DMD2Model'>
116
+ config:
117
+ base_load_from: null
118
+ condition_postprocessor:
119
+ _target_: <class 'cosmos_transfer2._src.interactive.conditioner.condition_postprocessors.ControlConditionPostprocessor'>
120
+ hint_keys:
121
+ - edge
122
+ conditional_frames_probs:
123
+ 0: 0.6
124
+ 1: 0.2
125
+ 2: 0.2
126
+ conditioner:
127
+ _target_: <class 'cosmos_transfer2._src.transfer2.configs.vid2vid_transfer.defaults.conditioner.ControlVideo2WorldConditioner'>
128
+ control_input_depth:
129
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
130
+ dropout_rate: '0.0'
131
+ dtype: null
132
+ input_key: control_input_depth
133
+ output_key: control_input_depth
134
+ control_input_depth_mask:
135
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
136
+ dropout_rate: '0.0'
137
+ dtype: null
138
+ input_key: control_input_depth_mask
139
+ output_key: control_input_depth_mask
140
+ control_input_edge:
141
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
142
+ dropout_rate: '0.0'
143
+ dtype: null
144
+ input_key: control_input_edge
145
+ output_key: control_input_edge
146
+ control_input_edge_mask:
147
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
148
+ dropout_rate: '0.0'
149
+ dtype: null
150
+ input_key: control_input_edge_mask
151
+ output_key: control_input_edge_mask
152
+ control_input_inpaint:
153
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
154
+ dropout_rate: '0.0'
155
+ dtype: null
156
+ input_key: control_input_inpaint
157
+ output_key: control_input_inpaint
158
+ control_input_inpaint_mask:
159
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
160
+ dropout_rate: '0.0'
161
+ dtype: null
162
+ input_key: control_input_inpaint_mask
163
+ output_key: control_input_inpaint_mask
164
+ control_input_seg:
165
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
166
+ dropout_rate: '0.0'
167
+ dtype: null
168
+ input_key: control_input_seg
169
+ output_key: control_input_seg
170
+ control_input_seg_mask:
171
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
172
+ dropout_rate: '0.0'
173
+ dtype: null
174
+ input_key: control_input_seg_mask
175
+ output_key: control_input_seg_mask
176
+ control_input_vis:
177
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
178
+ dropout_rate: '0.0'
179
+ dtype: null
180
+ input_key: control_input_vis
181
+ output_key: control_input_vis
182
+ control_input_vis_mask:
183
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
184
+ dropout_rate: '0.0'
185
+ dtype: null
186
+ input_key: control_input_vis_mask
187
+ output_key: control_input_vis_mask
188
+ fps:
189
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
190
+ dropout_rate: '0.0'
191
+ dtype: null
192
+ input_key: fps
193
+ output_key: fps
194
+ padding_mask:
195
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
196
+ dropout_rate: '0.0'
197
+ dtype: null
198
+ input_key: padding_mask
199
+ output_key: padding_mask
200
+ text:
201
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.TextAttr'>
202
+ credential_path: credentials/s3_training.secret
203
+ dropout_rate: '0.2'
204
+ empty_string_embeddings_path: s3://bucket/predict2_assets/reason1_empty_string_embeddings.pt
205
+ input_key:
206
+ - t5_text_embeddings
207
+ use_empty_string: 'False'
208
+ use_video_condition:
209
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.BooleanFlag'>
210
+ dropout_rate: '0.0'
211
+ input_key: fps
212
+ output_key: use_video_condition
213
+ ema:
214
+ enabled: false
215
+ iteration_shift: 0
216
+ rate: 0.1
217
+ fsdp_shard_size: 1
218
+ grad_clip: true
219
+ input_caption_key: ai_caption
220
+ input_data_key: video
221
+ input_image_key: images
222
+ intermediate_feature_ids: null
223
+ load_teacher_weights: false
224
+ loss_reduce: mean
225
+ loss_scale_GAN_discriminator: 1.0
226
+ loss_scale_GAN_generator: 1.0
227
+ loss_scale_fake_score: 1.0
228
+ loss_scale_sid: 1.0
229
+ max_num_conditional_frames: 2
230
+ min_num_conditional_frames: 0
231
+ multiply_noise_by_video_len: true
232
+ neg_embed_path: ''
233
+ neg_prompt_str: The video captures a game playing, with bad crappy graphics and
234
+ cartoonish frames. It represents a recording of old outdated games. The lighting
235
+ looks very fake. The textures are very raw and basic. The geometries are very
236
+ primitive. The images are very pixelated and of poor CG quality. There are many
237
+ subtitles in the footage. Overall, the video is unrealistic at all.
238
+ net:
239
+ _target_: <class 'cosmos_transfer2._src.transfer2.networks.minimal_v4_lvg_dit_control_vace.MinimalV4LVGControlVaceDiT'>
240
+ adaln_lora_dim: '256'
241
+ atten_backend: minimal_a2a
242
+ concat_padding_mask: 'True'
243
+ condition_strategy: spaced
244
+ crossattn_emb_channels: '1024'
245
+ crossattn_proj_in_channels: '100352'
246
+ extra_per_block_abs_pos_emb: 'False'
247
+ in_channels: '16'
248
+ max_frames: '128'
249
+ max_img_h: '240'
250
+ max_img_w: '240'
251
+ mlp_ratio: '4.0'
252
+ model_channels: '2048'
253
+ num_blocks: '28'
254
+ num_control_branches: '1'
255
+ num_heads: '16'
256
+ num_max_modalities: '8'
257
+ out_channels: '16'
258
+ patch_spatial: '2'
259
+ patch_temporal: '1'
260
+ pos_emb_cls: rope3d
261
+ pos_emb_interpolation: crop
262
+ pos_emb_learnable: 'True'
263
+ rope_enable_fps_modulation: 'False'
264
+ rope_h_extrapolation_ratio: '3.0'
265
+ rope_t_extrapolation_ratio: '1.0'
266
+ rope_w_extrapolation_ratio: '3.0'
267
+ sac_config:
268
+ every_n_blocks: 1
269
+ mode: predict2_2b_720_aggressive
270
+ separate_embedders: 'False'
271
+ spatial_compression_factor: '8'
272
+ timestep_scale: '1.0'
273
+ use_adaln_lora: 'True'
274
+ use_after_proj_for_multi_branch: 'True'
275
+ use_crossattn_projection: 'True'
276
+ use_cuda_graphs: 'False'
277
+ use_input_hint_block: 'False'
278
+ use_wan_fp32_strategy: 'True'
279
+ vace_block_every_n: '7'
280
+ vace_has_mask: 'False'
281
+ net_discriminator_head: null
282
+ net_fake_score:
283
+ _target_: <class 'cosmos_transfer2._src.transfer2.networks.minimal_v4_lvg_dit_control_vace.MinimalV4LVGControlVaceDiT'>
284
+ adaln_lora_dim: '256'
285
+ atten_backend: minimal_a2a
286
+ concat_padding_mask: 'True'
287
+ condition_strategy: spaced
288
+ crossattn_emb_channels: '1024'
289
+ crossattn_proj_in_channels: '100352'
290
+ extra_per_block_abs_pos_emb: 'False'
291
+ in_channels: '16'
292
+ max_frames: '128'
293
+ max_img_h: '240'
294
+ max_img_w: '240'
295
+ mlp_ratio: '4.0'
296
+ model_channels: '2048'
297
+ num_blocks: '28'
298
+ num_control_branches: '1'
299
+ num_heads: '16'
300
+ num_max_modalities: '8'
301
+ out_channels: '16'
302
+ patch_spatial: '2'
303
+ patch_temporal: '1'
304
+ pos_emb_cls: rope3d
305
+ pos_emb_interpolation: crop
306
+ pos_emb_learnable: 'True'
307
+ rope_enable_fps_modulation: 'False'
308
+ rope_h_extrapolation_ratio: '3.0'
309
+ rope_t_extrapolation_ratio: '1.0'
310
+ rope_w_extrapolation_ratio: '3.0'
311
+ sac_config:
312
+ every_n_blocks: 1
313
+ mode: predict2_2b_720_aggressive
314
+ separate_embedders: 'False'
315
+ spatial_compression_factor: '8'
316
+ timestep_scale: '1.0'
317
+ use_adaln_lora: 'True'
318
+ use_after_proj_for_multi_branch: 'True'
319
+ use_crossattn_projection: 'True'
320
+ use_cuda_graphs: 'False'
321
+ use_input_hint_block: 'False'
322
+ use_wan_fp32_strategy: 'True'
323
+ vace_block_every_n: '7'
324
+ vace_has_mask: 'False'
325
+ net_teacher:
326
+ _target_: <class 'cosmos_transfer2._src.transfer2.networks.minimal_v4_lvg_dit_control_vace.MinimalV4LVGControlVaceDiT'>
327
+ adaln_lora_dim: '256'
328
+ atten_backend: minimal_a2a
329
+ concat_padding_mask: 'True'
330
+ condition_strategy: spaced
331
+ crossattn_emb_channels: '1024'
332
+ crossattn_proj_in_channels: '100352'
333
+ extra_per_block_abs_pos_emb: 'False'
334
+ in_channels: '16'
335
+ max_frames: '128'
336
+ max_img_h: '240'
337
+ max_img_w: '240'
338
+ mlp_ratio: '4.0'
339
+ model_channels: '2048'
340
+ num_blocks: '28'
341
+ num_control_branches: '1'
342
+ num_heads: '16'
343
+ num_max_modalities: '8'
344
+ out_channels: '16'
345
+ patch_spatial: '2'
346
+ patch_temporal: '1'
347
+ pos_emb_cls: rope3d
348
+ pos_emb_interpolation: crop
349
+ pos_emb_learnable: 'True'
350
+ rope_enable_fps_modulation: 'False'
351
+ rope_h_extrapolation_ratio: '3.0'
352
+ rope_t_extrapolation_ratio: '1.0'
353
+ rope_w_extrapolation_ratio: '3.0'
354
+ sac_config:
355
+ every_n_blocks: 1
356
+ mode: predict2_2b_720_aggressive
357
+ separate_embedders: 'False'
358
+ spatial_compression_factor: '8'
359
+ timestep_scale: '1.0'
360
+ use_adaln_lora: 'True'
361
+ use_after_proj_for_multi_branch: 'True'
362
+ use_crossattn_projection: 'True'
363
+ use_cuda_graphs: 'False'
364
+ use_input_hint_block: 'False'
365
+ use_wan_fp32_strategy: 'True'
366
+ vace_block_every_n: '7'
367
+ vace_has_mask: 'False'
368
+ noise_level_parameterization: trigflow
369
+ optimizer_discriminator_config:
370
+ _target_: <function get_base_optimizer at 0x7f12bfd4dcf0>
371
+ betas:
372
+ - '0.9'
373
+ - '0.999'
374
+ capturable: 'True'
375
+ eps: 1e-08
376
+ lr: 2e-07
377
+ master_weights: 'True'
378
+ model: null
379
+ optim_type: fusedadam
380
+ weight_decay: '0.01'
381
+ optimizer_fake_score_config:
382
+ _target_: <function get_base_optimizer at 0x7f12bfd4dcf0>
383
+ betas:
384
+ - '0.9'
385
+ - '0.999'
386
+ capturable: 'True'
387
+ eps: 1e-08
388
+ lr: 2e-07
389
+ master_weights: 'True'
390
+ model: null
391
+ optim_type: fusedadam
392
+ weight_decay: '0.01'
393
+ precision: bfloat16
394
+ rectified_flow_loss_weight_uniform: false
395
+ rectified_flow_t_scaling_factor: 1.0
396
+ replace_cond_output_with_gt: true
397
+ resolution: '720'
398
+ scaling: rectified_flow
399
+ sde:
400
+ _target_: <class 'cosmos_transfer2._src.imaginaire.modules.edm_sde.EDMSDE'>
401
+ p_mean: '-0.8'
402
+ p_std: '1.6'
403
+ sigma_max: '80'
404
+ sigma_min: '0.0002'
405
+ sde_D:
406
+ _target_: <class 'cosmos_transfer2._src.imaginaire.modules.edm_sde.EDMSDE'>
407
+ p_mean: '0.0'
408
+ p_std: '1.6'
409
+ sigma_max: '80'
410
+ sigma_min: '0.0002'
411
+ selected_sampling_time:
412
+ - 1.5707963267948966
413
+ - 1.5042281630190728
414
+ - 1.373400766945016
415
+ - 1.0303768265243125
416
+ sigma_conditional: 0.0001
417
+ sigma_data: 1.0
418
+ state_ch: 16
419
+ state_t: 24
420
+ student_load_from: null
421
+ student_update_freq: 5
422
+ teacher_guidance: 3.0
423
+ teacher_load_from:
424
+ credentials: credentials/s3_checkpoint.secret
425
+ load_path: s3://bucket/cosmos_transfer2/vid2vid_2B_control/edge_720p_t24_spaced_layer4_cr1pt1_sdev2_lowsigma0.05_nonuniform_hqv3p1_20250714_64N_rectified_flow/checkpoints/iter_000029000/model
426
+ text_encoder_class: reason1p1_7B
427
+ text_encoder_config:
428
+ ckpt_path: s3://bucket/cosmos_reasoning1/sft_exp700/sft_exp721-1_qwen7b_tl_721_5vs5_s3_balanced_n32_resume_16k/checkpoints/iter_000016000/model/
429
+ compute_online: true
430
+ embedding_concat_strategy: full_concat
431
+ model_config:
432
+ _target_: <class 'cosmos_transfer2._src.predict2.text_encoders.reason1.QwenVLBaseModel'>
433
+ model_config:
434
+ _target_: cosmos_transfer2._src.reason1.configs.default.model_config_qwen.QwenModelConfig
435
+ activation_checkpoint:
436
+ mode: selective
437
+ models: vlm
438
+ selective_ac_option: op
439
+ add_answer_tag: 'True'
440
+ add_cross_attention: 'False'
441
+ add_image_start_end_tag: 'False'
442
+ add_tile_tag: 'False'
443
+ architectures:
444
+ - Qwen2_5_VLForConditionalGeneration
445
+ attention_dropout: '0.0'
446
+ attn_implementation: flash_attention_2
447
+ attn_implementation_autoset: 'True'
448
+ aux_loss_coeff: '0.0'
449
+ bad_words_ids: null
450
+ begin_suppress_tokens: null
451
+ bos_token_id: '151643'
452
+ cache_dir: null
453
+ checkpoint:
454
+ async_mode: disabled
455
+ create_seed_checkpoint: false
456
+ enable_checkpoint: false
457
+ export_dtype: float32
458
+ folder: checkpoint
459
+ interval: 500
460
+ interval_type: steps
461
+ model_weights_only: false
462
+ chunk_size_feed_forward: '0'
463
+ ckpt_dir: null
464
+ ckpt_path: null
465
+ comm:
466
+ init_timeout_seconds: 300
467
+ trace_buf_size: 20000
468
+ train_timeout_seconds: 100
469
+ cp_size: null
470
+ cross_attention_hidden_size: null
471
+ decoder_start_token_id: null
472
+ deterministic: 'False'
473
+ diversity_penalty: '0.0'
474
+ do_sample: 'False'
475
+ early_stopping: 'False'
476
+ encoder_no_repeat_ngram_size: '0'
477
+ eos_token_id: '151645'
478
+ ep_size: null
479
+ experimental:
480
+ enable_async_tensor_parallel: false
481
+ enable_compiled_autograd: false
482
+ pipeline_parallel_degree: 1
483
+ exponential_decay_length_penalty: null
484
+ finetuning_task: null
485
+ float8:
486
+ enable_float8_linear: false
487
+ forced_bos_token_id: null
488
+ forced_eos_token_id: null
489
+ freeze_llm: 'False'
490
+ freeze_mm_projector: 'False'
491
+ freeze_vision_encoder: 'False'
492
+ fsdp_enabled: 'False'
493
+ hidden_act: silu
494
+ hidden_size: '3584'
495
+ id2label:
496
+ 0: LABEL_0
497
+ 1: LABEL_1
498
+ image_token_id: '151655'
499
+ initializer_range: '0.02'
500
+ intermediate_size: '18944'
501
+ is_decoder: 'False'
502
+ is_encoder_decoder: 'False'
503
+ label2id:
504
+ LABEL_0: '0'
505
+ LABEL_1: '1'
506
+ length_penalty: '1.0'
507
+ loss_per_token: 'True'
508
+ max_batch_size: '1'
509
+ max_length: '20'
510
+ max_position_embeddings: '128000'
511
+ max_seq_len: '128000'
512
+ max_window_layers: '28'
513
+ min_length: '0'
514
+ mm_projector: null
515
+ model_type: qwen2_5_vl
516
+ name_or_path: Qwen/Qwen2.5-VL-7B-Instruct
517
+ no_repeat_ngram_size: '0'
518
+ num_attention_heads: '28'
519
+ num_beam_groups: '1'
520
+ num_beams: '1'
521
+ num_hidden_layers: '28'
522
+ num_key_value_heads: '4'
523
+ num_return_sequences: '1'
524
+ num_tiles: '1'
525
+ optimizer:
526
+ early_step_in_backward: false
527
+ end_lr: 2.5e-05
528
+ fused: false
529
+ init_lr: 1.0e-05
530
+ lr: 0.0003
531
+ lr_multiplier_llm: 1.0
532
+ lr_multiplier_mm_projector: 1.0
533
+ lr_multiplier_vision_encoder: 0.1
534
+ name: AdamW
535
+ output_attentions: 'False'
536
+ output_hidden_states: 'True'
537
+ output_scores: 'False'
538
+ pad_token_id: null
539
+ precision: bfloat16
540
+ prefix: null
541
+ prepend_padding: 'False'
542
+ problem_type: null
543
+ pruned_heads: _Nothing.NOTHING
544
+ remove_invalid_values: 'False'
545
+ repetition_penalty: '1.0'
546
+ return_dict: 'True'
547
+ return_dict_in_generate: 'False'
548
+ rms_norm_eps: 1e-06
549
+ rope_scaling:
550
+ mrope_section:
551
+ - '16'
552
+ - '24'
553
+ - '24'
554
+ rope_type: default
555
+ type: default
556
+ rope_theta: '1000000.0'
557
+ s3_credential_path: credentials/pbss_dir.secret
558
+ seed: '0'
559
+ sep_token_id: null
560
+ sliding_window: '32768'
561
+ suppress_tokens: null
562
+ task_specific_params: null
563
+ temperature: '1.0'
564
+ tf_legacy_loss: 'False'
565
+ tie_encoder_decoder: 'False'
566
+ tie_word_embeddings: 'False'
567
+ tile_tag_type: space_separated
568
+ tokenizer_class: null
569
+ tokenizer_type: Qwen/Qwen2.5-VL-7B-Instruct
570
+ top_k: '50'
571
+ top_p: '1.0'
572
+ torch_dtype: bfloat16
573
+ torchscript: 'False'
574
+ training:
575
+ compile: false
576
+ context_parallel_degree: 1
577
+ data_parallel_replicate_degree: 1
578
+ data_parallel_shard_degree: -1
579
+ disable_loss_parallel: false
580
+ enable_cpu_offload: false
581
+ fsdp_reshard_after_forward: default
582
+ mixed_precision_param: bfloat16
583
+ mixed_precision_reduce: float32
584
+ steps: 400000
585
+ tensor_parallel_degree: 1
586
+ use_cosine_decay: false
587
+ use_linear_decay: true
588
+ warmup_steps: 1000
589
+ training_seq_len: '4096'
590
+ transformers_version: 4.51.0.dev0
591
+ typical_p: '1.0'
592
+ use_bfloat16: 'False'
593
+ use_cache: 'False'
594
+ use_fsdp2: 'True'
595
+ use_return_dict: 'True'
596
+ use_rope_from_torchtitan: 'False'
597
+ use_sliding_window: 'False'
598
+ video_token_id: '151656'
599
+ vision_config:
600
+ _target_: cosmos_transfer2._src.reason1.configs.default.model_config_qwen.QwenVisionConfig
601
+ add_cross_attention: 'False'
602
+ architectures: null
603
+ attn_implementation: flash_attention_2
604
+ attn_implementation_autoset: 'True'
605
+ bad_words_ids: null
606
+ begin_suppress_tokens: null
607
+ bos_token_id: null
608
+ chunk_size_feed_forward: '0'
609
+ cross_attention_hidden_size: null
610
+ decoder_start_token_id: null
611
+ depth: '32'
612
+ diversity_penalty: '0.0'
613
+ do_sample: 'False'
614
+ early_stopping: 'False'
615
+ embed_dim: null
616
+ encoder_no_repeat_ngram_size: '0'
617
+ eos_token_id: null
618
+ exponential_decay_length_penalty: null
619
+ finetuning_task: null
620
+ forced_bos_token_id: null
621
+ forced_eos_token_id: null
622
+ fullatt_block_indexes:
623
+ - '7'
624
+ - '15'
625
+ - '23'
626
+ - '31'
627
+ hidden_act: silu
628
+ hidden_size: '1280'
629
+ id2label:
630
+ 0: LABEL_0
631
+ 1: LABEL_1
632
+ in_channels: '3'
633
+ in_chans: '3'
634
+ intermediate_size: '3420'
635
+ is_decoder: 'False'
636
+ is_encoder_decoder: 'False'
637
+ label2id:
638
+ LABEL_0: '0'
639
+ LABEL_1: '1'
640
+ length_penalty: '1.0'
641
+ max_length: '20'
642
+ min_length: '0'
643
+ mlp_ratio: null
644
+ model_type: qwen2_5_vl
645
+ name_or_path: ''
646
+ no_repeat_ngram_size: '0'
647
+ num_beam_groups: '1'
648
+ num_beams: '1'
649
+ num_heads: '16'
650
+ num_return_sequences: '1'
651
+ out_hidden_size: '3584'
652
+ output_attentions: 'False'
653
+ output_hidden_states: 'False'
654
+ output_scores: 'False'
655
+ pad_token_id: null
656
+ patch_size: '14'
657
+ prefix: null
658
+ problem_type: null
659
+ pruned_heads: _Nothing.NOTHING
660
+ remove_invalid_values: 'False'
661
+ repetition_penalty: '1.0'
662
+ return_dict: 'True'
663
+ return_dict_in_generate: 'False'
664
+ sep_token_id: null
665
+ spatial_merge_size: '2'
666
+ spatial_patch_size: '14'
667
+ suppress_tokens: null
668
+ task_specific_params: null
669
+ temperature: '1.0'
670
+ temporal_patch_size: '2'
671
+ tf_legacy_loss: 'False'
672
+ tie_encoder_decoder: 'False'
673
+ tie_word_embeddings: 'True'
674
+ tokenizer_class: null
675
+ tokens_per_second: '2'
676
+ top_k: '50'
677
+ top_p: '1.0'
678
+ torch_dtype: bfloat16
679
+ torchscript: 'False'
680
+ typical_p: '1.0'
681
+ use_bfloat16: 'False'
682
+ window_size: '112'
683
+ vision_encoder: openai/clip-vit-base-patch32
684
+ vision_encoder_config:
685
+ depth_init: true
686
+ dim: 1024
687
+ ffn_dim_multiplier: null
688
+ head_dim: null
689
+ hidden_act: null
690
+ hidden_dim: 4096
691
+ image_size: 1024
692
+ image_token_id: null
693
+ multiple_of: null
694
+ n_heads: 16
695
+ n_kv_heads: null
696
+ n_layers: 24
697
+ norm_eps: 1.0e-05
698
+ norm_type: rmsnorm
699
+ num_channels: 3
700
+ patch_size: 16
701
+ proj_bias: null
702
+ qkv_bias: null
703
+ rope_theta: 10000.0
704
+ use_cache: false
705
+ use_rope_from_torchtitan: false
706
+ vision_encoder_in_channels: '3'
707
+ vision_end_token_id: '151653'
708
+ vision_start_token_id: '151652'
709
+ vision_token_id: '151654'
710
+ vocab_size: '152064'
711
+ z_loss_coeff: '0.0'
712
+ tokenizer:
713
+ _target_: <function build_tokenizer at 0x7f12c43ef9a0>
714
+ cache_dir: null
715
+ tokenizer_type: Qwen/Qwen2.5-VL-7B-Instruct
716
+ n_layers_per_group: 5
717
+ s3_credential_path: credentials/s3_checkpoint.secret
718
+ timestep_shift: 5.0
719
+ tokenizer:
720
+ _target_: <class 'cosmos_transfer2._src.predict2.tokenizers.wan2pt1.Wan2pt1VAEInterface'>
721
+ chunk_duration: '81'
722
+ load_mean_std: 'False'
723
+ name: wan2pt1_tokenizer
724
+ use_clean_cond_timesteps: true
725
+ use_neg_prompt_str: false
726
+ use_torch_compile: false
727
+ vis_debug: false
728
+ warmup_steps: 1
729
+ model_parallel:
730
+ _cpu_offloading_context: null
731
+ async_tensor_model_parallel_allreduce: false
732
+ autocast_dtype: torch.float32
733
+ barrier_with_L1_time: true
734
+ batch_p2p_comm: true
735
+ batch_p2p_sync: true
736
+ bf16: false
737
+ context_parallel_size: 4
738
+ cpu_offloading: false
739
+ cpu_offloading_activations: true
740
+ cpu_offloading_double_buffering: false
741
+ cpu_offloading_num_layers: 0
742
+ cpu_offloading_weights: true
743
+ cross_entropy_fusion_impl: native
744
+ cross_entropy_loss_fusion: false
745
+ deallocate_pipeline_outputs: false
746
+ defer_embedding_wgrad_compute: false
747
+ delay_wgrad_compute: false
748
+ deterministic_mode: false
749
+ enable_autocast: false
750
+ expert_model_parallel_size: 1
751
+ expert_tensor_parallel_size: 1
752
+ finalize_model_grads_func: null
753
+ fp16: false
754
+ grad_scale_func: null
755
+ grad_sync_func: null
756
+ gradient_accumulation_fusion: false
757
+ hierarchical_context_parallel_sizes: null
758
+ microbatch_group_size_per_vp_stage: 1
759
+ moe_extended_tp: false
760
+ no_sync_func: null
761
+ num_microbatches_with_partial_activation_checkpoints: null
762
+ overlap_moe_expert_parallel_comm: false
763
+ overlap_p2p_comm: false
764
+ overlap_p2p_comm_warmup_flush: false
765
+ param_sync_func: null
766
+ params_dtype: torch.float32
767
+ perform_initialization: true
768
+ pipeline_dtype: null
769
+ pipeline_model_parallel_comm_backend: null
770
+ pipeline_model_parallel_size: 1
771
+ sequence_parallel: false
772
+ tensor_model_parallel_size: 1
773
+ timers: null
774
+ tp_comm_atomic_ag: false
775
+ tp_comm_atomic_rs: false
776
+ tp_comm_bootstrap_backend: nccl
777
+ tp_comm_bulk_dgrad: true
778
+ tp_comm_bulk_wgrad: true
779
+ tp_comm_overlap: false
780
+ tp_comm_overlap_ag: true
781
+ tp_comm_overlap_disable_fc1: false
782
+ tp_comm_overlap_disable_qkv: false
783
+ tp_comm_overlap_rs: true
784
+ tp_comm_overlap_rs_dgrad: false
785
+ tp_comm_split_ag: true
786
+ tp_comm_split_rs: true
787
+ use_cpu_initialization: false
788
+ use_ring_exchange_p2p: false
789
+ use_te_rng_tracker: false
790
+ variable_seq_lengths: false
791
+ virtual_pipeline_model_parallel_size: null
792
+ wgrad_deferral_limit: 0
793
+ optimizer:
794
+ _target_: <function get_base_optimizer at 0x7f12bfd4dcf0>
795
+ betas:
796
+ - '0.9'
797
+ - '0.999'
798
+ capturable: 'True'
799
+ eps: 1e-08
800
+ lr: 1e-06
801
+ master_weights: 'True'
802
+ model: null
803
+ optim_type: fusedadam
804
+ weight_decay: '0.01'
805
+ scheduler:
806
+ _target_: <class 'cosmos_transfer2._src.imaginaire.functional.lr_scheduler.LambdaLinearScheduler'>
807
+ cycle_lengths:
808
+ - '400000'
809
+ f_max:
810
+ - '0.99'
811
+ f_min:
812
+ - '0.4'
813
+ f_start:
814
+ - 1e-06
815
+ verbosity_interval: '0'
816
+ warm_up_steps:
817
+ - '100'
818
+ trainer:
819
+ callbacks:
820
+ compile_tokenizer:
821
+ _target_: <class 'cosmos_transfer2._src.predict2.callbacks.compile_tokenizer.CompileTokenizer'>
822
+ compile_after_iterations: '4'
823
+ dynamic: 'False'
824
+ enabled: 'True'
825
+ dataloader_speed:
826
+ _target_: <class 'cosmos_transfer2._src.predict2.callbacks.dataloading_monitor.DetailedDataLoadingSpeedMonitor'>
827
+ every_n: '10'
828
+ save_s3: 'True'
829
+ step_size: '1'
830
+ device_monitor:
831
+ _target_: <class 'cosmos_transfer2._src.predict2.callbacks.device_monitor.DeviceMonitor'>
832
+ every_n: '10'
833
+ log_memory_detail: 'True'
834
+ save_s3: 'True'
835
+ step_size: '1'
836
+ upload_every_n_mul: '10'
837
+ every_n_sample_ema:
838
+ _target_: <class 'cosmos_transfer2._src.interactive.callbacks.every_n_draw_sample_distilled.EveryNDrawSample'>
839
+ do_sample_val_prompts: 'True'
840
+ every_n: '250'
841
+ is_ema: 'True'
842
+ is_image: 'False'
843
+ is_sample: 'True'
844
+ n_sample_to_save: '128'
845
+ num_prompts: '4'
846
+ num_samples_per_prompt: '3'
847
+ num_sampling_step: '4'
848
+ num_sampling_step_teacher: '35'
849
+ save_s3: 'True'
850
+ show_all_frames: 'False'
851
+ step_size: '1'
852
+ use_negative_prompt: 'False'
853
+ every_n_sample_reg:
854
+ _target_: <class 'cosmos_transfer2._src.interactive.callbacks.every_n_draw_sample_distilled.EveryNDrawSample'>
855
+ do_sample_val_prompts: 'True'
856
+ every_n: '250'
857
+ is_ema: 'False'
858
+ is_image: 'False'
859
+ is_sample: 'True'
860
+ n_sample_to_save: '128'
861
+ num_prompts: '4'
862
+ num_samples_per_prompt: '3'
863
+ num_sampling_step: '4'
864
+ num_sampling_step_teacher: '35'
865
+ save_s3: 'True'
866
+ show_all_frames: 'False'
867
+ step_size: '1'
868
+ use_negative_prompt: 'False'
869
+ grad_clip:
870
+ _target_: <class 'cosmos_transfer2._src.predict2.callbacks.grad_clip.GradClip'>
871
+ clip_norm: '1.0'
872
+ force_finite: 'True'
873
+ heart_beat:
874
+ _target_: <class 'cosmos_transfer2._src.predict2.callbacks.heart_beat.HeartBeat'>
875
+ every_n: '10'
876
+ save_s3: 'True'
877
+ step_size: '1'
878
+ update_interval_in_minute: '20'
879
+ iter_speed:
880
+ _target_: <class 'cosmos_transfer2._src.predict2.callbacks.iter_speed.IterSpeed'>
881
+ every_n: '10'
882
+ hit_thres: '100'
883
+ save_s3: 'True'
884
+ save_s3_every_log_n: '10'
885
+ low_prec:
886
+ _target_: <class 'cosmos_transfer2._src.imaginaire.utils.callback.LowPrecisionCallback'>
887
+ config: null
888
+ trainer: null
889
+ update_iter: '1'
890
+ manual_gc:
891
+ _target_: <class 'cosmos_transfer2._src.imaginaire.callbacks.manual_gc.ManualGarbageCollection'>
892
+ every_n: '5'
893
+ warm_up: '5'
894
+ wandb:
895
+ _target_: <class 'cosmos_transfer2._src.interactive.callbacks.wandb_log_rcm.WandbCallback'>
896
+ logging_iter_multipler: '1'
897
+ save_logging_iter_multipler: '10'
898
+ save_s3: 'True'
899
+ wandb_10x:
900
+ _target_: <class 'cosmos_transfer2._src.interactive.callbacks.wandb_log_rcm.WandbCallback'>
901
+ logging_iter_multipler: '10'
902
+ save_logging_iter_multipler: '1'
903
+ save_s3: 'True'
904
+ compile_config:
905
+ recompile_limit: '8'
906
+ use_duck_shape: 'True'
907
+ cudnn:
908
+ benchmark: 'True'
909
+ deterministic: 'False'
910
+ ddp:
911
+ broadcast_buffers: 'True'
912
+ find_unused_parameters: 'False'
913
+ static_graph: 'True'
914
+ distributed_parallelism: fsdp
915
+ grad_accum_iter: '1'
916
+ grad_scaler_args:
917
+ enabled: 'False'
918
+ logging_iter: '10'
919
+ max_iter: '30000'
920
+ max_val_iter: null
921
+ memory_format: torch.preserve_format
922
+ profiling:
923
+ enable_memory_snapshot: 'False'
924
+ enable_profiling: 'False'
925
+ profile_freq: '1'
926
+ profile_memory: 'False'
927
+ record_shape: 'False'
928
+ save_s3: 'False'
929
+ target_ranks:
930
+ - '0'
931
+ - '1'
932
+ - '2'
933
+ - '3'
934
+ - '4'
935
+ - '5'
936
+ - '6'
937
+ - '7'
938
+ with_modules: 'True'
939
+ with_stack: 'True'
940
+ run_validation: 'False'
941
+ run_validation_on_start: 'False'
942
+ seed: '0'
943
+ straggler_detection:
944
+ analyze_backward: 'True'
945
+ analyze_dataloading: 'True'
946
+ analyze_forward: 'True'
947
+ analyze_optimizer: 'True'
948
+ enabled: 'False'
949
+ max_diff: '2.0'
950
+ profile_freq: '1'
951
+ raise_error: 'True'
952
+ report_freq: '100'
953
+ timeout_period: '999999999'
954
+ type: <class 'cosmos_transfer2._src.interactive.trainer.trainer_distillation.ImaginaireDistillationTrainer'>
955
+ validation_iter: '100'
956
+ upload_reproducible_setup: 'True'
test/rainy/weather/distilled_step4_bg0.1_rm0.5/console.log ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [06-21 23:11:02|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:297:download] Downloading checkpoint nvidia/Cosmos-Predict2.5-2B/robot/action-cond(38c6c645-7d41-4560-8eeb-6f4ddc0e6574)
2
+ [06-21 23:11:02|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:165:_hf_download] uvx 'hf>=1.3.5' download nvidia/Cosmos-Predict2.5-2B --repo-type model --revision main robot/action-cond/38c6c645-7d41-4560-8eeb-6f4ddc0e6574_ema_bf16.pt
3
+ [06-21 23:11:03|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:297:download] Downloading checkpoint Qwen/Qwen2.5-VL-7B-Instruct(7219c6c7-f878-4137-bbdb-76842ea85e70)
4
+ [06-21 23:11:03|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:165:_hf_download] uvx 'hf>=1.3.5' download nvidia/Cosmos-Reason1-7B --repo-type model --revision 3210bec0495fdc7a8d3dbb8d58da5711eab4b423 --include '*'
5
+ [06-21 23:11:04|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:297:download] Downloading checkpoint nvidia/Cosmos-Reason1.1-7B(cb3e3ffa-7b08-4c34-822d-61c7aa31a14f)
6
+ [06-21 23:11:04|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:165:_hf_download] uvx 'hf>=1.3.5' download nvidia/Cosmos-Reason1-7B --repo-type model --revision 3210bec0495fdc7a8d3dbb8d58da5711eab4b423 --include '*'
7
+ [06-21 23:11:08|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:297:download] Downloading checkpoint Wan2.1/vae(685afcaa-4de2-42fe-b7b9-69f7a2dee4d8)
8
+ [06-21 23:11:08|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:165:_hf_download] uvx 'hf>=1.3.5' download nvidia/Cosmos-Predict2.5-2B --repo-type model --revision f176dc95b4a70f53ce01c4b302851595e7322b00 tokenizer.pth
9
+ [06-21 23:11:11|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:297:download] Downloading checkpoint nvidia/Cosmos-Transfer2.5-2B/distilled/edge(41f07f13-f2e4-4e34-ba4c-86f595acbc20)
10
+ [06-21 23:11:11|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:165:_hf_download] uvx 'hf>=1.3.5' download nvidia/Cosmos-Transfer2.5-2B --repo-type model --revision bbaeedb2b57cc8b14a44653099e2551adb69dcc7 distilled/general/edge/41f07f13-f2e4-4e34-ba4c-86f595acbc20_ema_bf16.pt
11
+ [06-21 23:11:35|INFO|cosmos_transfer2/inference.py:139:__init__] Setting net_fake_score to None for distilled model inference
12
+ [06-21 23:11:35|INFO|cosmos_transfer2/inference.py:146:__init__] Found 1 hint keys across all samples
13
+ [06-21 23:11:35|INFO|cosmos_transfer2/inference.py:156:__init__] Saved config to /scratch/ssaha/cosmos-transfer2.5/outputs/edge_threshold_grid/rainy/weather/distilled_step4_bg0.1_rm0.5/config.yaml
14
+ [06-21 23:11:35|INFO|cosmos_transfer2/inference.py:163:generate] Generating 1 samples: ['rainy_weather_distilled_step4_bg0.1_rm0.5']
15
+ [06-21 23:11:35|INFO|cosmos_transfer2/inference.py:167:generate] [1/1] Processing sample rainy_weather_distilled_step4_bg0.1_rm0.5
16
+ [06-21 23:11:35|INFO|cosmos_transfer2/inference.py:208:_generate_sample] Saved arguments to /scratch/ssaha/cosmos-transfer2.5/outputs/edge_threshold_grid/rainy/weather/distilled_step4_bg0.1_rm0.5/rainy_weather_distilled_step4_bg0.1_rm0.5.json
17
+ [06-21 23:11:35|WARNING|cosmos_transfer2/inference.py:239:_generate_sample] Guardrail checks on prompt are disabled
18
+ [06-21 23:11:35|INFO|cosmos_transfer2/inference.py:242:_generate_sample] Processing the following paths: {'edge': '/scratch/ssaha/cosmos-transfer2.5/outputs/edge_threshold_grid/_edges/rainy/edge_bg0.1_rm0.5.mp4', 'edge_mask': None, 'edge_mask_prompt': None}
19
+ [06-21 23:12:44|WARNING|cosmos_transfer2/inference.py:299:_generate_sample] Generated output has 120 frames (> 93). The distilled Transfer 2.5 model is not trained to support auto-regressive generation
20
+ [06-21 23:12:45|INFO|cosmos_transfer2/inference.py:311:_generate_sample] edge control video saved to /scratch/ssaha/cosmos-transfer2.5/outputs/edge_threshold_grid/rainy/weather/distilled_step4_bg0.1_rm0.5/rainy_weather_distilled_step4_bg0.1_rm0.5_control_edge.mp4
21
+ [06-21 23:12:45|WARNING|cosmos_transfer2/inference.py:335:_generate_sample] Guardrail checks on video are disabled
22
+ [06-21 23:12:47|SUCCESS|cosmos_transfer2/inference.py:343:_generate_sample] Generated video saved to /scratch/ssaha/cosmos-transfer2.5/outputs/edge_threshold_grid/rainy/weather/distilled_step4_bg0.1_rm0.5/rainy_weather_distilled_step4_bg0.1_rm0.5.mp4
test/rainy/weather/distilled_step4_bg0.1_rm0.5/debug.log ADDED
The diff for this file is too large to render. See raw diff
 
test/rainy/weather/distilled_step4_bg0.1_rm0.5/rainy_weather_distilled_step4_bg0.1_rm0.5.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"name":"rainy_weather_distilled_step4_bg0.1_rm0.5","prompt_path":null,"prompt":"The video shows an urban intersection captured from a vehicle-mounted camera during heavy rain. A flat overcast grey sky hangs low over the scene, the asphalt is dark, wet and mirror-like with rippling puddles and reflections of the surroundings, rain streaks the air and droplets bead on surfaces. The painted lane markings, stop lines and pedestrian crosswalks show through the glossy wet road. Multiple vehicles move through the junction with headlights on, low-rise buildings, sidewalks and street lamps line the streets, and the camera follows the moving ego vehicle smoothly. Photorealistic, moody overcast lighting, detail.","negative_prompt":"The video captures a game playing, with bad crappy graphics and cartoonish frames. It represents a recording of old outdated games. The lighting looks very fake. The textures are very raw and basic. The geometries are very primitive. The images are very pixelated and of poor CG quality. There are many subtitles in the footage. Overall, the video is unrealistic at all. Bright sunlight, blue sky, dry road, hard crisp shadows.","seed":2025,"guidance":3,"video_path":"/scratch/ssaha/cosmos-transfer2.5/SceneDriveBench/output/priority_from_right/run_000_rainy/videos/rgb_front.mp4","max_frames":null,"context_frame_index":null,"image_context_path":null,"num_conditional_frames":1,"resolution":"720","sigma_max":null,"num_video_frames_per_chunk":93,"num_steps":4,"show_control_condition":false,"show_input":false,"keep_input_resolution":true,"edge":{"control_path":"/scratch/ssaha/cosmos-transfer2.5/outputs/edge_threshold_grid/_edges/rainy/edge_bg0.1_rm0.5.mp4","control_weight":1.0,"mask_path":null,"mask_prompt":null,"preset_edge_threshold":"medium"},"depth":null,"vis":null,"seg":null,"guided_generation_mask":null,"guided_generation_step_threshold":25,"guided_generation_foreground_labels":null}
test/rainy/weather/distilled_step4_bg0.1_rm0.5/rainy_weather_distilled_step4_bg0.1_rm0.5.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6510fb1d6cb36f75793fb17f394bf51346b6f9eba745cabd286229b44ecf8734
3
+ size 1759472
test/rainy/weather/distilled_step4_bg0.1_rm0.5/rainy_weather_distilled_step4_bg0.1_rm0.5.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ The video shows an urban intersection captured from a vehicle-mounted camera during heavy rain. A flat overcast grey sky hangs low over the scene, the asphalt is dark, wet and mirror-like with rippling puddles and reflections of the surroundings, rain streaks the air and droplets bead on surfaces. The painted lane markings, stop lines and pedestrian crosswalks show through the glossy wet road. Multiple vehicles move through the junction with headlights on, low-rise buildings, sidewalks and street lamps line the streets, and the camera follows the moving ego vehicle smoothly. Photorealistic, moody overcast lighting, detail.
test/rainy/weather/distilled_step4_bg0.1_rm0.5/rainy_weather_distilled_step4_bg0.1_rm0.5_control_edge.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3b13dda75a5cbf5da04e23bb5065f322fbb4eaa90ab11b6843fc65867ba80d54
3
+ size 1241555
test/rainy/weather/distilled_step4_bg0.1_rm0.5/spec.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "rainy_weather_distilled_step4_bg0.1_rm0.5",
3
+ "prompt": "The video shows an urban intersection captured from a vehicle-mounted camera during heavy rain. A flat overcast grey sky hangs low over the scene, the asphalt is dark, wet and mirror-like with rippling puddles and reflections of the surroundings, rain streaks the air and droplets bead on surfaces. The painted lane markings, stop lines and pedestrian crosswalks show through the glossy wet road. Multiple vehicles move through the junction with headlights on, low-rise buildings, sidewalks and street lamps line the streets, and the camera follows the moving ego vehicle smoothly. Photorealistic, moody overcast lighting, detail.",
4
+ "video_path": "/scratch/ssaha/cosmos-transfer2.5/SceneDriveBench/output/priority_from_right/run_000_rainy/videos/rgb_front.mp4",
5
+ "guidance": 3,
6
+ "num_steps": 4,
7
+ "seed": 2025,
8
+ "edge": {
9
+ "control_path": "/scratch/ssaha/cosmos-transfer2.5/outputs/edge_threshold_grid/_edges/rainy/edge_bg0.1_rm0.5.mp4",
10
+ "control_weight": 1.0
11
+ },
12
+ "negative_prompt": "The video captures a game playing, with bad crappy graphics and cartoonish frames. It represents a recording of old outdated games. The lighting looks very fake. The textures are very raw and basic. The geometries are very primitive. The images are very pixelated and of poor CG quality. There are many subtitles in the footage. Overall, the video is unrealistic at all. Bright sunlight, blue sky, dry road, hard crisp shadows."
13
+ }
test/rainy/weather/distilled_step4_bg0.1_rm1/config.yaml ADDED
@@ -0,0 +1,956 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ checkpoint:
2
+ broadcast_via_filesystem: 'False'
3
+ dcp_async_mode_enabled: 'False'
4
+ enable_gcs_patch_in_boto3: 'False'
5
+ jit:
6
+ device: cuda
7
+ dtype: bfloat16
8
+ enabled: 'False'
9
+ input_shape: null
10
+ strict: 'True'
11
+ keys_not_to_resume: []
12
+ keys_to_skip_loading: []
13
+ load_ema_to_reg: 'False'
14
+ load_from_object_store:
15
+ bucket: bucket
16
+ credentials: credentials/s3_checkpoint.secret
17
+ enabled: 'True'
18
+ load_path: ''
19
+ load_training_state: 'False'
20
+ only_load_scheduler_state: 'False'
21
+ save_iter: '500'
22
+ save_to_object_store:
23
+ bucket: bucket
24
+ credentials: credentials/s3_checkpoint.secret
25
+ enabled: 'True'
26
+ strict_resume: 'True'
27
+ type:
28
+ _target_: <class 'cosmos_transfer2._src.interactive.checkpointer.dcp_distill.DistributedCheckpointer'>
29
+ callbacks: null
30
+ disable_async: 'False'
31
+ verbose: 'True'
32
+ dataloader_train:
33
+ _target_: <class 'cosmos_transfer2._src.predict2.datasets.joint_dataloader.IterativeJointDataLoader'>
34
+ dataloaders:
35
+ image_data:
36
+ dataloader:
37
+ _target_: <function get_cached_replay_dataloader at 0x7f9a1dbfed40>
38
+ batch_size: '2'
39
+ cache_augment_fn: null
40
+ cache_replay_name: image_dataloader
41
+ cache_size: '32'
42
+ concat_size: '1'
43
+ dataset:
44
+ _target_: <function get_image_dataset at 0x7f9a1dbfeef0>
45
+ len_t5: '512'
46
+ resolution: '512'
47
+ t5_dim: '1024'
48
+ num_workers: '8'
49
+ pin_memory: 'True'
50
+ shuffle: 'False'
51
+ use_cache: 'False'
52
+ webdataset: 'False'
53
+ ratio: '1'
54
+ video_data:
55
+ dataloader:
56
+ _target_: <function get_cached_replay_dataloader at 0x7f9a1dbfed40>
57
+ batch_size: '1'
58
+ cache_augment_fn: null
59
+ cache_replay_name: video_dataloader
60
+ cache_size: '32'
61
+ concat_size: '1'
62
+ dataset:
63
+ _target_: <function get_video_dataset at 0x7f9a1dbff250>
64
+ len_t5: '512'
65
+ num_video_frames: '136'
66
+ resolution: '512'
67
+ t5_dim: '1024'
68
+ num_workers: '8'
69
+ pin_memory: 'True'
70
+ shuffle: 'False'
71
+ use_cache: 'False'
72
+ webdataset: 'False'
73
+ ratio: '1'
74
+ dataset:
75
+ augmentor_name: video_basic_augmentor_v2_with_control
76
+ caption_type: t2w_qwen2p5_7b
77
+ control_input_type: edge
78
+ dataset_resolution_type: gt720p
79
+ embedding_type: null
80
+ max_fps_thres: '60'
81
+ min_fps_thres: '10'
82
+ num_video_frames: '93'
83
+ resolution: '720'
84
+ use_native_fps: 'True'
85
+ video_decoder_name: video_naive_bytes
86
+ num_workers: '4'
87
+ dataloader_val: null
88
+ defaults:
89
+ - _self_
90
+ - data_train: null
91
+ - data_val: null
92
+ - optimizer: fusedadamw
93
+ - scheduler: lambdalinear
94
+ - callbacks: basic
95
+ - model: ddp
96
+ - net: null
97
+ - net_fake_score: null
98
+ - net_teacher: null
99
+ - net_discriminator_head: null
100
+ - conditioner: video_prediction_conditioner
101
+ - ema: power
102
+ - tokenizer: wan2pt1_tokenizer
103
+ - checkpoint: s3
104
+ - ckpt_type: dcp_distill
105
+ - condition_postprocessor: null
106
+ - experiment: null
107
+ job:
108
+ cluster: null
109
+ group: cosmos3_interactive
110
+ name: dmd2_trigflow_distill_cosmos_transfer2p5_2B_bidirectional_edge
111
+ project: cosmos_interactive
112
+ wandb_mode: online
113
+ model:
114
+ _recursive_: 'False'
115
+ _target_: <class 'cosmos_transfer2._src.interactive.methods.distribution_matching.dmd2.DMD2Model'>
116
+ config:
117
+ base_load_from: null
118
+ condition_postprocessor:
119
+ _target_: <class 'cosmos_transfer2._src.interactive.conditioner.condition_postprocessors.ControlConditionPostprocessor'>
120
+ hint_keys:
121
+ - edge
122
+ conditional_frames_probs:
123
+ 0: 0.6
124
+ 1: 0.2
125
+ 2: 0.2
126
+ conditioner:
127
+ _target_: <class 'cosmos_transfer2._src.transfer2.configs.vid2vid_transfer.defaults.conditioner.ControlVideo2WorldConditioner'>
128
+ control_input_depth:
129
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
130
+ dropout_rate: '0.0'
131
+ dtype: null
132
+ input_key: control_input_depth
133
+ output_key: control_input_depth
134
+ control_input_depth_mask:
135
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
136
+ dropout_rate: '0.0'
137
+ dtype: null
138
+ input_key: control_input_depth_mask
139
+ output_key: control_input_depth_mask
140
+ control_input_edge:
141
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
142
+ dropout_rate: '0.0'
143
+ dtype: null
144
+ input_key: control_input_edge
145
+ output_key: control_input_edge
146
+ control_input_edge_mask:
147
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
148
+ dropout_rate: '0.0'
149
+ dtype: null
150
+ input_key: control_input_edge_mask
151
+ output_key: control_input_edge_mask
152
+ control_input_inpaint:
153
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
154
+ dropout_rate: '0.0'
155
+ dtype: null
156
+ input_key: control_input_inpaint
157
+ output_key: control_input_inpaint
158
+ control_input_inpaint_mask:
159
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
160
+ dropout_rate: '0.0'
161
+ dtype: null
162
+ input_key: control_input_inpaint_mask
163
+ output_key: control_input_inpaint_mask
164
+ control_input_seg:
165
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
166
+ dropout_rate: '0.0'
167
+ dtype: null
168
+ input_key: control_input_seg
169
+ output_key: control_input_seg
170
+ control_input_seg_mask:
171
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
172
+ dropout_rate: '0.0'
173
+ dtype: null
174
+ input_key: control_input_seg_mask
175
+ output_key: control_input_seg_mask
176
+ control_input_vis:
177
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
178
+ dropout_rate: '0.0'
179
+ dtype: null
180
+ input_key: control_input_vis
181
+ output_key: control_input_vis
182
+ control_input_vis_mask:
183
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
184
+ dropout_rate: '0.0'
185
+ dtype: null
186
+ input_key: control_input_vis_mask
187
+ output_key: control_input_vis_mask
188
+ fps:
189
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
190
+ dropout_rate: '0.0'
191
+ dtype: null
192
+ input_key: fps
193
+ output_key: fps
194
+ padding_mask:
195
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
196
+ dropout_rate: '0.0'
197
+ dtype: null
198
+ input_key: padding_mask
199
+ output_key: padding_mask
200
+ text:
201
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.TextAttr'>
202
+ credential_path: credentials/s3_training.secret
203
+ dropout_rate: '0.2'
204
+ empty_string_embeddings_path: s3://bucket/predict2_assets/reason1_empty_string_embeddings.pt
205
+ input_key:
206
+ - t5_text_embeddings
207
+ use_empty_string: 'False'
208
+ use_video_condition:
209
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.BooleanFlag'>
210
+ dropout_rate: '0.0'
211
+ input_key: fps
212
+ output_key: use_video_condition
213
+ ema:
214
+ enabled: false
215
+ iteration_shift: 0
216
+ rate: 0.1
217
+ fsdp_shard_size: 1
218
+ grad_clip: true
219
+ input_caption_key: ai_caption
220
+ input_data_key: video
221
+ input_image_key: images
222
+ intermediate_feature_ids: null
223
+ load_teacher_weights: false
224
+ loss_reduce: mean
225
+ loss_scale_GAN_discriminator: 1.0
226
+ loss_scale_GAN_generator: 1.0
227
+ loss_scale_fake_score: 1.0
228
+ loss_scale_sid: 1.0
229
+ max_num_conditional_frames: 2
230
+ min_num_conditional_frames: 0
231
+ multiply_noise_by_video_len: true
232
+ neg_embed_path: ''
233
+ neg_prompt_str: The video captures a game playing, with bad crappy graphics and
234
+ cartoonish frames. It represents a recording of old outdated games. The lighting
235
+ looks very fake. The textures are very raw and basic. The geometries are very
236
+ primitive. The images are very pixelated and of poor CG quality. There are many
237
+ subtitles in the footage. Overall, the video is unrealistic at all.
238
+ net:
239
+ _target_: <class 'cosmos_transfer2._src.transfer2.networks.minimal_v4_lvg_dit_control_vace.MinimalV4LVGControlVaceDiT'>
240
+ adaln_lora_dim: '256'
241
+ atten_backend: minimal_a2a
242
+ concat_padding_mask: 'True'
243
+ condition_strategy: spaced
244
+ crossattn_emb_channels: '1024'
245
+ crossattn_proj_in_channels: '100352'
246
+ extra_per_block_abs_pos_emb: 'False'
247
+ in_channels: '16'
248
+ max_frames: '128'
249
+ max_img_h: '240'
250
+ max_img_w: '240'
251
+ mlp_ratio: '4.0'
252
+ model_channels: '2048'
253
+ num_blocks: '28'
254
+ num_control_branches: '1'
255
+ num_heads: '16'
256
+ num_max_modalities: '8'
257
+ out_channels: '16'
258
+ patch_spatial: '2'
259
+ patch_temporal: '1'
260
+ pos_emb_cls: rope3d
261
+ pos_emb_interpolation: crop
262
+ pos_emb_learnable: 'True'
263
+ rope_enable_fps_modulation: 'False'
264
+ rope_h_extrapolation_ratio: '3.0'
265
+ rope_t_extrapolation_ratio: '1.0'
266
+ rope_w_extrapolation_ratio: '3.0'
267
+ sac_config:
268
+ every_n_blocks: 1
269
+ mode: predict2_2b_720_aggressive
270
+ separate_embedders: 'False'
271
+ spatial_compression_factor: '8'
272
+ timestep_scale: '1.0'
273
+ use_adaln_lora: 'True'
274
+ use_after_proj_for_multi_branch: 'True'
275
+ use_crossattn_projection: 'True'
276
+ use_cuda_graphs: 'False'
277
+ use_input_hint_block: 'False'
278
+ use_wan_fp32_strategy: 'True'
279
+ vace_block_every_n: '7'
280
+ vace_has_mask: 'False'
281
+ net_discriminator_head: null
282
+ net_fake_score:
283
+ _target_: <class 'cosmos_transfer2._src.transfer2.networks.minimal_v4_lvg_dit_control_vace.MinimalV4LVGControlVaceDiT'>
284
+ adaln_lora_dim: '256'
285
+ atten_backend: minimal_a2a
286
+ concat_padding_mask: 'True'
287
+ condition_strategy: spaced
288
+ crossattn_emb_channels: '1024'
289
+ crossattn_proj_in_channels: '100352'
290
+ extra_per_block_abs_pos_emb: 'False'
291
+ in_channels: '16'
292
+ max_frames: '128'
293
+ max_img_h: '240'
294
+ max_img_w: '240'
295
+ mlp_ratio: '4.0'
296
+ model_channels: '2048'
297
+ num_blocks: '28'
298
+ num_control_branches: '1'
299
+ num_heads: '16'
300
+ num_max_modalities: '8'
301
+ out_channels: '16'
302
+ patch_spatial: '2'
303
+ patch_temporal: '1'
304
+ pos_emb_cls: rope3d
305
+ pos_emb_interpolation: crop
306
+ pos_emb_learnable: 'True'
307
+ rope_enable_fps_modulation: 'False'
308
+ rope_h_extrapolation_ratio: '3.0'
309
+ rope_t_extrapolation_ratio: '1.0'
310
+ rope_w_extrapolation_ratio: '3.0'
311
+ sac_config:
312
+ every_n_blocks: 1
313
+ mode: predict2_2b_720_aggressive
314
+ separate_embedders: 'False'
315
+ spatial_compression_factor: '8'
316
+ timestep_scale: '1.0'
317
+ use_adaln_lora: 'True'
318
+ use_after_proj_for_multi_branch: 'True'
319
+ use_crossattn_projection: 'True'
320
+ use_cuda_graphs: 'False'
321
+ use_input_hint_block: 'False'
322
+ use_wan_fp32_strategy: 'True'
323
+ vace_block_every_n: '7'
324
+ vace_has_mask: 'False'
325
+ net_teacher:
326
+ _target_: <class 'cosmos_transfer2._src.transfer2.networks.minimal_v4_lvg_dit_control_vace.MinimalV4LVGControlVaceDiT'>
327
+ adaln_lora_dim: '256'
328
+ atten_backend: minimal_a2a
329
+ concat_padding_mask: 'True'
330
+ condition_strategy: spaced
331
+ crossattn_emb_channels: '1024'
332
+ crossattn_proj_in_channels: '100352'
333
+ extra_per_block_abs_pos_emb: 'False'
334
+ in_channels: '16'
335
+ max_frames: '128'
336
+ max_img_h: '240'
337
+ max_img_w: '240'
338
+ mlp_ratio: '4.0'
339
+ model_channels: '2048'
340
+ num_blocks: '28'
341
+ num_control_branches: '1'
342
+ num_heads: '16'
343
+ num_max_modalities: '8'
344
+ out_channels: '16'
345
+ patch_spatial: '2'
346
+ patch_temporal: '1'
347
+ pos_emb_cls: rope3d
348
+ pos_emb_interpolation: crop
349
+ pos_emb_learnable: 'True'
350
+ rope_enable_fps_modulation: 'False'
351
+ rope_h_extrapolation_ratio: '3.0'
352
+ rope_t_extrapolation_ratio: '1.0'
353
+ rope_w_extrapolation_ratio: '3.0'
354
+ sac_config:
355
+ every_n_blocks: 1
356
+ mode: predict2_2b_720_aggressive
357
+ separate_embedders: 'False'
358
+ spatial_compression_factor: '8'
359
+ timestep_scale: '1.0'
360
+ use_adaln_lora: 'True'
361
+ use_after_proj_for_multi_branch: 'True'
362
+ use_crossattn_projection: 'True'
363
+ use_cuda_graphs: 'False'
364
+ use_input_hint_block: 'False'
365
+ use_wan_fp32_strategy: 'True'
366
+ vace_block_every_n: '7'
367
+ vace_has_mask: 'False'
368
+ noise_level_parameterization: trigflow
369
+ optimizer_discriminator_config:
370
+ _target_: <function get_base_optimizer at 0x7f9a6ef2dc60>
371
+ betas:
372
+ - '0.9'
373
+ - '0.999'
374
+ capturable: 'True'
375
+ eps: 1e-08
376
+ lr: 2e-07
377
+ master_weights: 'True'
378
+ model: null
379
+ optim_type: fusedadam
380
+ weight_decay: '0.01'
381
+ optimizer_fake_score_config:
382
+ _target_: <function get_base_optimizer at 0x7f9a6ef2dc60>
383
+ betas:
384
+ - '0.9'
385
+ - '0.999'
386
+ capturable: 'True'
387
+ eps: 1e-08
388
+ lr: 2e-07
389
+ master_weights: 'True'
390
+ model: null
391
+ optim_type: fusedadam
392
+ weight_decay: '0.01'
393
+ precision: bfloat16
394
+ rectified_flow_loss_weight_uniform: false
395
+ rectified_flow_t_scaling_factor: 1.0
396
+ replace_cond_output_with_gt: true
397
+ resolution: '720'
398
+ scaling: rectified_flow
399
+ sde:
400
+ _target_: <class 'cosmos_transfer2._src.imaginaire.modules.edm_sde.EDMSDE'>
401
+ p_mean: '-0.8'
402
+ p_std: '1.6'
403
+ sigma_max: '80'
404
+ sigma_min: '0.0002'
405
+ sde_D:
406
+ _target_: <class 'cosmos_transfer2._src.imaginaire.modules.edm_sde.EDMSDE'>
407
+ p_mean: '0.0'
408
+ p_std: '1.6'
409
+ sigma_max: '80'
410
+ sigma_min: '0.0002'
411
+ selected_sampling_time:
412
+ - 1.5707963267948966
413
+ - 1.5042281630190728
414
+ - 1.373400766945016
415
+ - 1.0303768265243125
416
+ sigma_conditional: 0.0001
417
+ sigma_data: 1.0
418
+ state_ch: 16
419
+ state_t: 24
420
+ student_load_from: null
421
+ student_update_freq: 5
422
+ teacher_guidance: 3.0
423
+ teacher_load_from:
424
+ credentials: credentials/s3_checkpoint.secret
425
+ load_path: s3://bucket/cosmos_transfer2/vid2vid_2B_control/edge_720p_t24_spaced_layer4_cr1pt1_sdev2_lowsigma0.05_nonuniform_hqv3p1_20250714_64N_rectified_flow/checkpoints/iter_000029000/model
426
+ text_encoder_class: reason1p1_7B
427
+ text_encoder_config:
428
+ ckpt_path: s3://bucket/cosmos_reasoning1/sft_exp700/sft_exp721-1_qwen7b_tl_721_5vs5_s3_balanced_n32_resume_16k/checkpoints/iter_000016000/model/
429
+ compute_online: true
430
+ embedding_concat_strategy: full_concat
431
+ model_config:
432
+ _target_: <class 'cosmos_transfer2._src.predict2.text_encoders.reason1.QwenVLBaseModel'>
433
+ model_config:
434
+ _target_: cosmos_transfer2._src.reason1.configs.default.model_config_qwen.QwenModelConfig
435
+ activation_checkpoint:
436
+ mode: selective
437
+ models: vlm
438
+ selective_ac_option: op
439
+ add_answer_tag: 'True'
440
+ add_cross_attention: 'False'
441
+ add_image_start_end_tag: 'False'
442
+ add_tile_tag: 'False'
443
+ architectures:
444
+ - Qwen2_5_VLForConditionalGeneration
445
+ attention_dropout: '0.0'
446
+ attn_implementation: flash_attention_2
447
+ attn_implementation_autoset: 'True'
448
+ aux_loss_coeff: '0.0'
449
+ bad_words_ids: null
450
+ begin_suppress_tokens: null
451
+ bos_token_id: '151643'
452
+ cache_dir: null
453
+ checkpoint:
454
+ async_mode: disabled
455
+ create_seed_checkpoint: false
456
+ enable_checkpoint: false
457
+ export_dtype: float32
458
+ folder: checkpoint
459
+ interval: 500
460
+ interval_type: steps
461
+ model_weights_only: false
462
+ chunk_size_feed_forward: '0'
463
+ ckpt_dir: null
464
+ ckpt_path: null
465
+ comm:
466
+ init_timeout_seconds: 300
467
+ trace_buf_size: 20000
468
+ train_timeout_seconds: 100
469
+ cp_size: null
470
+ cross_attention_hidden_size: null
471
+ decoder_start_token_id: null
472
+ deterministic: 'False'
473
+ diversity_penalty: '0.0'
474
+ do_sample: 'False'
475
+ early_stopping: 'False'
476
+ encoder_no_repeat_ngram_size: '0'
477
+ eos_token_id: '151645'
478
+ ep_size: null
479
+ experimental:
480
+ enable_async_tensor_parallel: false
481
+ enable_compiled_autograd: false
482
+ pipeline_parallel_degree: 1
483
+ exponential_decay_length_penalty: null
484
+ finetuning_task: null
485
+ float8:
486
+ enable_float8_linear: false
487
+ forced_bos_token_id: null
488
+ forced_eos_token_id: null
489
+ freeze_llm: 'False'
490
+ freeze_mm_projector: 'False'
491
+ freeze_vision_encoder: 'False'
492
+ fsdp_enabled: 'False'
493
+ hidden_act: silu
494
+ hidden_size: '3584'
495
+ id2label:
496
+ 0: LABEL_0
497
+ 1: LABEL_1
498
+ image_token_id: '151655'
499
+ initializer_range: '0.02'
500
+ intermediate_size: '18944'
501
+ is_decoder: 'False'
502
+ is_encoder_decoder: 'False'
503
+ label2id:
504
+ LABEL_0: '0'
505
+ LABEL_1: '1'
506
+ length_penalty: '1.0'
507
+ loss_per_token: 'True'
508
+ max_batch_size: '1'
509
+ max_length: '20'
510
+ max_position_embeddings: '128000'
511
+ max_seq_len: '128000'
512
+ max_window_layers: '28'
513
+ min_length: '0'
514
+ mm_projector: null
515
+ model_type: qwen2_5_vl
516
+ name_or_path: Qwen/Qwen2.5-VL-7B-Instruct
517
+ no_repeat_ngram_size: '0'
518
+ num_attention_heads: '28'
519
+ num_beam_groups: '1'
520
+ num_beams: '1'
521
+ num_hidden_layers: '28'
522
+ num_key_value_heads: '4'
523
+ num_return_sequences: '1'
524
+ num_tiles: '1'
525
+ optimizer:
526
+ early_step_in_backward: false
527
+ end_lr: 2.5e-05
528
+ fused: false
529
+ init_lr: 1.0e-05
530
+ lr: 0.0003
531
+ lr_multiplier_llm: 1.0
532
+ lr_multiplier_mm_projector: 1.0
533
+ lr_multiplier_vision_encoder: 0.1
534
+ name: AdamW
535
+ output_attentions: 'False'
536
+ output_hidden_states: 'True'
537
+ output_scores: 'False'
538
+ pad_token_id: null
539
+ precision: bfloat16
540
+ prefix: null
541
+ prepend_padding: 'False'
542
+ problem_type: null
543
+ pruned_heads: _Nothing.NOTHING
544
+ remove_invalid_values: 'False'
545
+ repetition_penalty: '1.0'
546
+ return_dict: 'True'
547
+ return_dict_in_generate: 'False'
548
+ rms_norm_eps: 1e-06
549
+ rope_scaling:
550
+ mrope_section:
551
+ - '16'
552
+ - '24'
553
+ - '24'
554
+ rope_type: default
555
+ type: default
556
+ rope_theta: '1000000.0'
557
+ s3_credential_path: credentials/pbss_dir.secret
558
+ seed: '0'
559
+ sep_token_id: null
560
+ sliding_window: '32768'
561
+ suppress_tokens: null
562
+ task_specific_params: null
563
+ temperature: '1.0'
564
+ tf_legacy_loss: 'False'
565
+ tie_encoder_decoder: 'False'
566
+ tie_word_embeddings: 'False'
567
+ tile_tag_type: space_separated
568
+ tokenizer_class: null
569
+ tokenizer_type: Qwen/Qwen2.5-VL-7B-Instruct
570
+ top_k: '50'
571
+ top_p: '1.0'
572
+ torch_dtype: bfloat16
573
+ torchscript: 'False'
574
+ training:
575
+ compile: false
576
+ context_parallel_degree: 1
577
+ data_parallel_replicate_degree: 1
578
+ data_parallel_shard_degree: -1
579
+ disable_loss_parallel: false
580
+ enable_cpu_offload: false
581
+ fsdp_reshard_after_forward: default
582
+ mixed_precision_param: bfloat16
583
+ mixed_precision_reduce: float32
584
+ steps: 400000
585
+ tensor_parallel_degree: 1
586
+ use_cosine_decay: false
587
+ use_linear_decay: true
588
+ warmup_steps: 1000
589
+ training_seq_len: '4096'
590
+ transformers_version: 4.51.0.dev0
591
+ typical_p: '1.0'
592
+ use_bfloat16: 'False'
593
+ use_cache: 'False'
594
+ use_fsdp2: 'True'
595
+ use_return_dict: 'True'
596
+ use_rope_from_torchtitan: 'False'
597
+ use_sliding_window: 'False'
598
+ video_token_id: '151656'
599
+ vision_config:
600
+ _target_: cosmos_transfer2._src.reason1.configs.default.model_config_qwen.QwenVisionConfig
601
+ add_cross_attention: 'False'
602
+ architectures: null
603
+ attn_implementation: flash_attention_2
604
+ attn_implementation_autoset: 'True'
605
+ bad_words_ids: null
606
+ begin_suppress_tokens: null
607
+ bos_token_id: null
608
+ chunk_size_feed_forward: '0'
609
+ cross_attention_hidden_size: null
610
+ decoder_start_token_id: null
611
+ depth: '32'
612
+ diversity_penalty: '0.0'
613
+ do_sample: 'False'
614
+ early_stopping: 'False'
615
+ embed_dim: null
616
+ encoder_no_repeat_ngram_size: '0'
617
+ eos_token_id: null
618
+ exponential_decay_length_penalty: null
619
+ finetuning_task: null
620
+ forced_bos_token_id: null
621
+ forced_eos_token_id: null
622
+ fullatt_block_indexes:
623
+ - '7'
624
+ - '15'
625
+ - '23'
626
+ - '31'
627
+ hidden_act: silu
628
+ hidden_size: '1280'
629
+ id2label:
630
+ 0: LABEL_0
631
+ 1: LABEL_1
632
+ in_channels: '3'
633
+ in_chans: '3'
634
+ intermediate_size: '3420'
635
+ is_decoder: 'False'
636
+ is_encoder_decoder: 'False'
637
+ label2id:
638
+ LABEL_0: '0'
639
+ LABEL_1: '1'
640
+ length_penalty: '1.0'
641
+ max_length: '20'
642
+ min_length: '0'
643
+ mlp_ratio: null
644
+ model_type: qwen2_5_vl
645
+ name_or_path: ''
646
+ no_repeat_ngram_size: '0'
647
+ num_beam_groups: '1'
648
+ num_beams: '1'
649
+ num_heads: '16'
650
+ num_return_sequences: '1'
651
+ out_hidden_size: '3584'
652
+ output_attentions: 'False'
653
+ output_hidden_states: 'False'
654
+ output_scores: 'False'
655
+ pad_token_id: null
656
+ patch_size: '14'
657
+ prefix: null
658
+ problem_type: null
659
+ pruned_heads: _Nothing.NOTHING
660
+ remove_invalid_values: 'False'
661
+ repetition_penalty: '1.0'
662
+ return_dict: 'True'
663
+ return_dict_in_generate: 'False'
664
+ sep_token_id: null
665
+ spatial_merge_size: '2'
666
+ spatial_patch_size: '14'
667
+ suppress_tokens: null
668
+ task_specific_params: null
669
+ temperature: '1.0'
670
+ temporal_patch_size: '2'
671
+ tf_legacy_loss: 'False'
672
+ tie_encoder_decoder: 'False'
673
+ tie_word_embeddings: 'True'
674
+ tokenizer_class: null
675
+ tokens_per_second: '2'
676
+ top_k: '50'
677
+ top_p: '1.0'
678
+ torch_dtype: bfloat16
679
+ torchscript: 'False'
680
+ typical_p: '1.0'
681
+ use_bfloat16: 'False'
682
+ window_size: '112'
683
+ vision_encoder: openai/clip-vit-base-patch32
684
+ vision_encoder_config:
685
+ depth_init: true
686
+ dim: 1024
687
+ ffn_dim_multiplier: null
688
+ head_dim: null
689
+ hidden_act: null
690
+ hidden_dim: 4096
691
+ image_size: 1024
692
+ image_token_id: null
693
+ multiple_of: null
694
+ n_heads: 16
695
+ n_kv_heads: null
696
+ n_layers: 24
697
+ norm_eps: 1.0e-05
698
+ norm_type: rmsnorm
699
+ num_channels: 3
700
+ patch_size: 16
701
+ proj_bias: null
702
+ qkv_bias: null
703
+ rope_theta: 10000.0
704
+ use_cache: false
705
+ use_rope_from_torchtitan: false
706
+ vision_encoder_in_channels: '3'
707
+ vision_end_token_id: '151653'
708
+ vision_start_token_id: '151652'
709
+ vision_token_id: '151654'
710
+ vocab_size: '152064'
711
+ z_loss_coeff: '0.0'
712
+ tokenizer:
713
+ _target_: <function build_tokenizer at 0x7f9a735d3910>
714
+ cache_dir: null
715
+ tokenizer_type: Qwen/Qwen2.5-VL-7B-Instruct
716
+ n_layers_per_group: 5
717
+ s3_credential_path: credentials/s3_checkpoint.secret
718
+ timestep_shift: 5.0
719
+ tokenizer:
720
+ _target_: <class 'cosmos_transfer2._src.predict2.tokenizers.wan2pt1.Wan2pt1VAEInterface'>
721
+ chunk_duration: '81'
722
+ load_mean_std: 'False'
723
+ name: wan2pt1_tokenizer
724
+ use_clean_cond_timesteps: true
725
+ use_neg_prompt_str: false
726
+ use_torch_compile: false
727
+ vis_debug: false
728
+ warmup_steps: 1
729
+ model_parallel:
730
+ _cpu_offloading_context: null
731
+ async_tensor_model_parallel_allreduce: false
732
+ autocast_dtype: torch.float32
733
+ barrier_with_L1_time: true
734
+ batch_p2p_comm: true
735
+ batch_p2p_sync: true
736
+ bf16: false
737
+ context_parallel_size: 4
738
+ cpu_offloading: false
739
+ cpu_offloading_activations: true
740
+ cpu_offloading_double_buffering: false
741
+ cpu_offloading_num_layers: 0
742
+ cpu_offloading_weights: true
743
+ cross_entropy_fusion_impl: native
744
+ cross_entropy_loss_fusion: false
745
+ deallocate_pipeline_outputs: false
746
+ defer_embedding_wgrad_compute: false
747
+ delay_wgrad_compute: false
748
+ deterministic_mode: false
749
+ enable_autocast: false
750
+ expert_model_parallel_size: 1
751
+ expert_tensor_parallel_size: 1
752
+ finalize_model_grads_func: null
753
+ fp16: false
754
+ grad_scale_func: null
755
+ grad_sync_func: null
756
+ gradient_accumulation_fusion: false
757
+ hierarchical_context_parallel_sizes: null
758
+ microbatch_group_size_per_vp_stage: 1
759
+ moe_extended_tp: false
760
+ no_sync_func: null
761
+ num_microbatches_with_partial_activation_checkpoints: null
762
+ overlap_moe_expert_parallel_comm: false
763
+ overlap_p2p_comm: false
764
+ overlap_p2p_comm_warmup_flush: false
765
+ param_sync_func: null
766
+ params_dtype: torch.float32
767
+ perform_initialization: true
768
+ pipeline_dtype: null
769
+ pipeline_model_parallel_comm_backend: null
770
+ pipeline_model_parallel_size: 1
771
+ sequence_parallel: false
772
+ tensor_model_parallel_size: 1
773
+ timers: null
774
+ tp_comm_atomic_ag: false
775
+ tp_comm_atomic_rs: false
776
+ tp_comm_bootstrap_backend: nccl
777
+ tp_comm_bulk_dgrad: true
778
+ tp_comm_bulk_wgrad: true
779
+ tp_comm_overlap: false
780
+ tp_comm_overlap_ag: true
781
+ tp_comm_overlap_disable_fc1: false
782
+ tp_comm_overlap_disable_qkv: false
783
+ tp_comm_overlap_rs: true
784
+ tp_comm_overlap_rs_dgrad: false
785
+ tp_comm_split_ag: true
786
+ tp_comm_split_rs: true
787
+ use_cpu_initialization: false
788
+ use_ring_exchange_p2p: false
789
+ use_te_rng_tracker: false
790
+ variable_seq_lengths: false
791
+ virtual_pipeline_model_parallel_size: null
792
+ wgrad_deferral_limit: 0
793
+ optimizer:
794
+ _target_: <function get_base_optimizer at 0x7f9a6ef2dc60>
795
+ betas:
796
+ - '0.9'
797
+ - '0.999'
798
+ capturable: 'True'
799
+ eps: 1e-08
800
+ lr: 1e-06
801
+ master_weights: 'True'
802
+ model: null
803
+ optim_type: fusedadam
804
+ weight_decay: '0.01'
805
+ scheduler:
806
+ _target_: <class 'cosmos_transfer2._src.imaginaire.functional.lr_scheduler.LambdaLinearScheduler'>
807
+ cycle_lengths:
808
+ - '400000'
809
+ f_max:
810
+ - '0.99'
811
+ f_min:
812
+ - '0.4'
813
+ f_start:
814
+ - 1e-06
815
+ verbosity_interval: '0'
816
+ warm_up_steps:
817
+ - '100'
818
+ trainer:
819
+ callbacks:
820
+ compile_tokenizer:
821
+ _target_: <class 'cosmos_transfer2._src.predict2.callbacks.compile_tokenizer.CompileTokenizer'>
822
+ compile_after_iterations: '4'
823
+ dynamic: 'False'
824
+ enabled: 'True'
825
+ dataloader_speed:
826
+ _target_: <class 'cosmos_transfer2._src.predict2.callbacks.dataloading_monitor.DetailedDataLoadingSpeedMonitor'>
827
+ every_n: '10'
828
+ save_s3: 'True'
829
+ step_size: '1'
830
+ device_monitor:
831
+ _target_: <class 'cosmos_transfer2._src.predict2.callbacks.device_monitor.DeviceMonitor'>
832
+ every_n: '10'
833
+ log_memory_detail: 'True'
834
+ save_s3: 'True'
835
+ step_size: '1'
836
+ upload_every_n_mul: '10'
837
+ every_n_sample_ema:
838
+ _target_: <class 'cosmos_transfer2._src.interactive.callbacks.every_n_draw_sample_distilled.EveryNDrawSample'>
839
+ do_sample_val_prompts: 'True'
840
+ every_n: '250'
841
+ is_ema: 'True'
842
+ is_image: 'False'
843
+ is_sample: 'True'
844
+ n_sample_to_save: '128'
845
+ num_prompts: '4'
846
+ num_samples_per_prompt: '3'
847
+ num_sampling_step: '4'
848
+ num_sampling_step_teacher: '35'
849
+ save_s3: 'True'
850
+ show_all_frames: 'False'
851
+ step_size: '1'
852
+ use_negative_prompt: 'False'
853
+ every_n_sample_reg:
854
+ _target_: <class 'cosmos_transfer2._src.interactive.callbacks.every_n_draw_sample_distilled.EveryNDrawSample'>
855
+ do_sample_val_prompts: 'True'
856
+ every_n: '250'
857
+ is_ema: 'False'
858
+ is_image: 'False'
859
+ is_sample: 'True'
860
+ n_sample_to_save: '128'
861
+ num_prompts: '4'
862
+ num_samples_per_prompt: '3'
863
+ num_sampling_step: '4'
864
+ num_sampling_step_teacher: '35'
865
+ save_s3: 'True'
866
+ show_all_frames: 'False'
867
+ step_size: '1'
868
+ use_negative_prompt: 'False'
869
+ grad_clip:
870
+ _target_: <class 'cosmos_transfer2._src.predict2.callbacks.grad_clip.GradClip'>
871
+ clip_norm: '1.0'
872
+ force_finite: 'True'
873
+ heart_beat:
874
+ _target_: <class 'cosmos_transfer2._src.predict2.callbacks.heart_beat.HeartBeat'>
875
+ every_n: '10'
876
+ save_s3: 'True'
877
+ step_size: '1'
878
+ update_interval_in_minute: '20'
879
+ iter_speed:
880
+ _target_: <class 'cosmos_transfer2._src.predict2.callbacks.iter_speed.IterSpeed'>
881
+ every_n: '10'
882
+ hit_thres: '100'
883
+ save_s3: 'True'
884
+ save_s3_every_log_n: '10'
885
+ low_prec:
886
+ _target_: <class 'cosmos_transfer2._src.imaginaire.utils.callback.LowPrecisionCallback'>
887
+ config: null
888
+ trainer: null
889
+ update_iter: '1'
890
+ manual_gc:
891
+ _target_: <class 'cosmos_transfer2._src.imaginaire.callbacks.manual_gc.ManualGarbageCollection'>
892
+ every_n: '5'
893
+ warm_up: '5'
894
+ wandb:
895
+ _target_: <class 'cosmos_transfer2._src.interactive.callbacks.wandb_log_rcm.WandbCallback'>
896
+ logging_iter_multipler: '1'
897
+ save_logging_iter_multipler: '10'
898
+ save_s3: 'True'
899
+ wandb_10x:
900
+ _target_: <class 'cosmos_transfer2._src.interactive.callbacks.wandb_log_rcm.WandbCallback'>
901
+ logging_iter_multipler: '10'
902
+ save_logging_iter_multipler: '1'
903
+ save_s3: 'True'
904
+ compile_config:
905
+ recompile_limit: '8'
906
+ use_duck_shape: 'True'
907
+ cudnn:
908
+ benchmark: 'True'
909
+ deterministic: 'False'
910
+ ddp:
911
+ broadcast_buffers: 'True'
912
+ find_unused_parameters: 'False'
913
+ static_graph: 'True'
914
+ distributed_parallelism: fsdp
915
+ grad_accum_iter: '1'
916
+ grad_scaler_args:
917
+ enabled: 'False'
918
+ logging_iter: '10'
919
+ max_iter: '30000'
920
+ max_val_iter: null
921
+ memory_format: torch.preserve_format
922
+ profiling:
923
+ enable_memory_snapshot: 'False'
924
+ enable_profiling: 'False'
925
+ profile_freq: '1'
926
+ profile_memory: 'False'
927
+ record_shape: 'False'
928
+ save_s3: 'False'
929
+ target_ranks:
930
+ - '0'
931
+ - '1'
932
+ - '2'
933
+ - '3'
934
+ - '4'
935
+ - '5'
936
+ - '6'
937
+ - '7'
938
+ with_modules: 'True'
939
+ with_stack: 'True'
940
+ run_validation: 'False'
941
+ run_validation_on_start: 'False'
942
+ seed: '0'
943
+ straggler_detection:
944
+ analyze_backward: 'True'
945
+ analyze_dataloading: 'True'
946
+ analyze_forward: 'True'
947
+ analyze_optimizer: 'True'
948
+ enabled: 'False'
949
+ max_diff: '2.0'
950
+ profile_freq: '1'
951
+ raise_error: 'True'
952
+ report_freq: '100'
953
+ timeout_period: '999999999'
954
+ type: <class 'cosmos_transfer2._src.interactive.trainer.trainer_distillation.ImaginaireDistillationTrainer'>
955
+ validation_iter: '100'
956
+ upload_reproducible_setup: 'True'
test/rainy/weather/distilled_step4_bg0.1_rm1/console.log ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [06-21 23:14:31|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:297:download] Downloading checkpoint nvidia/Cosmos-Predict2.5-2B/robot/action-cond(38c6c645-7d41-4560-8eeb-6f4ddc0e6574)
2
+ [06-21 23:14:31|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:165:_hf_download] uvx 'hf>=1.3.5' download nvidia/Cosmos-Predict2.5-2B --repo-type model --revision main robot/action-cond/38c6c645-7d41-4560-8eeb-6f4ddc0e6574_ema_bf16.pt
3
+ [06-21 23:14:32|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:297:download] Downloading checkpoint Qwen/Qwen2.5-VL-7B-Instruct(7219c6c7-f878-4137-bbdb-76842ea85e70)
4
+ [06-21 23:14:32|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:165:_hf_download] uvx 'hf>=1.3.5' download nvidia/Cosmos-Reason1-7B --repo-type model --revision 3210bec0495fdc7a8d3dbb8d58da5711eab4b423 --include '*'
5
+ [06-21 23:14:33|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:297:download] Downloading checkpoint nvidia/Cosmos-Reason1.1-7B(cb3e3ffa-7b08-4c34-822d-61c7aa31a14f)
6
+ [06-21 23:14:33|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:165:_hf_download] uvx 'hf>=1.3.5' download nvidia/Cosmos-Reason1-7B --repo-type model --revision 3210bec0495fdc7a8d3dbb8d58da5711eab4b423 --include '*'
7
+ [06-21 23:14:37|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:297:download] Downloading checkpoint Wan2.1/vae(685afcaa-4de2-42fe-b7b9-69f7a2dee4d8)
8
+ [06-21 23:14:37|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:165:_hf_download] uvx 'hf>=1.3.5' download nvidia/Cosmos-Predict2.5-2B --repo-type model --revision f176dc95b4a70f53ce01c4b302851595e7322b00 tokenizer.pth
9
+ [06-21 23:14:40|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:297:download] Downloading checkpoint nvidia/Cosmos-Transfer2.5-2B/distilled/edge(41f07f13-f2e4-4e34-ba4c-86f595acbc20)
10
+ [06-21 23:14:40|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:165:_hf_download] uvx 'hf>=1.3.5' download nvidia/Cosmos-Transfer2.5-2B --repo-type model --revision bbaeedb2b57cc8b14a44653099e2551adb69dcc7 distilled/general/edge/41f07f13-f2e4-4e34-ba4c-86f595acbc20_ema_bf16.pt
11
+ [06-21 23:14:41|INFO|cosmos_transfer2/inference.py:139:__init__] Setting net_fake_score to None for distilled model inference
12
+ [06-21 23:14:41|INFO|cosmos_transfer2/inference.py:146:__init__] Found 1 hint keys across all samples
13
+ [06-21 23:14:42|INFO|cosmos_transfer2/inference.py:156:__init__] Saved config to /scratch/ssaha/cosmos-transfer2.5/outputs/edge_threshold_grid/rainy/weather/distilled_step4_bg0.1_rm1/config.yaml
14
+ [06-21 23:14:42|INFO|cosmos_transfer2/inference.py:163:generate] Generating 1 samples: ['rainy_weather_distilled_step4_bg0.1_rm1']
15
+ [06-21 23:14:42|INFO|cosmos_transfer2/inference.py:167:generate] [1/1] Processing sample rainy_weather_distilled_step4_bg0.1_rm1
16
+ [06-21 23:14:42|INFO|cosmos_transfer2/inference.py:208:_generate_sample] Saved arguments to /scratch/ssaha/cosmos-transfer2.5/outputs/edge_threshold_grid/rainy/weather/distilled_step4_bg0.1_rm1/rainy_weather_distilled_step4_bg0.1_rm1.json
17
+ [06-21 23:14:42|WARNING|cosmos_transfer2/inference.py:239:_generate_sample] Guardrail checks on prompt are disabled
18
+ [06-21 23:14:42|INFO|cosmos_transfer2/inference.py:242:_generate_sample] Processing the following paths: {'edge': '/scratch/ssaha/cosmos-transfer2.5/outputs/edge_threshold_grid/_edges/rainy/edge_bg0.1_rm1.mp4', 'edge_mask': None, 'edge_mask_prompt': None}
19
+ [06-21 23:15:48|WARNING|cosmos_transfer2/inference.py:299:_generate_sample] Generated output has 120 frames (> 93). The distilled Transfer 2.5 model is not trained to support auto-regressive generation
20
+ [06-21 23:15:49|INFO|cosmos_transfer2/inference.py:311:_generate_sample] edge control video saved to /scratch/ssaha/cosmos-transfer2.5/outputs/edge_threshold_grid/rainy/weather/distilled_step4_bg0.1_rm1/rainy_weather_distilled_step4_bg0.1_rm1_control_edge.mp4
21
+ [06-21 23:15:49|WARNING|cosmos_transfer2/inference.py:335:_generate_sample] Guardrail checks on video are disabled
22
+ [06-21 23:15:50|SUCCESS|cosmos_transfer2/inference.py:343:_generate_sample] Generated video saved to /scratch/ssaha/cosmos-transfer2.5/outputs/edge_threshold_grid/rainy/weather/distilled_step4_bg0.1_rm1/rainy_weather_distilled_step4_bg0.1_rm1.mp4
test/rainy/weather/distilled_step4_bg0.1_rm1/debug.log ADDED
The diff for this file is too large to render. See raw diff
 
test/rainy/weather/distilled_step4_bg0.1_rm1/rainy_weather_distilled_step4_bg0.1_rm1.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"name":"rainy_weather_distilled_step4_bg0.1_rm1","prompt_path":null,"prompt":"The video shows an urban intersection captured from a vehicle-mounted camera during heavy rain. A flat overcast grey sky hangs low over the scene, the asphalt is dark, wet and mirror-like with rippling puddles and reflections of the surroundings, rain streaks the air and droplets bead on surfaces. The painted lane markings, stop lines and pedestrian crosswalks show through the glossy wet road. Multiple vehicles move through the junction with headlights on, low-rise buildings, sidewalks and street lamps line the streets, and the camera follows the moving ego vehicle smoothly. Photorealistic, moody overcast lighting, detail.","negative_prompt":"The video captures a game playing, with bad crappy graphics and cartoonish frames. It represents a recording of old outdated games. The lighting looks very fake. The textures are very raw and basic. The geometries are very primitive. The images are very pixelated and of poor CG quality. There are many subtitles in the footage. Overall, the video is unrealistic at all. Bright sunlight, blue sky, dry road, hard crisp shadows.","seed":2025,"guidance":3,"video_path":"/scratch/ssaha/cosmos-transfer2.5/SceneDriveBench/output/priority_from_right/run_000_rainy/videos/rgb_front.mp4","max_frames":null,"context_frame_index":null,"image_context_path":null,"num_conditional_frames":1,"resolution":"720","sigma_max":null,"num_video_frames_per_chunk":93,"num_steps":4,"show_control_condition":false,"show_input":false,"keep_input_resolution":true,"edge":{"control_path":"/scratch/ssaha/cosmos-transfer2.5/outputs/edge_threshold_grid/_edges/rainy/edge_bg0.1_rm1.mp4","control_weight":1.0,"mask_path":null,"mask_prompt":null,"preset_edge_threshold":"medium"},"depth":null,"vis":null,"seg":null,"guided_generation_mask":null,"guided_generation_step_threshold":25,"guided_generation_foreground_labels":null}
test/rainy/weather/distilled_step4_bg0.1_rm1/rainy_weather_distilled_step4_bg0.1_rm1.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4f5457cb9c2fef30059fe821c22fdedf43b45ff740de955758541d2b0f3eb7e9
3
+ size 2359367
test/rainy/weather/distilled_step4_bg0.1_rm1/rainy_weather_distilled_step4_bg0.1_rm1.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ The video shows an urban intersection captured from a vehicle-mounted camera during heavy rain. A flat overcast grey sky hangs low over the scene, the asphalt is dark, wet and mirror-like with rippling puddles and reflections of the surroundings, rain streaks the air and droplets bead on surfaces. The painted lane markings, stop lines and pedestrian crosswalks show through the glossy wet road. Multiple vehicles move through the junction with headlights on, low-rise buildings, sidewalks and street lamps line the streets, and the camera follows the moving ego vehicle smoothly. Photorealistic, moody overcast lighting, detail.
test/rainy/weather/distilled_step4_bg0.1_rm1/rainy_weather_distilled_step4_bg0.1_rm1_control_edge.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5689de03a096a68f31321e1b2204a440dfaf1aa3732f57704ab3ead58223ec3d
3
+ size 1585184
test/rainy/weather/distilled_step4_bg0.1_rm1/spec.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "rainy_weather_distilled_step4_bg0.1_rm1",
3
+ "prompt": "The video shows an urban intersection captured from a vehicle-mounted camera during heavy rain. A flat overcast grey sky hangs low over the scene, the asphalt is dark, wet and mirror-like with rippling puddles and reflections of the surroundings, rain streaks the air and droplets bead on surfaces. The painted lane markings, stop lines and pedestrian crosswalks show through the glossy wet road. Multiple vehicles move through the junction with headlights on, low-rise buildings, sidewalks and street lamps line the streets, and the camera follows the moving ego vehicle smoothly. Photorealistic, moody overcast lighting, detail.",
4
+ "video_path": "/scratch/ssaha/cosmos-transfer2.5/SceneDriveBench/output/priority_from_right/run_000_rainy/videos/rgb_front.mp4",
5
+ "guidance": 3,
6
+ "num_steps": 4,
7
+ "seed": 2025,
8
+ "edge": {
9
+ "control_path": "/scratch/ssaha/cosmos-transfer2.5/outputs/edge_threshold_grid/_edges/rainy/edge_bg0.1_rm1.mp4",
10
+ "control_weight": 1.0
11
+ },
12
+ "negative_prompt": "The video captures a game playing, with bad crappy graphics and cartoonish frames. It represents a recording of old outdated games. The lighting looks very fake. The textures are very raw and basic. The geometries are very primitive. The images are very pixelated and of poor CG quality. There are many subtitles in the footage. Overall, the video is unrealistic at all. Bright sunlight, blue sky, dry road, hard crisp shadows."
13
+ }
test/sunny/Building/2b_step35_bg0.1_rm0.5/config.yaml ADDED
@@ -0,0 +1,882 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ checkpoint:
2
+ broadcast_via_filesystem: 'False'
3
+ dcp_async_mode_enabled: 'False'
4
+ enable_gcs_patch_in_boto3: 'False'
5
+ jit:
6
+ device: cuda
7
+ dtype: bfloat16
8
+ enabled: 'False'
9
+ input_shape: null
10
+ strict: 'True'
11
+ keys_not_to_resume: []
12
+ keys_to_skip_loading: []
13
+ load_ema_to_reg: 'False'
14
+ load_from_object_store:
15
+ bucket: bucket
16
+ credentials: credentials/s3_checkpoint.secret
17
+ enabled: 'True'
18
+ load_path: s3://bucket/cosmos_transfer2/vid2vid_2B_control/edge_720p_t24or1_spaced_layer4_cr1pt1_sdev2_lowsigma0.05_uniform_hqv3p1_20250714_64N_rectified_flow_refimdrop0pt5/checkpoints/iter_000032000
19
+ load_training_state: 'False'
20
+ only_load_scheduler_state: 'False'
21
+ save_iter: '1000'
22
+ save_to_object_store:
23
+ bucket: bucket
24
+ credentials: credentials/s3_checkpoint.secret
25
+ enabled: 'True'
26
+ strict_resume: 'False'
27
+ type:
28
+ _target_: <class 'cosmos_transfer2._src.predict2.checkpointer.dcp.DistributedCheckpointer'>
29
+ callbacks: null
30
+ disable_async: 'False'
31
+ verbose: 'True'
32
+ dataloader_train:
33
+ dataloaders:
34
+ image_data:
35
+ ratio: '0'
36
+ video_data:
37
+ dataloader:
38
+ batch_size: '1'
39
+ cache_augment_fn: functools.partial(<function duplicate_batches_random at
40
+ 0x7fea3afcf2e0>, n=1.8)
41
+ cache_size: '32'
42
+ concat_size: '1'
43
+ dataset:
44
+ augmentor_name: video_basic_augmentor_v2_with_control_and_image_context
45
+ caption_type: t2w_qwen2p5_7b
46
+ control_input_type: edge
47
+ dataset_resolution_type: gt720p
48
+ embedding_type: null
49
+ max_fps_thres: '60'
50
+ min_fps_thres: '10'
51
+ num_video_frames: '93'
52
+ resolution: '720'
53
+ use_native_fps: 'True'
54
+ video_decoder_name: video_naive_bytes
55
+ num_workers: '4'
56
+ use_cache: 'False'
57
+ ratio: '1'
58
+ video_data_1:
59
+ dataloader:
60
+ batch_size: '6'
61
+ cache_augment_fn: functools.partial(<function duplicate_batches_random at
62
+ 0x7fea3afcf2e0>, n=1.8)
63
+ cache_size: '32'
64
+ concat_size: '1'
65
+ dataset:
66
+ augmentor_name: video_basic_augmentor_v2_with_control_and_image_context
67
+ caption_type: t2w_qwen2p5_7b
68
+ control_input_type: edge
69
+ dataset_resolution_type: gt720p
70
+ embedding_type: null
71
+ num_video_frames: '1'
72
+ resolution: '720'
73
+ use_native_fps: 'True'
74
+ video_decoder_name: video_naive_bytes
75
+ num_workers: '4'
76
+ use_cache: 'False'
77
+ ratio: '1'
78
+ dataset:
79
+ augmentor_name: video_basic_augmentor_v2_with_control
80
+ caption_type: t2w_qwen2p5_7b
81
+ control_input_type: edge
82
+ dataset_resolution_type: gt720p
83
+ embedding_type: null
84
+ max_fps_thres: '60'
85
+ min_fps_thres: '10'
86
+ num_video_frames: '93'
87
+ resolution: '720'
88
+ use_native_fps: 'True'
89
+ video_decoder_name: video_naive_bytes
90
+ num_workers: '4'
91
+ dataloader_val:
92
+ _target_: <class 'cosmos_transfer2._src.predict2.datasets.joint_dataloader.IterativeJointDataLoader'>
93
+ dataloaders:
94
+ image_data:
95
+ dataloader:
96
+ _target_: <function get_cached_replay_dataloader at 0x7fea3afcf400>
97
+ batch_size: '2'
98
+ cache_augment_fn: null
99
+ cache_replay_name: image_dataloader
100
+ cache_size: '32'
101
+ concat_size: '1'
102
+ dataset:
103
+ _target_: <function get_image_dataset at 0x7fea3afcf9a0>
104
+ len_t5: '512'
105
+ resolution: '512'
106
+ t5_dim: '1024'
107
+ num_workers: '8'
108
+ pin_memory: 'True'
109
+ shuffle: 'False'
110
+ use_cache: 'False'
111
+ webdataset: 'False'
112
+ ratio: '1'
113
+ video_data:
114
+ dataloader:
115
+ _target_: <function get_cached_replay_dataloader at 0x7fea3afcf400>
116
+ batch_size: '1'
117
+ cache_augment_fn: null
118
+ cache_replay_name: video_dataloader
119
+ cache_size: '32'
120
+ concat_size: '1'
121
+ dataset:
122
+ _target_: <function get_video_dataset at 0x7fea3afcfd90>
123
+ len_t5: '512'
124
+ num_video_frames: '136'
125
+ resolution: '512'
126
+ t5_dim: '1024'
127
+ num_workers: '8'
128
+ pin_memory: 'True'
129
+ shuffle: 'False'
130
+ use_cache: 'False'
131
+ webdataset: 'False'
132
+ ratio: '1'
133
+ defaults:
134
+ - _self_
135
+ - data_train: mock
136
+ - data_val: mock
137
+ - optimizer: fusedadamw
138
+ - scheduler: lambdalinear
139
+ - model: ddp
140
+ - callbacks: basic
141
+ - net: null
142
+ - conditioner: video_prediction_control_conditioner
143
+ - ema: power
144
+ - tokenizer: wan2pt1_tokenizer
145
+ - checkpoint: s3
146
+ - ckpt_type: dummy
147
+ - experiment: null
148
+ job:
149
+ cluster: null
150
+ group: vid2vid_2B_control
151
+ name: vid2vid_2B_control_720p_t24_control_layer4_cr1pt1_embedding_rectified_flow_with_image_context_with_image_data
152
+ project: cosmos_transfer2
153
+ wandb_mode: online
154
+ model:
155
+ _recursive_: 'False'
156
+ _target_: <class 'cosmos_transfer2._src.transfer2.models.vid2vid_model_control_vace_rectified_flow.ControlVideo2WorldModelRectifiedFlow'>
157
+ config:
158
+ base_load_from: null
159
+ conditional_frame_timestep: -1.0
160
+ conditional_frames_probs:
161
+ 0: 0.4
162
+ 1: 0.4
163
+ 2: 0.2
164
+ conditioner:
165
+ _target_: <class 'cosmos_transfer2._src.transfer2.configs.vid2vid_transfer.defaults.conditioner.ControlVideo2WorldConditionerImageContext'>
166
+ control_input_depth:
167
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
168
+ dropout_rate: '0.0'
169
+ dtype: null
170
+ input_key: control_input_depth
171
+ output_key: control_input_depth
172
+ control_input_depth_mask:
173
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
174
+ dropout_rate: '0.0'
175
+ dtype: null
176
+ input_key: control_input_depth_mask
177
+ output_key: control_input_depth_mask
178
+ control_input_edge:
179
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
180
+ dropout_rate: '0.0'
181
+ dtype: null
182
+ input_key: control_input_edge
183
+ output_key: control_input_edge
184
+ control_input_edge_mask:
185
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
186
+ dropout_rate: '0.0'
187
+ dtype: null
188
+ input_key: control_input_edge_mask
189
+ output_key: control_input_edge_mask
190
+ control_input_inpaint:
191
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
192
+ dropout_rate: '0.0'
193
+ dtype: null
194
+ input_key: control_input_inpaint
195
+ output_key: control_input_inpaint
196
+ control_input_inpaint_mask:
197
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
198
+ dropout_rate: '0.0'
199
+ dtype: null
200
+ input_key: control_input_inpaint_mask
201
+ output_key: control_input_inpaint_mask
202
+ control_input_seg:
203
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
204
+ dropout_rate: '0.0'
205
+ dtype: null
206
+ input_key: control_input_seg
207
+ output_key: control_input_seg
208
+ control_input_seg_mask:
209
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
210
+ dropout_rate: '0.0'
211
+ dtype: null
212
+ input_key: control_input_seg_mask
213
+ output_key: control_input_seg_mask
214
+ control_input_vis:
215
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
216
+ dropout_rate: '0.0'
217
+ dtype: null
218
+ input_key: control_input_vis
219
+ output_key: control_input_vis
220
+ control_input_vis_mask:
221
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
222
+ dropout_rate: '0.0'
223
+ dtype: null
224
+ input_key: control_input_vis_mask
225
+ output_key: control_input_vis_mask
226
+ fps:
227
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
228
+ dropout_rate: '0.0'
229
+ dtype: null
230
+ input_key: fps
231
+ output_key: fps
232
+ padding_mask:
233
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
234
+ dropout_rate: '0.0'
235
+ dtype: null
236
+ input_key: padding_mask
237
+ output_key: padding_mask
238
+ reference_image_context:
239
+ _target_: <class 'cosmos_transfer2._src.transfer2.networks.siglip2_image_context.SigLip2EmbImgContext'>
240
+ dropout_rate: '0.5'
241
+ input_key:
242
+ - images
243
+ - video
244
+ - image_context
245
+ num_token: '256'
246
+ output_key: null
247
+ text:
248
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.TextAttr'>
249
+ credential_path: credentials/s3_training.secret
250
+ dropout_rate: '0.2'
251
+ empty_string_embeddings_path: s3://bucket/predict2_assets/reason1_empty_string_embeddings.pt
252
+ input_key:
253
+ - t5_text_embeddings
254
+ use_empty_string: 'False'
255
+ use_video_condition:
256
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.BooleanFlag'>
257
+ dropout_rate: '0.0'
258
+ input_key: fps
259
+ output_key: use_video_condition
260
+ conditioning_strategy: frame_replace
261
+ copy_weight_strategy: first_n
262
+ denoise_replace_gt_frames: true
263
+ ema:
264
+ enabled: false
265
+ iteration_shift: 0
266
+ rate: 0.1
267
+ fsdp_shard_size: 1
268
+ high_sigma_ratio: 0.05
269
+ high_sigma_timesteps_max: 1000
270
+ high_sigma_timesteps_min: 980
271
+ hint_keys: edge
272
+ init_lora_weights: true
273
+ input_caption_key: ai_caption
274
+ input_data_key: video
275
+ input_image_key: images
276
+ lora_alpha: 32
277
+ lora_rank: 32
278
+ lora_target_modules: q_proj,k_proj,v_proj,output_proj,mlp.layer1,mlp.layer2
279
+ max_num_conditional_frames: 2
280
+ min_num_conditional_frames: 0
281
+ net:
282
+ _target_: <class 'cosmos_transfer2._src.transfer2.networks.minimal_v4_lvg_dit_control_vace.MinimalV4LVGControlVaceDiT'>
283
+ adaln_lora_dim: '256'
284
+ atten_backend: minimal_a2a
285
+ concat_padding_mask: 'True'
286
+ condition_strategy: spaced
287
+ crossattn_emb_channels: '1024'
288
+ crossattn_proj_in_channels: '100352'
289
+ extra_image_context_dim: '1152'
290
+ extra_per_block_abs_pos_emb: 'False'
291
+ img_context_deep_proj: 'False'
292
+ in_channels: '16'
293
+ max_frames: '128'
294
+ max_img_h: '240'
295
+ max_img_w: '240'
296
+ mlp_ratio: '4.0'
297
+ model_channels: '2048'
298
+ num_blocks: '28'
299
+ num_control_branches: '1'
300
+ num_heads: '16'
301
+ num_max_modalities: '8'
302
+ out_channels: '16'
303
+ patch_spatial: '2'
304
+ patch_temporal: '1'
305
+ pos_emb_cls: rope3d
306
+ pos_emb_interpolation: crop
307
+ pos_emb_learnable: 'True'
308
+ rope_enable_fps_modulation: 'False'
309
+ rope_h_extrapolation_ratio: '3.0'
310
+ rope_t_extrapolation_ratio: '1.0'
311
+ rope_w_extrapolation_ratio: '3.0'
312
+ sac_config:
313
+ every_n_blocks: 1
314
+ mode: predict2_2b_720_aggressive
315
+ separate_embedders: 'False'
316
+ share_q_in_i2v_cross_attn: 'False'
317
+ spatial_compression_factor: '8'
318
+ timestep_scale: '0.001'
319
+ use_adaln_lora: 'True'
320
+ use_after_proj_for_multi_branch: 'True'
321
+ use_crossattn_projection: 'True'
322
+ use_cuda_graphs: 'False'
323
+ use_input_hint_block: 'False'
324
+ use_wan_fp32_strategy: 'True'
325
+ vace_block_every_n: '7'
326
+ vace_has_mask: 'False'
327
+ precision: bfloat16
328
+ resolution: '720'
329
+ shift: 5
330
+ state_ch: 16
331
+ state_t: 24
332
+ text_encoder_class: reason1p1_7B
333
+ text_encoder_config:
334
+ ckpt_path: s3://bucket/cosmos_reasoning1/sft_exp700/sft_exp721-1_qwen7b_tl_721_5vs5_s3_balanced_n32_resume_16k/checkpoints/iter_000016000/model/
335
+ compute_online: true
336
+ embedding_concat_strategy: full_concat
337
+ model_config:
338
+ _target_: <class 'cosmos_transfer2._src.predict2.text_encoders.reason1.QwenVLBaseModel'>
339
+ model_config:
340
+ _target_: cosmos_transfer2._src.reason1.configs.default.model_config_qwen.QwenModelConfig
341
+ activation_checkpoint:
342
+ mode: selective
343
+ models: vlm
344
+ selective_ac_option: op
345
+ add_answer_tag: 'True'
346
+ add_cross_attention: 'False'
347
+ add_image_start_end_tag: 'False'
348
+ add_tile_tag: 'False'
349
+ architectures:
350
+ - Qwen2_5_VLForConditionalGeneration
351
+ attention_dropout: '0.0'
352
+ attn_implementation: flash_attention_2
353
+ attn_implementation_autoset: 'True'
354
+ aux_loss_coeff: '0.0'
355
+ bad_words_ids: null
356
+ begin_suppress_tokens: null
357
+ bos_token_id: '151643'
358
+ cache_dir: null
359
+ checkpoint:
360
+ async_mode: disabled
361
+ create_seed_checkpoint: false
362
+ enable_checkpoint: false
363
+ export_dtype: float32
364
+ folder: checkpoint
365
+ interval: 500
366
+ interval_type: steps
367
+ model_weights_only: false
368
+ chunk_size_feed_forward: '0'
369
+ ckpt_dir: null
370
+ ckpt_path: null
371
+ comm:
372
+ init_timeout_seconds: 300
373
+ trace_buf_size: 20000
374
+ train_timeout_seconds: 100
375
+ cp_size: null
376
+ cross_attention_hidden_size: null
377
+ decoder_start_token_id: null
378
+ deterministic: 'False'
379
+ diversity_penalty: '0.0'
380
+ do_sample: 'False'
381
+ early_stopping: 'False'
382
+ encoder_no_repeat_ngram_size: '0'
383
+ eos_token_id: '151645'
384
+ ep_size: null
385
+ experimental:
386
+ enable_async_tensor_parallel: false
387
+ enable_compiled_autograd: false
388
+ pipeline_parallel_degree: 1
389
+ exponential_decay_length_penalty: null
390
+ finetuning_task: null
391
+ float8:
392
+ enable_float8_linear: false
393
+ forced_bos_token_id: null
394
+ forced_eos_token_id: null
395
+ freeze_llm: 'False'
396
+ freeze_mm_projector: 'False'
397
+ freeze_vision_encoder: 'False'
398
+ fsdp_enabled: 'False'
399
+ hidden_act: silu
400
+ hidden_size: '3584'
401
+ id2label:
402
+ 0: LABEL_0
403
+ 1: LABEL_1
404
+ image_token_id: '151655'
405
+ initializer_range: '0.02'
406
+ intermediate_size: '18944'
407
+ is_decoder: 'False'
408
+ is_encoder_decoder: 'False'
409
+ label2id:
410
+ LABEL_0: '0'
411
+ LABEL_1: '1'
412
+ length_penalty: '1.0'
413
+ loss_per_token: 'True'
414
+ max_batch_size: '1'
415
+ max_length: '20'
416
+ max_position_embeddings: '128000'
417
+ max_seq_len: '128000'
418
+ max_window_layers: '28'
419
+ min_length: '0'
420
+ mm_projector: null
421
+ model_type: qwen2_5_vl
422
+ name_or_path: Qwen/Qwen2.5-VL-7B-Instruct
423
+ no_repeat_ngram_size: '0'
424
+ num_attention_heads: '28'
425
+ num_beam_groups: '1'
426
+ num_beams: '1'
427
+ num_hidden_layers: '28'
428
+ num_key_value_heads: '4'
429
+ num_return_sequences: '1'
430
+ num_tiles: '1'
431
+ optimizer:
432
+ early_step_in_backward: false
433
+ end_lr: 2.5e-05
434
+ fused: false
435
+ init_lr: 1.0e-05
436
+ lr: 0.0003
437
+ lr_multiplier_llm: 1.0
438
+ lr_multiplier_mm_projector: 1.0
439
+ lr_multiplier_vision_encoder: 0.1
440
+ name: AdamW
441
+ output_attentions: 'False'
442
+ output_hidden_states: 'True'
443
+ output_scores: 'False'
444
+ pad_token_id: null
445
+ precision: bfloat16
446
+ prefix: null
447
+ prepend_padding: 'False'
448
+ problem_type: null
449
+ pruned_heads: _Nothing.NOTHING
450
+ remove_invalid_values: 'False'
451
+ repetition_penalty: '1.0'
452
+ return_dict: 'True'
453
+ return_dict_in_generate: 'False'
454
+ rms_norm_eps: 1e-06
455
+ rope_scaling:
456
+ mrope_section:
457
+ - '16'
458
+ - '24'
459
+ - '24'
460
+ rope_type: default
461
+ type: default
462
+ rope_theta: '1000000.0'
463
+ s3_credential_path: credentials/pbss_dir.secret
464
+ seed: '0'
465
+ sep_token_id: null
466
+ sliding_window: '32768'
467
+ suppress_tokens: null
468
+ task_specific_params: null
469
+ temperature: '1.0'
470
+ tf_legacy_loss: 'False'
471
+ tie_encoder_decoder: 'False'
472
+ tie_word_embeddings: 'False'
473
+ tile_tag_type: space_separated
474
+ tokenizer_class: null
475
+ tokenizer_type: Qwen/Qwen2.5-VL-7B-Instruct
476
+ top_k: '50'
477
+ top_p: '1.0'
478
+ torch_dtype: bfloat16
479
+ torchscript: 'False'
480
+ training:
481
+ compile: false
482
+ context_parallel_degree: 1
483
+ data_parallel_replicate_degree: 1
484
+ data_parallel_shard_degree: -1
485
+ disable_loss_parallel: false
486
+ enable_cpu_offload: false
487
+ fsdp_reshard_after_forward: default
488
+ mixed_precision_param: bfloat16
489
+ mixed_precision_reduce: float32
490
+ steps: 400000
491
+ tensor_parallel_degree: 1
492
+ use_cosine_decay: false
493
+ use_linear_decay: true
494
+ warmup_steps: 1000
495
+ training_seq_len: '4096'
496
+ transformers_version: 4.51.0.dev0
497
+ typical_p: '1.0'
498
+ use_bfloat16: 'False'
499
+ use_cache: 'False'
500
+ use_fsdp2: 'True'
501
+ use_return_dict: 'True'
502
+ use_rope_from_torchtitan: 'False'
503
+ use_sliding_window: 'False'
504
+ video_token_id: '151656'
505
+ vision_config:
506
+ _target_: cosmos_transfer2._src.reason1.configs.default.model_config_qwen.QwenVisionConfig
507
+ add_cross_attention: 'False'
508
+ architectures: null
509
+ attn_implementation: flash_attention_2
510
+ attn_implementation_autoset: 'True'
511
+ bad_words_ids: null
512
+ begin_suppress_tokens: null
513
+ bos_token_id: null
514
+ chunk_size_feed_forward: '0'
515
+ cross_attention_hidden_size: null
516
+ decoder_start_token_id: null
517
+ depth: '32'
518
+ diversity_penalty: '0.0'
519
+ do_sample: 'False'
520
+ early_stopping: 'False'
521
+ embed_dim: null
522
+ encoder_no_repeat_ngram_size: '0'
523
+ eos_token_id: null
524
+ exponential_decay_length_penalty: null
525
+ finetuning_task: null
526
+ forced_bos_token_id: null
527
+ forced_eos_token_id: null
528
+ fullatt_block_indexes:
529
+ - '7'
530
+ - '15'
531
+ - '23'
532
+ - '31'
533
+ hidden_act: silu
534
+ hidden_size: '1280'
535
+ id2label:
536
+ 0: LABEL_0
537
+ 1: LABEL_1
538
+ in_channels: '3'
539
+ in_chans: '3'
540
+ intermediate_size: '3420'
541
+ is_decoder: 'False'
542
+ is_encoder_decoder: 'False'
543
+ label2id:
544
+ LABEL_0: '0'
545
+ LABEL_1: '1'
546
+ length_penalty: '1.0'
547
+ max_length: '20'
548
+ min_length: '0'
549
+ mlp_ratio: null
550
+ model_type: qwen2_5_vl
551
+ name_or_path: ''
552
+ no_repeat_ngram_size: '0'
553
+ num_beam_groups: '1'
554
+ num_beams: '1'
555
+ num_heads: '16'
556
+ num_return_sequences: '1'
557
+ out_hidden_size: '3584'
558
+ output_attentions: 'False'
559
+ output_hidden_states: 'False'
560
+ output_scores: 'False'
561
+ pad_token_id: null
562
+ patch_size: '14'
563
+ prefix: null
564
+ problem_type: null
565
+ pruned_heads: _Nothing.NOTHING
566
+ remove_invalid_values: 'False'
567
+ repetition_penalty: '1.0'
568
+ return_dict: 'True'
569
+ return_dict_in_generate: 'False'
570
+ sep_token_id: null
571
+ spatial_merge_size: '2'
572
+ spatial_patch_size: '14'
573
+ suppress_tokens: null
574
+ task_specific_params: null
575
+ temperature: '1.0'
576
+ temporal_patch_size: '2'
577
+ tf_legacy_loss: 'False'
578
+ tie_encoder_decoder: 'False'
579
+ tie_word_embeddings: 'True'
580
+ tokenizer_class: null
581
+ tokens_per_second: '2'
582
+ top_k: '50'
583
+ top_p: '1.0'
584
+ torch_dtype: bfloat16
585
+ torchscript: 'False'
586
+ typical_p: '1.0'
587
+ use_bfloat16: 'False'
588
+ window_size: '112'
589
+ vision_encoder: openai/clip-vit-base-patch32
590
+ vision_encoder_config:
591
+ depth_init: true
592
+ dim: 1024
593
+ ffn_dim_multiplier: null
594
+ head_dim: null
595
+ hidden_act: null
596
+ hidden_dim: 4096
597
+ image_size: 1024
598
+ image_token_id: null
599
+ multiple_of: null
600
+ n_heads: 16
601
+ n_kv_heads: null
602
+ n_layers: 24
603
+ norm_eps: 1.0e-05
604
+ norm_type: rmsnorm
605
+ num_channels: 3
606
+ patch_size: 16
607
+ proj_bias: null
608
+ qkv_bias: null
609
+ rope_theta: 10000.0
610
+ use_cache: false
611
+ use_rope_from_torchtitan: false
612
+ vision_encoder_in_channels: '3'
613
+ vision_end_token_id: '151653'
614
+ vision_start_token_id: '151652'
615
+ vision_token_id: '151654'
616
+ vocab_size: '152064'
617
+ z_loss_coeff: '0.0'
618
+ tokenizer:
619
+ _target_: <function build_tokenizer at 0x7fea3f4b79a0>
620
+ cache_dir: null
621
+ tokenizer_type: Qwen/Qwen2.5-VL-7B-Instruct
622
+ n_layers_per_group: 5
623
+ s3_credential_path: credentials/s3_checkpoint.secret
624
+ tokenizer:
625
+ _target_: <class 'cosmos_transfer2._src.predict2.tokenizers.wan2pt1.Wan2pt1VAEInterface'>
626
+ chunk_duration: '81'
627
+ load_mean_std: 'False'
628
+ name: wan2pt1_tokenizer
629
+ temporal_window: '16'
630
+ train_time_distribution: logitnormal
631
+ train_time_weight: uniform
632
+ use_dora: false
633
+ use_dynamic_shift: false
634
+ use_high_sigma_strategy: false
635
+ use_kerras_sigma_at_inference: false
636
+ use_lora: false
637
+ use_reference_image: true
638
+ use_torch_compile: false
639
+ model_parallel:
640
+ _cpu_offloading_context: null
641
+ async_tensor_model_parallel_allreduce: false
642
+ autocast_dtype: torch.float32
643
+ barrier_with_L1_time: true
644
+ batch_p2p_comm: true
645
+ batch_p2p_sync: true
646
+ bf16: false
647
+ context_parallel_size: 8
648
+ cpu_offloading: false
649
+ cpu_offloading_activations: true
650
+ cpu_offloading_double_buffering: false
651
+ cpu_offloading_num_layers: 0
652
+ cpu_offloading_weights: true
653
+ cross_entropy_fusion_impl: native
654
+ cross_entropy_loss_fusion: false
655
+ deallocate_pipeline_outputs: false
656
+ defer_embedding_wgrad_compute: false
657
+ delay_wgrad_compute: false
658
+ deterministic_mode: false
659
+ enable_autocast: false
660
+ expert_model_parallel_size: 1
661
+ expert_tensor_parallel_size: 1
662
+ finalize_model_grads_func: null
663
+ fp16: false
664
+ grad_scale_func: null
665
+ grad_sync_func: null
666
+ gradient_accumulation_fusion: false
667
+ hierarchical_context_parallel_sizes: null
668
+ microbatch_group_size_per_vp_stage: 1
669
+ moe_extended_tp: false
670
+ no_sync_func: null
671
+ num_microbatches_with_partial_activation_checkpoints: null
672
+ overlap_moe_expert_parallel_comm: false
673
+ overlap_p2p_comm: false
674
+ overlap_p2p_comm_warmup_flush: false
675
+ param_sync_func: null
676
+ params_dtype: torch.float32
677
+ perform_initialization: true
678
+ pipeline_dtype: null
679
+ pipeline_model_parallel_comm_backend: null
680
+ pipeline_model_parallel_size: 1
681
+ sequence_parallel: false
682
+ tensor_model_parallel_size: 1
683
+ timers: null
684
+ tp_comm_atomic_ag: false
685
+ tp_comm_atomic_rs: false
686
+ tp_comm_bootstrap_backend: nccl
687
+ tp_comm_bulk_dgrad: true
688
+ tp_comm_bulk_wgrad: true
689
+ tp_comm_overlap: false
690
+ tp_comm_overlap_ag: true
691
+ tp_comm_overlap_disable_fc1: false
692
+ tp_comm_overlap_disable_qkv: false
693
+ tp_comm_overlap_rs: true
694
+ tp_comm_overlap_rs_dgrad: false
695
+ tp_comm_split_ag: true
696
+ tp_comm_split_rs: true
697
+ use_cpu_initialization: false
698
+ use_ring_exchange_p2p: false
699
+ use_te_rng_tracker: false
700
+ variable_seq_lengths: false
701
+ virtual_pipeline_model_parallel_size: null
702
+ wgrad_deferral_limit: 0
703
+ optimizer:
704
+ _target_: <function get_base_optimizer at 0x7fea3b0f45e0>
705
+ betas:
706
+ - '0.9'
707
+ - '0.999'
708
+ eps: 1e-08
709
+ fused: 'True'
710
+ lr: '8.63e-05'
711
+ model: null
712
+ optim_type: adamw
713
+ weight_decay: '0.001'
714
+ scheduler:
715
+ _target_: <class 'cosmos_transfer2._src.imaginaire.functional.lr_scheduler.LambdaLinearScheduler'>
716
+ cycle_lengths:
717
+ - '100000'
718
+ f_max:
719
+ - '0.5'
720
+ f_min:
721
+ - '0.2'
722
+ f_start:
723
+ - 1e-06
724
+ verbosity_interval: '0'
725
+ warm_up_steps:
726
+ - '100'
727
+ trainer:
728
+ callbacks:
729
+ compile_tokenizer:
730
+ _target_: <class 'cosmos_transfer2._src.predict2.callbacks.compile_tokenizer.CompileTokenizer'>
731
+ compile_after_iterations: '4'
732
+ dynamic: 'False'
733
+ enabled: 'True'
734
+ dataloader_speed:
735
+ _target_: <class 'cosmos_transfer2._src.predict2.callbacks.dataloading_monitor.DetailedDataLoadingSpeedMonitor'>
736
+ every_n: '200'
737
+ save_s3: 'True'
738
+ step_size: '1'
739
+ device_monitor:
740
+ _target_: <class 'cosmos_transfer2._src.predict2.callbacks.device_monitor.DeviceMonitor'>
741
+ every_n: '200'
742
+ log_memory_detail: 'True'
743
+ save_s3: 'True'
744
+ step_size: '1'
745
+ upload_every_n_mul: '10'
746
+ every_n_sample_ema:
747
+ _target_: <class 'cosmos_transfer2._src.transfer2.callbacks.every_n_draw_sample.EveryNDrawSample'>
748
+ every_n: '5000'
749
+ fix_batch_fp: null
750
+ fps: '16'
751
+ guidance:
752
+ - '0'
753
+ - '3'
754
+ - '7'
755
+ is_ema: 'True'
756
+ is_sample: 'True'
757
+ is_x0: 'False'
758
+ n_sample_to_save: '128'
759
+ n_viz_sample: '3'
760
+ n_x0_level: '4'
761
+ num_sampling_step: '35'
762
+ save_s3: 'True'
763
+ show_all_frames: 'False'
764
+ step_size: '1'
765
+ use_negative_prompt: 'False'
766
+ every_n_sample_reg:
767
+ _target_: <class 'cosmos_transfer2._src.transfer2.callbacks.every_n_draw_sample.EveryNDrawSample'>
768
+ every_n: '5000'
769
+ fix_batch_fp: null
770
+ fps: '16'
771
+ guidance:
772
+ - '0'
773
+ - '3'
774
+ - '7'
775
+ is_ema: 'False'
776
+ is_sample: 'True'
777
+ is_x0: 'False'
778
+ n_sample_to_save: '128'
779
+ n_viz_sample: '3'
780
+ n_x0_level: '4'
781
+ num_sampling_step: '35'
782
+ save_s3: 'True'
783
+ show_all_frames: 'False'
784
+ step_size: '1'
785
+ use_negative_prompt: 'False'
786
+ frame_loss_log:
787
+ _target_: <class 'cosmos_transfer2._src.transfer2.callbacks.frame_loss_log.FrameLossLog'>
788
+ logging_iter_multipler: '1'
789
+ save_logging_iter_multipler: '10'
790
+ save_s3: 'True'
791
+ grad_clip:
792
+ _target_: <class 'cosmos_transfer2._src.predict2.callbacks.grad_clip.GradClip'>
793
+ clip_norm: '0.1'
794
+ force_finite: 'True'
795
+ heart_beat:
796
+ _target_: <class 'cosmos_transfer2._src.predict2.callbacks.heart_beat.HeartBeat'>
797
+ every_n: '10'
798
+ save_s3: 'True'
799
+ step_size: '1'
800
+ update_interval_in_minute: '20'
801
+ iter_speed:
802
+ _target_: <class 'cosmos_transfer2._src.predict2.callbacks.iter_speed.IterSpeed'>
803
+ every_n: '100'
804
+ hit_thres: '300'
805
+ save_s3: 'True'
806
+ save_s3_every_log_n: '10'
807
+ load_base_model:
808
+ _target_: <class 'cosmos_transfer2._src.transfer2.configs.vid2vid_transfer.defaults.callbacks.LoadBaseModel'>
809
+ config: null
810
+ trainer: null
811
+ low_prec:
812
+ _target_: <class 'cosmos_transfer2._src.imaginaire.utils.callback.LowPrecisionCallback'>
813
+ config: null
814
+ trainer: null
815
+ update_iter: '1'
816
+ manual_gc:
817
+ _target_: <class 'cosmos_transfer2._src.imaginaire.callbacks.manual_gc.ManualGarbageCollection'>
818
+ every_n: '200'
819
+ warm_up: '5'
820
+ wandb:
821
+ _target_: <class 'cosmos_transfer2._src.predict2.callbacks.wandb_log.WandbCallback'>
822
+ logging_iter_multipler: '1'
823
+ save_logging_iter_multipler: '10'
824
+ save_s3: 'True'
825
+ wandb_10x:
826
+ _target_: <class 'cosmos_transfer2._src.predict2.callbacks.wandb_log.WandbCallback'>
827
+ logging_iter_multipler: '10'
828
+ save_logging_iter_multipler: '1'
829
+ save_s3: 'True'
830
+ compile_config:
831
+ recompile_limit: '8'
832
+ use_duck_shape: 'True'
833
+ cudnn:
834
+ benchmark: 'True'
835
+ deterministic: 'False'
836
+ ddp:
837
+ broadcast_buffers: 'True'
838
+ find_unused_parameters: 'False'
839
+ static_graph: 'True'
840
+ distributed_parallelism: fsdp
841
+ grad_accum_iter: '1'
842
+ grad_scaler_args:
843
+ enabled: 'False'
844
+ logging_iter: '200'
845
+ max_iter: '100000'
846
+ max_val_iter: null
847
+ memory_format: torch.preserve_format
848
+ profiling:
849
+ enable_memory_snapshot: 'False'
850
+ enable_profiling: 'False'
851
+ profile_freq: '1'
852
+ profile_memory: 'False'
853
+ record_shape: 'False'
854
+ save_s3: 'False'
855
+ target_ranks:
856
+ - '0'
857
+ - '1'
858
+ - '2'
859
+ - '3'
860
+ - '4'
861
+ - '5'
862
+ - '6'
863
+ - '7'
864
+ with_modules: 'True'
865
+ with_stack: 'True'
866
+ run_validation: 'False'
867
+ run_validation_on_start: 'False'
868
+ seed: '0'
869
+ straggler_detection:
870
+ analyze_backward: 'True'
871
+ analyze_dataloading: 'True'
872
+ analyze_forward: 'True'
873
+ analyze_optimizer: 'True'
874
+ enabled: 'True'
875
+ max_diff: '1.5'
876
+ profile_freq: '1'
877
+ raise_error: 'True'
878
+ report_freq: '100'
879
+ timeout_period: '999999999'
880
+ type: <class 'cosmos_transfer2._src.imaginaire.trainer.ImaginaireTrainer'>
881
+ validation_iter: '100'
882
+ upload_reproducible_setup: 'True'
test/sunny/Building/2b_step35_bg0.1_rm0.5/console.log ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [06-21 21:54:38|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:297:download] Downloading checkpoint Wan2.1/vae(685afcaa-4de2-42fe-b7b9-69f7a2dee4d8)
2
+ [06-21 21:54:38|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:165:_hf_download] uvx 'hf>=1.3.5' download nvidia/Cosmos-Predict2.5-2B --repo-type model --revision f176dc95b4a70f53ce01c4b302851595e7322b00 tokenizer.pth
3
+ [06-21 21:54:43|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:297:download] Downloading checkpoint Qwen/Qwen2.5-VL-7B-Instruct(7219c6c7-f878-4137-bbdb-76842ea85e70)
4
+ [06-21 21:54:43|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:165:_hf_download] uvx 'hf>=1.3.5' download nvidia/Cosmos-Reason1-7B --repo-type model --revision 3210bec0495fdc7a8d3dbb8d58da5711eab4b423 --include '*'
5
+ [06-21 21:54:44|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:297:download] Downloading checkpoint nvidia/Cosmos-Reason1.1-7B(cb3e3ffa-7b08-4c34-822d-61c7aa31a14f)
6
+ [06-21 21:54:44|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:165:_hf_download] uvx 'hf>=1.3.5' download nvidia/Cosmos-Reason1-7B --repo-type model --revision 3210bec0495fdc7a8d3dbb8d58da5711eab4b423 --include '*'
7
+ [06-21 21:54:48|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:297:download] Downloading checkpoint nvidia/Cosmos-Transfer2.5-2B/general/edge(61f5694b-0ad5-4ecd-8ad7-c8545627d125)
8
+ [06-21 21:54:48|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:165:_hf_download] uvx 'hf>=1.3.5' download nvidia/Cosmos-Transfer2.5-2B --repo-type model --revision b67b64abda3801a9aceddbff2bdb86126c06db74 general/edge/61f5694b-0ad5-4ecd-8ad7-c8545627d125_ema_bf16.pt
9
+ [06-21 21:54:49|INFO|cosmos_transfer2/inference.py:146:__init__] Found 1 hint keys across all samples
10
+ [06-21 21:54:49|INFO|cosmos_transfer2/inference.py:156:__init__] Saved config to /scratch/ssaha/cosmos-transfer2.5/outputs/edge_threshold_grid/sunny/Building/2b_step35_bg0.1_rm0.5/config.yaml
11
+ [06-21 21:54:49|INFO|cosmos_transfer2/inference.py:163:generate] Generating 1 samples: ['sunny_Building_2b_step35_bg0.1_rm0.5']
12
+ [06-21 21:54:49|INFO|cosmos_transfer2/inference.py:167:generate] [1/1] Processing sample sunny_Building_2b_step35_bg0.1_rm0.5
13
+ [06-21 21:54:49|INFO|cosmos_transfer2/inference.py:208:_generate_sample] Saved arguments to /scratch/ssaha/cosmos-transfer2.5/outputs/edge_threshold_grid/sunny/Building/2b_step35_bg0.1_rm0.5/sunny_Building_2b_step35_bg0.1_rm0.5.json
14
+ [06-21 21:54:49|WARNING|cosmos_transfer2/inference.py:239:_generate_sample] Guardrail checks on prompt are disabled
15
+ [06-21 21:54:49|INFO|cosmos_transfer2/inference.py:242:_generate_sample] Processing the following paths: {'edge': '/scratch/ssaha/cosmos-transfer2.5/outputs/edge_threshold_grid/_edges/sunny/edge_bg0.1_rm0.5.mp4', 'edge_mask': None, 'edge_mask_prompt': None}
16
+ [06-21 22:05:20|INFO|cosmos_transfer2/inference.py:311:_generate_sample] edge control video saved to /scratch/ssaha/cosmos-transfer2.5/outputs/edge_threshold_grid/sunny/Building/2b_step35_bg0.1_rm0.5/sunny_Building_2b_step35_bg0.1_rm0.5_control_edge.mp4
17
+ [06-21 22:05:20|WARNING|cosmos_transfer2/inference.py:335:_generate_sample] Guardrail checks on video are disabled
18
+ [06-21 22:05:21|SUCCESS|cosmos_transfer2/inference.py:343:_generate_sample] Generated video saved to /scratch/ssaha/cosmos-transfer2.5/outputs/edge_threshold_grid/sunny/Building/2b_step35_bg0.1_rm0.5/sunny_Building_2b_step35_bg0.1_rm0.5.mp4
test/sunny/Building/2b_step35_bg0.1_rm0.5/debug.log ADDED
The diff for this file is too large to render. See raw diff
 
test/sunny/Building/2b_step35_bg0.1_rm0.5/spec.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "sunny_Building_2b_step35_bg0.1_rm0.5",
3
+ "prompt": "The video shows an urban intersection captured from a vehicle-mounted camera in bright daylight. The streets are lined with ornate classical stone buildings featuring columns, cornices and tall arched windows, their facades warmly lit by the sun. A road network with painted lane markings, stop lines and pedestrian crosswalks runs through the scene, multiple vehicles move through the junction, and the camera follows the moving ego vehicle smoothly. Photorealistic, soft shadows, high detail.",
4
+ "video_path": "/scratch/ssaha/cosmos-transfer2.5/SceneDriveBench/output/priority_from_right/run_000/videos/rgb_front.mp4",
5
+ "guidance": 3,
6
+ "num_steps": 35,
7
+ "seed": 2025,
8
+ "edge": {
9
+ "control_path": "/scratch/ssaha/cosmos-transfer2.5/outputs/edge_threshold_grid/_edges/sunny/edge_bg0.1_rm0.5.mp4",
10
+ "control_weight": 1.0
11
+ },
12
+ "negative_prompt": "The video captures a game playing, with bad crappy graphics and cartoonish frames. It represents a recording of old outdated games. The lighting looks very fake. The textures are very raw and basic. The geometries are very primitive. The images are very pixelated and of poor CG quality. There are many subtitles in the footage. Overall, the video is unrealistic at all. Modern glass towers, plain concrete blocks, melted or warped facades, floating disconnected structures."
13
+ }
test/sunny/Building/2b_step35_bg0.1_rm0.5/sunny_Building_2b_step35_bg0.1_rm0.5.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"name":"sunny_Building_2b_step35_bg0.1_rm0.5","prompt_path":null,"prompt":"The video shows an urban intersection captured from a vehicle-mounted camera in bright daylight. The streets are lined with ornate classical stone buildings featuring columns, cornices and tall arched windows, their facades warmly lit by the sun. A road network with painted lane markings, stop lines and pedestrian crosswalks runs through the scene, multiple vehicles move through the junction, and the camera follows the moving ego vehicle smoothly. Photorealistic, soft shadows, high detail.","negative_prompt":"The video captures a game playing, with bad crappy graphics and cartoonish frames. It represents a recording of old outdated games. The lighting looks very fake. The textures are very raw and basic. The geometries are very primitive. The images are very pixelated and of poor CG quality. There are many subtitles in the footage. Overall, the video is unrealistic at all. Modern glass towers, plain concrete blocks, melted or warped facades, floating disconnected structures.","seed":2025,"guidance":3,"video_path":"/scratch/ssaha/cosmos-transfer2.5/SceneDriveBench/output/priority_from_right/run_000/videos/rgb_front.mp4","max_frames":null,"context_frame_index":null,"image_context_path":null,"num_conditional_frames":1,"resolution":"720","sigma_max":null,"num_video_frames_per_chunk":93,"num_steps":35,"show_control_condition":false,"show_input":false,"keep_input_resolution":true,"edge":{"control_path":"/scratch/ssaha/cosmos-transfer2.5/outputs/edge_threshold_grid/_edges/sunny/edge_bg0.1_rm0.5.mp4","control_weight":1.0,"mask_path":null,"mask_prompt":null,"preset_edge_threshold":"medium"},"depth":null,"vis":null,"seg":null,"guided_generation_mask":null,"guided_generation_step_threshold":25,"guided_generation_foreground_labels":null}
test/sunny/Building/2b_step35_bg0.1_rm0.5/sunny_Building_2b_step35_bg0.1_rm0.5.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bc6556c17b14f8f8ca4a6819409a35179334dff86ac47c287c1457043fa3c829
3
+ size 2075166
test/sunny/Building/2b_step35_bg0.1_rm0.5/sunny_Building_2b_step35_bg0.1_rm0.5.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ The video shows an urban intersection captured from a vehicle-mounted camera in bright daylight. The streets are lined with ornate classical stone buildings featuring columns, cornices and tall arched windows, their facades warmly lit by the sun. A road network with painted lane markings, stop lines and pedestrian crosswalks runs through the scene, multiple vehicles move through the junction, and the camera follows the moving ego vehicle smoothly. Photorealistic, soft shadows, high detail.
test/sunny/Building/2b_step35_bg0.1_rm0.5/sunny_Building_2b_step35_bg0.1_rm0.5_control_edge.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d64b698567bb468646f9fb460bce4c40fc6222bc9fed22229b2d6c86627891bb
3
+ size 819670
test/sunny/Building/2b_step35_bg0.1_rm1/config.yaml ADDED
@@ -0,0 +1,882 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ checkpoint:
2
+ broadcast_via_filesystem: 'False'
3
+ dcp_async_mode_enabled: 'False'
4
+ enable_gcs_patch_in_boto3: 'False'
5
+ jit:
6
+ device: cuda
7
+ dtype: bfloat16
8
+ enabled: 'False'
9
+ input_shape: null
10
+ strict: 'True'
11
+ keys_not_to_resume: []
12
+ keys_to_skip_loading: []
13
+ load_ema_to_reg: 'False'
14
+ load_from_object_store:
15
+ bucket: bucket
16
+ credentials: credentials/s3_checkpoint.secret
17
+ enabled: 'True'
18
+ load_path: s3://bucket/cosmos_transfer2/vid2vid_2B_control/edge_720p_t24or1_spaced_layer4_cr1pt1_sdev2_lowsigma0.05_uniform_hqv3p1_20250714_64N_rectified_flow_refimdrop0pt5/checkpoints/iter_000032000
19
+ load_training_state: 'False'
20
+ only_load_scheduler_state: 'False'
21
+ save_iter: '1000'
22
+ save_to_object_store:
23
+ bucket: bucket
24
+ credentials: credentials/s3_checkpoint.secret
25
+ enabled: 'True'
26
+ strict_resume: 'False'
27
+ type:
28
+ _target_: <class 'cosmos_transfer2._src.predict2.checkpointer.dcp.DistributedCheckpointer'>
29
+ callbacks: null
30
+ disable_async: 'False'
31
+ verbose: 'True'
32
+ dataloader_train:
33
+ dataloaders:
34
+ image_data:
35
+ ratio: '0'
36
+ video_data:
37
+ dataloader:
38
+ batch_size: '1'
39
+ cache_augment_fn: functools.partial(<function duplicate_batches_random at
40
+ 0x7ff234fb72e0>, n=1.8)
41
+ cache_size: '32'
42
+ concat_size: '1'
43
+ dataset:
44
+ augmentor_name: video_basic_augmentor_v2_with_control_and_image_context
45
+ caption_type: t2w_qwen2p5_7b
46
+ control_input_type: edge
47
+ dataset_resolution_type: gt720p
48
+ embedding_type: null
49
+ max_fps_thres: '60'
50
+ min_fps_thres: '10'
51
+ num_video_frames: '93'
52
+ resolution: '720'
53
+ use_native_fps: 'True'
54
+ video_decoder_name: video_naive_bytes
55
+ num_workers: '4'
56
+ use_cache: 'False'
57
+ ratio: '1'
58
+ video_data_1:
59
+ dataloader:
60
+ batch_size: '6'
61
+ cache_augment_fn: functools.partial(<function duplicate_batches_random at
62
+ 0x7ff234fb72e0>, n=1.8)
63
+ cache_size: '32'
64
+ concat_size: '1'
65
+ dataset:
66
+ augmentor_name: video_basic_augmentor_v2_with_control_and_image_context
67
+ caption_type: t2w_qwen2p5_7b
68
+ control_input_type: edge
69
+ dataset_resolution_type: gt720p
70
+ embedding_type: null
71
+ num_video_frames: '1'
72
+ resolution: '720'
73
+ use_native_fps: 'True'
74
+ video_decoder_name: video_naive_bytes
75
+ num_workers: '4'
76
+ use_cache: 'False'
77
+ ratio: '1'
78
+ dataset:
79
+ augmentor_name: video_basic_augmentor_v2_with_control
80
+ caption_type: t2w_qwen2p5_7b
81
+ control_input_type: edge
82
+ dataset_resolution_type: gt720p
83
+ embedding_type: null
84
+ max_fps_thres: '60'
85
+ min_fps_thres: '10'
86
+ num_video_frames: '93'
87
+ resolution: '720'
88
+ use_native_fps: 'True'
89
+ video_decoder_name: video_naive_bytes
90
+ num_workers: '4'
91
+ dataloader_val:
92
+ _target_: <class 'cosmos_transfer2._src.predict2.datasets.joint_dataloader.IterativeJointDataLoader'>
93
+ dataloaders:
94
+ image_data:
95
+ dataloader:
96
+ _target_: <function get_cached_replay_dataloader at 0x7ff234fb7400>
97
+ batch_size: '2'
98
+ cache_augment_fn: null
99
+ cache_replay_name: image_dataloader
100
+ cache_size: '32'
101
+ concat_size: '1'
102
+ dataset:
103
+ _target_: <function get_image_dataset at 0x7ff234fb79a0>
104
+ len_t5: '512'
105
+ resolution: '512'
106
+ t5_dim: '1024'
107
+ num_workers: '8'
108
+ pin_memory: 'True'
109
+ shuffle: 'False'
110
+ use_cache: 'False'
111
+ webdataset: 'False'
112
+ ratio: '1'
113
+ video_data:
114
+ dataloader:
115
+ _target_: <function get_cached_replay_dataloader at 0x7ff234fb7400>
116
+ batch_size: '1'
117
+ cache_augment_fn: null
118
+ cache_replay_name: video_dataloader
119
+ cache_size: '32'
120
+ concat_size: '1'
121
+ dataset:
122
+ _target_: <function get_video_dataset at 0x7ff234fb7d90>
123
+ len_t5: '512'
124
+ num_video_frames: '136'
125
+ resolution: '512'
126
+ t5_dim: '1024'
127
+ num_workers: '8'
128
+ pin_memory: 'True'
129
+ shuffle: 'False'
130
+ use_cache: 'False'
131
+ webdataset: 'False'
132
+ ratio: '1'
133
+ defaults:
134
+ - _self_
135
+ - data_train: mock
136
+ - data_val: mock
137
+ - optimizer: fusedadamw
138
+ - scheduler: lambdalinear
139
+ - model: ddp
140
+ - callbacks: basic
141
+ - net: null
142
+ - conditioner: video_prediction_control_conditioner
143
+ - ema: power
144
+ - tokenizer: wan2pt1_tokenizer
145
+ - checkpoint: s3
146
+ - ckpt_type: dummy
147
+ - experiment: null
148
+ job:
149
+ cluster: null
150
+ group: vid2vid_2B_control
151
+ name: vid2vid_2B_control_720p_t24_control_layer4_cr1pt1_embedding_rectified_flow_with_image_context_with_image_data
152
+ project: cosmos_transfer2
153
+ wandb_mode: online
154
+ model:
155
+ _recursive_: 'False'
156
+ _target_: <class 'cosmos_transfer2._src.transfer2.models.vid2vid_model_control_vace_rectified_flow.ControlVideo2WorldModelRectifiedFlow'>
157
+ config:
158
+ base_load_from: null
159
+ conditional_frame_timestep: -1.0
160
+ conditional_frames_probs:
161
+ 0: 0.4
162
+ 1: 0.4
163
+ 2: 0.2
164
+ conditioner:
165
+ _target_: <class 'cosmos_transfer2._src.transfer2.configs.vid2vid_transfer.defaults.conditioner.ControlVideo2WorldConditionerImageContext'>
166
+ control_input_depth:
167
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
168
+ dropout_rate: '0.0'
169
+ dtype: null
170
+ input_key: control_input_depth
171
+ output_key: control_input_depth
172
+ control_input_depth_mask:
173
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
174
+ dropout_rate: '0.0'
175
+ dtype: null
176
+ input_key: control_input_depth_mask
177
+ output_key: control_input_depth_mask
178
+ control_input_edge:
179
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
180
+ dropout_rate: '0.0'
181
+ dtype: null
182
+ input_key: control_input_edge
183
+ output_key: control_input_edge
184
+ control_input_edge_mask:
185
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
186
+ dropout_rate: '0.0'
187
+ dtype: null
188
+ input_key: control_input_edge_mask
189
+ output_key: control_input_edge_mask
190
+ control_input_inpaint:
191
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
192
+ dropout_rate: '0.0'
193
+ dtype: null
194
+ input_key: control_input_inpaint
195
+ output_key: control_input_inpaint
196
+ control_input_inpaint_mask:
197
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
198
+ dropout_rate: '0.0'
199
+ dtype: null
200
+ input_key: control_input_inpaint_mask
201
+ output_key: control_input_inpaint_mask
202
+ control_input_seg:
203
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
204
+ dropout_rate: '0.0'
205
+ dtype: null
206
+ input_key: control_input_seg
207
+ output_key: control_input_seg
208
+ control_input_seg_mask:
209
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
210
+ dropout_rate: '0.0'
211
+ dtype: null
212
+ input_key: control_input_seg_mask
213
+ output_key: control_input_seg_mask
214
+ control_input_vis:
215
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
216
+ dropout_rate: '0.0'
217
+ dtype: null
218
+ input_key: control_input_vis
219
+ output_key: control_input_vis
220
+ control_input_vis_mask:
221
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
222
+ dropout_rate: '0.0'
223
+ dtype: null
224
+ input_key: control_input_vis_mask
225
+ output_key: control_input_vis_mask
226
+ fps:
227
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
228
+ dropout_rate: '0.0'
229
+ dtype: null
230
+ input_key: fps
231
+ output_key: fps
232
+ padding_mask:
233
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
234
+ dropout_rate: '0.0'
235
+ dtype: null
236
+ input_key: padding_mask
237
+ output_key: padding_mask
238
+ reference_image_context:
239
+ _target_: <class 'cosmos_transfer2._src.transfer2.networks.siglip2_image_context.SigLip2EmbImgContext'>
240
+ dropout_rate: '0.5'
241
+ input_key:
242
+ - images
243
+ - video
244
+ - image_context
245
+ num_token: '256'
246
+ output_key: null
247
+ text:
248
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.TextAttr'>
249
+ credential_path: credentials/s3_training.secret
250
+ dropout_rate: '0.2'
251
+ empty_string_embeddings_path: s3://bucket/predict2_assets/reason1_empty_string_embeddings.pt
252
+ input_key:
253
+ - t5_text_embeddings
254
+ use_empty_string: 'False'
255
+ use_video_condition:
256
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.BooleanFlag'>
257
+ dropout_rate: '0.0'
258
+ input_key: fps
259
+ output_key: use_video_condition
260
+ conditioning_strategy: frame_replace
261
+ copy_weight_strategy: first_n
262
+ denoise_replace_gt_frames: true
263
+ ema:
264
+ enabled: false
265
+ iteration_shift: 0
266
+ rate: 0.1
267
+ fsdp_shard_size: 1
268
+ high_sigma_ratio: 0.05
269
+ high_sigma_timesteps_max: 1000
270
+ high_sigma_timesteps_min: 980
271
+ hint_keys: edge
272
+ init_lora_weights: true
273
+ input_caption_key: ai_caption
274
+ input_data_key: video
275
+ input_image_key: images
276
+ lora_alpha: 32
277
+ lora_rank: 32
278
+ lora_target_modules: q_proj,k_proj,v_proj,output_proj,mlp.layer1,mlp.layer2
279
+ max_num_conditional_frames: 2
280
+ min_num_conditional_frames: 0
281
+ net:
282
+ _target_: <class 'cosmos_transfer2._src.transfer2.networks.minimal_v4_lvg_dit_control_vace.MinimalV4LVGControlVaceDiT'>
283
+ adaln_lora_dim: '256'
284
+ atten_backend: minimal_a2a
285
+ concat_padding_mask: 'True'
286
+ condition_strategy: spaced
287
+ crossattn_emb_channels: '1024'
288
+ crossattn_proj_in_channels: '100352'
289
+ extra_image_context_dim: '1152'
290
+ extra_per_block_abs_pos_emb: 'False'
291
+ img_context_deep_proj: 'False'
292
+ in_channels: '16'
293
+ max_frames: '128'
294
+ max_img_h: '240'
295
+ max_img_w: '240'
296
+ mlp_ratio: '4.0'
297
+ model_channels: '2048'
298
+ num_blocks: '28'
299
+ num_control_branches: '1'
300
+ num_heads: '16'
301
+ num_max_modalities: '8'
302
+ out_channels: '16'
303
+ patch_spatial: '2'
304
+ patch_temporal: '1'
305
+ pos_emb_cls: rope3d
306
+ pos_emb_interpolation: crop
307
+ pos_emb_learnable: 'True'
308
+ rope_enable_fps_modulation: 'False'
309
+ rope_h_extrapolation_ratio: '3.0'
310
+ rope_t_extrapolation_ratio: '1.0'
311
+ rope_w_extrapolation_ratio: '3.0'
312
+ sac_config:
313
+ every_n_blocks: 1
314
+ mode: predict2_2b_720_aggressive
315
+ separate_embedders: 'False'
316
+ share_q_in_i2v_cross_attn: 'False'
317
+ spatial_compression_factor: '8'
318
+ timestep_scale: '0.001'
319
+ use_adaln_lora: 'True'
320
+ use_after_proj_for_multi_branch: 'True'
321
+ use_crossattn_projection: 'True'
322
+ use_cuda_graphs: 'False'
323
+ use_input_hint_block: 'False'
324
+ use_wan_fp32_strategy: 'True'
325
+ vace_block_every_n: '7'
326
+ vace_has_mask: 'False'
327
+ precision: bfloat16
328
+ resolution: '720'
329
+ shift: 5
330
+ state_ch: 16
331
+ state_t: 24
332
+ text_encoder_class: reason1p1_7B
333
+ text_encoder_config:
334
+ ckpt_path: s3://bucket/cosmos_reasoning1/sft_exp700/sft_exp721-1_qwen7b_tl_721_5vs5_s3_balanced_n32_resume_16k/checkpoints/iter_000016000/model/
335
+ compute_online: true
336
+ embedding_concat_strategy: full_concat
337
+ model_config:
338
+ _target_: <class 'cosmos_transfer2._src.predict2.text_encoders.reason1.QwenVLBaseModel'>
339
+ model_config:
340
+ _target_: cosmos_transfer2._src.reason1.configs.default.model_config_qwen.QwenModelConfig
341
+ activation_checkpoint:
342
+ mode: selective
343
+ models: vlm
344
+ selective_ac_option: op
345
+ add_answer_tag: 'True'
346
+ add_cross_attention: 'False'
347
+ add_image_start_end_tag: 'False'
348
+ add_tile_tag: 'False'
349
+ architectures:
350
+ - Qwen2_5_VLForConditionalGeneration
351
+ attention_dropout: '0.0'
352
+ attn_implementation: flash_attention_2
353
+ attn_implementation_autoset: 'True'
354
+ aux_loss_coeff: '0.0'
355
+ bad_words_ids: null
356
+ begin_suppress_tokens: null
357
+ bos_token_id: '151643'
358
+ cache_dir: null
359
+ checkpoint:
360
+ async_mode: disabled
361
+ create_seed_checkpoint: false
362
+ enable_checkpoint: false
363
+ export_dtype: float32
364
+ folder: checkpoint
365
+ interval: 500
366
+ interval_type: steps
367
+ model_weights_only: false
368
+ chunk_size_feed_forward: '0'
369
+ ckpt_dir: null
370
+ ckpt_path: null
371
+ comm:
372
+ init_timeout_seconds: 300
373
+ trace_buf_size: 20000
374
+ train_timeout_seconds: 100
375
+ cp_size: null
376
+ cross_attention_hidden_size: null
377
+ decoder_start_token_id: null
378
+ deterministic: 'False'
379
+ diversity_penalty: '0.0'
380
+ do_sample: 'False'
381
+ early_stopping: 'False'
382
+ encoder_no_repeat_ngram_size: '0'
383
+ eos_token_id: '151645'
384
+ ep_size: null
385
+ experimental:
386
+ enable_async_tensor_parallel: false
387
+ enable_compiled_autograd: false
388
+ pipeline_parallel_degree: 1
389
+ exponential_decay_length_penalty: null
390
+ finetuning_task: null
391
+ float8:
392
+ enable_float8_linear: false
393
+ forced_bos_token_id: null
394
+ forced_eos_token_id: null
395
+ freeze_llm: 'False'
396
+ freeze_mm_projector: 'False'
397
+ freeze_vision_encoder: 'False'
398
+ fsdp_enabled: 'False'
399
+ hidden_act: silu
400
+ hidden_size: '3584'
401
+ id2label:
402
+ 0: LABEL_0
403
+ 1: LABEL_1
404
+ image_token_id: '151655'
405
+ initializer_range: '0.02'
406
+ intermediate_size: '18944'
407
+ is_decoder: 'False'
408
+ is_encoder_decoder: 'False'
409
+ label2id:
410
+ LABEL_0: '0'
411
+ LABEL_1: '1'
412
+ length_penalty: '1.0'
413
+ loss_per_token: 'True'
414
+ max_batch_size: '1'
415
+ max_length: '20'
416
+ max_position_embeddings: '128000'
417
+ max_seq_len: '128000'
418
+ max_window_layers: '28'
419
+ min_length: '0'
420
+ mm_projector: null
421
+ model_type: qwen2_5_vl
422
+ name_or_path: Qwen/Qwen2.5-VL-7B-Instruct
423
+ no_repeat_ngram_size: '0'
424
+ num_attention_heads: '28'
425
+ num_beam_groups: '1'
426
+ num_beams: '1'
427
+ num_hidden_layers: '28'
428
+ num_key_value_heads: '4'
429
+ num_return_sequences: '1'
430
+ num_tiles: '1'
431
+ optimizer:
432
+ early_step_in_backward: false
433
+ end_lr: 2.5e-05
434
+ fused: false
435
+ init_lr: 1.0e-05
436
+ lr: 0.0003
437
+ lr_multiplier_llm: 1.0
438
+ lr_multiplier_mm_projector: 1.0
439
+ lr_multiplier_vision_encoder: 0.1
440
+ name: AdamW
441
+ output_attentions: 'False'
442
+ output_hidden_states: 'True'
443
+ output_scores: 'False'
444
+ pad_token_id: null
445
+ precision: bfloat16
446
+ prefix: null
447
+ prepend_padding: 'False'
448
+ problem_type: null
449
+ pruned_heads: _Nothing.NOTHING
450
+ remove_invalid_values: 'False'
451
+ repetition_penalty: '1.0'
452
+ return_dict: 'True'
453
+ return_dict_in_generate: 'False'
454
+ rms_norm_eps: 1e-06
455
+ rope_scaling:
456
+ mrope_section:
457
+ - '16'
458
+ - '24'
459
+ - '24'
460
+ rope_type: default
461
+ type: default
462
+ rope_theta: '1000000.0'
463
+ s3_credential_path: credentials/pbss_dir.secret
464
+ seed: '0'
465
+ sep_token_id: null
466
+ sliding_window: '32768'
467
+ suppress_tokens: null
468
+ task_specific_params: null
469
+ temperature: '1.0'
470
+ tf_legacy_loss: 'False'
471
+ tie_encoder_decoder: 'False'
472
+ tie_word_embeddings: 'False'
473
+ tile_tag_type: space_separated
474
+ tokenizer_class: null
475
+ tokenizer_type: Qwen/Qwen2.5-VL-7B-Instruct
476
+ top_k: '50'
477
+ top_p: '1.0'
478
+ torch_dtype: bfloat16
479
+ torchscript: 'False'
480
+ training:
481
+ compile: false
482
+ context_parallel_degree: 1
483
+ data_parallel_replicate_degree: 1
484
+ data_parallel_shard_degree: -1
485
+ disable_loss_parallel: false
486
+ enable_cpu_offload: false
487
+ fsdp_reshard_after_forward: default
488
+ mixed_precision_param: bfloat16
489
+ mixed_precision_reduce: float32
490
+ steps: 400000
491
+ tensor_parallel_degree: 1
492
+ use_cosine_decay: false
493
+ use_linear_decay: true
494
+ warmup_steps: 1000
495
+ training_seq_len: '4096'
496
+ transformers_version: 4.51.0.dev0
497
+ typical_p: '1.0'
498
+ use_bfloat16: 'False'
499
+ use_cache: 'False'
500
+ use_fsdp2: 'True'
501
+ use_return_dict: 'True'
502
+ use_rope_from_torchtitan: 'False'
503
+ use_sliding_window: 'False'
504
+ video_token_id: '151656'
505
+ vision_config:
506
+ _target_: cosmos_transfer2._src.reason1.configs.default.model_config_qwen.QwenVisionConfig
507
+ add_cross_attention: 'False'
508
+ architectures: null
509
+ attn_implementation: flash_attention_2
510
+ attn_implementation_autoset: 'True'
511
+ bad_words_ids: null
512
+ begin_suppress_tokens: null
513
+ bos_token_id: null
514
+ chunk_size_feed_forward: '0'
515
+ cross_attention_hidden_size: null
516
+ decoder_start_token_id: null
517
+ depth: '32'
518
+ diversity_penalty: '0.0'
519
+ do_sample: 'False'
520
+ early_stopping: 'False'
521
+ embed_dim: null
522
+ encoder_no_repeat_ngram_size: '0'
523
+ eos_token_id: null
524
+ exponential_decay_length_penalty: null
525
+ finetuning_task: null
526
+ forced_bos_token_id: null
527
+ forced_eos_token_id: null
528
+ fullatt_block_indexes:
529
+ - '7'
530
+ - '15'
531
+ - '23'
532
+ - '31'
533
+ hidden_act: silu
534
+ hidden_size: '1280'
535
+ id2label:
536
+ 0: LABEL_0
537
+ 1: LABEL_1
538
+ in_channels: '3'
539
+ in_chans: '3'
540
+ intermediate_size: '3420'
541
+ is_decoder: 'False'
542
+ is_encoder_decoder: 'False'
543
+ label2id:
544
+ LABEL_0: '0'
545
+ LABEL_1: '1'
546
+ length_penalty: '1.0'
547
+ max_length: '20'
548
+ min_length: '0'
549
+ mlp_ratio: null
550
+ model_type: qwen2_5_vl
551
+ name_or_path: ''
552
+ no_repeat_ngram_size: '0'
553
+ num_beam_groups: '1'
554
+ num_beams: '1'
555
+ num_heads: '16'
556
+ num_return_sequences: '1'
557
+ out_hidden_size: '3584'
558
+ output_attentions: 'False'
559
+ output_hidden_states: 'False'
560
+ output_scores: 'False'
561
+ pad_token_id: null
562
+ patch_size: '14'
563
+ prefix: null
564
+ problem_type: null
565
+ pruned_heads: _Nothing.NOTHING
566
+ remove_invalid_values: 'False'
567
+ repetition_penalty: '1.0'
568
+ return_dict: 'True'
569
+ return_dict_in_generate: 'False'
570
+ sep_token_id: null
571
+ spatial_merge_size: '2'
572
+ spatial_patch_size: '14'
573
+ suppress_tokens: null
574
+ task_specific_params: null
575
+ temperature: '1.0'
576
+ temporal_patch_size: '2'
577
+ tf_legacy_loss: 'False'
578
+ tie_encoder_decoder: 'False'
579
+ tie_word_embeddings: 'True'
580
+ tokenizer_class: null
581
+ tokens_per_second: '2'
582
+ top_k: '50'
583
+ top_p: '1.0'
584
+ torch_dtype: bfloat16
585
+ torchscript: 'False'
586
+ typical_p: '1.0'
587
+ use_bfloat16: 'False'
588
+ window_size: '112'
589
+ vision_encoder: openai/clip-vit-base-patch32
590
+ vision_encoder_config:
591
+ depth_init: true
592
+ dim: 1024
593
+ ffn_dim_multiplier: null
594
+ head_dim: null
595
+ hidden_act: null
596
+ hidden_dim: 4096
597
+ image_size: 1024
598
+ image_token_id: null
599
+ multiple_of: null
600
+ n_heads: 16
601
+ n_kv_heads: null
602
+ n_layers: 24
603
+ norm_eps: 1.0e-05
604
+ norm_type: rmsnorm
605
+ num_channels: 3
606
+ patch_size: 16
607
+ proj_bias: null
608
+ qkv_bias: null
609
+ rope_theta: 10000.0
610
+ use_cache: false
611
+ use_rope_from_torchtitan: false
612
+ vision_encoder_in_channels: '3'
613
+ vision_end_token_id: '151653'
614
+ vision_start_token_id: '151652'
615
+ vision_token_id: '151654'
616
+ vocab_size: '152064'
617
+ z_loss_coeff: '0.0'
618
+ tokenizer:
619
+ _target_: <function build_tokenizer at 0x7ff23969b9a0>
620
+ cache_dir: null
621
+ tokenizer_type: Qwen/Qwen2.5-VL-7B-Instruct
622
+ n_layers_per_group: 5
623
+ s3_credential_path: credentials/s3_checkpoint.secret
624
+ tokenizer:
625
+ _target_: <class 'cosmos_transfer2._src.predict2.tokenizers.wan2pt1.Wan2pt1VAEInterface'>
626
+ chunk_duration: '81'
627
+ load_mean_std: 'False'
628
+ name: wan2pt1_tokenizer
629
+ temporal_window: '16'
630
+ train_time_distribution: logitnormal
631
+ train_time_weight: uniform
632
+ use_dora: false
633
+ use_dynamic_shift: false
634
+ use_high_sigma_strategy: false
635
+ use_kerras_sigma_at_inference: false
636
+ use_lora: false
637
+ use_reference_image: true
638
+ use_torch_compile: false
639
+ model_parallel:
640
+ _cpu_offloading_context: null
641
+ async_tensor_model_parallel_allreduce: false
642
+ autocast_dtype: torch.float32
643
+ barrier_with_L1_time: true
644
+ batch_p2p_comm: true
645
+ batch_p2p_sync: true
646
+ bf16: false
647
+ context_parallel_size: 8
648
+ cpu_offloading: false
649
+ cpu_offloading_activations: true
650
+ cpu_offloading_double_buffering: false
651
+ cpu_offloading_num_layers: 0
652
+ cpu_offloading_weights: true
653
+ cross_entropy_fusion_impl: native
654
+ cross_entropy_loss_fusion: false
655
+ deallocate_pipeline_outputs: false
656
+ defer_embedding_wgrad_compute: false
657
+ delay_wgrad_compute: false
658
+ deterministic_mode: false
659
+ enable_autocast: false
660
+ expert_model_parallel_size: 1
661
+ expert_tensor_parallel_size: 1
662
+ finalize_model_grads_func: null
663
+ fp16: false
664
+ grad_scale_func: null
665
+ grad_sync_func: null
666
+ gradient_accumulation_fusion: false
667
+ hierarchical_context_parallel_sizes: null
668
+ microbatch_group_size_per_vp_stage: 1
669
+ moe_extended_tp: false
670
+ no_sync_func: null
671
+ num_microbatches_with_partial_activation_checkpoints: null
672
+ overlap_moe_expert_parallel_comm: false
673
+ overlap_p2p_comm: false
674
+ overlap_p2p_comm_warmup_flush: false
675
+ param_sync_func: null
676
+ params_dtype: torch.float32
677
+ perform_initialization: true
678
+ pipeline_dtype: null
679
+ pipeline_model_parallel_comm_backend: null
680
+ pipeline_model_parallel_size: 1
681
+ sequence_parallel: false
682
+ tensor_model_parallel_size: 1
683
+ timers: null
684
+ tp_comm_atomic_ag: false
685
+ tp_comm_atomic_rs: false
686
+ tp_comm_bootstrap_backend: nccl
687
+ tp_comm_bulk_dgrad: true
688
+ tp_comm_bulk_wgrad: true
689
+ tp_comm_overlap: false
690
+ tp_comm_overlap_ag: true
691
+ tp_comm_overlap_disable_fc1: false
692
+ tp_comm_overlap_disable_qkv: false
693
+ tp_comm_overlap_rs: true
694
+ tp_comm_overlap_rs_dgrad: false
695
+ tp_comm_split_ag: true
696
+ tp_comm_split_rs: true
697
+ use_cpu_initialization: false
698
+ use_ring_exchange_p2p: false
699
+ use_te_rng_tracker: false
700
+ variable_seq_lengths: false
701
+ virtual_pipeline_model_parallel_size: null
702
+ wgrad_deferral_limit: 0
703
+ optimizer:
704
+ _target_: <function get_base_optimizer at 0x7ff2350dc430>
705
+ betas:
706
+ - '0.9'
707
+ - '0.999'
708
+ eps: 1e-08
709
+ fused: 'True'
710
+ lr: '8.63e-05'
711
+ model: null
712
+ optim_type: adamw
713
+ weight_decay: '0.001'
714
+ scheduler:
715
+ _target_: <class 'cosmos_transfer2._src.imaginaire.functional.lr_scheduler.LambdaLinearScheduler'>
716
+ cycle_lengths:
717
+ - '100000'
718
+ f_max:
719
+ - '0.5'
720
+ f_min:
721
+ - '0.2'
722
+ f_start:
723
+ - 1e-06
724
+ verbosity_interval: '0'
725
+ warm_up_steps:
726
+ - '100'
727
+ trainer:
728
+ callbacks:
729
+ compile_tokenizer:
730
+ _target_: <class 'cosmos_transfer2._src.predict2.callbacks.compile_tokenizer.CompileTokenizer'>
731
+ compile_after_iterations: '4'
732
+ dynamic: 'False'
733
+ enabled: 'True'
734
+ dataloader_speed:
735
+ _target_: <class 'cosmos_transfer2._src.predict2.callbacks.dataloading_monitor.DetailedDataLoadingSpeedMonitor'>
736
+ every_n: '200'
737
+ save_s3: 'True'
738
+ step_size: '1'
739
+ device_monitor:
740
+ _target_: <class 'cosmos_transfer2._src.predict2.callbacks.device_monitor.DeviceMonitor'>
741
+ every_n: '200'
742
+ log_memory_detail: 'True'
743
+ save_s3: 'True'
744
+ step_size: '1'
745
+ upload_every_n_mul: '10'
746
+ every_n_sample_ema:
747
+ _target_: <class 'cosmos_transfer2._src.transfer2.callbacks.every_n_draw_sample.EveryNDrawSample'>
748
+ every_n: '5000'
749
+ fix_batch_fp: null
750
+ fps: '16'
751
+ guidance:
752
+ - '0'
753
+ - '3'
754
+ - '7'
755
+ is_ema: 'True'
756
+ is_sample: 'True'
757
+ is_x0: 'False'
758
+ n_sample_to_save: '128'
759
+ n_viz_sample: '3'
760
+ n_x0_level: '4'
761
+ num_sampling_step: '35'
762
+ save_s3: 'True'
763
+ show_all_frames: 'False'
764
+ step_size: '1'
765
+ use_negative_prompt: 'False'
766
+ every_n_sample_reg:
767
+ _target_: <class 'cosmos_transfer2._src.transfer2.callbacks.every_n_draw_sample.EveryNDrawSample'>
768
+ every_n: '5000'
769
+ fix_batch_fp: null
770
+ fps: '16'
771
+ guidance:
772
+ - '0'
773
+ - '3'
774
+ - '7'
775
+ is_ema: 'False'
776
+ is_sample: 'True'
777
+ is_x0: 'False'
778
+ n_sample_to_save: '128'
779
+ n_viz_sample: '3'
780
+ n_x0_level: '4'
781
+ num_sampling_step: '35'
782
+ save_s3: 'True'
783
+ show_all_frames: 'False'
784
+ step_size: '1'
785
+ use_negative_prompt: 'False'
786
+ frame_loss_log:
787
+ _target_: <class 'cosmos_transfer2._src.transfer2.callbacks.frame_loss_log.FrameLossLog'>
788
+ logging_iter_multipler: '1'
789
+ save_logging_iter_multipler: '10'
790
+ save_s3: 'True'
791
+ grad_clip:
792
+ _target_: <class 'cosmos_transfer2._src.predict2.callbacks.grad_clip.GradClip'>
793
+ clip_norm: '0.1'
794
+ force_finite: 'True'
795
+ heart_beat:
796
+ _target_: <class 'cosmos_transfer2._src.predict2.callbacks.heart_beat.HeartBeat'>
797
+ every_n: '10'
798
+ save_s3: 'True'
799
+ step_size: '1'
800
+ update_interval_in_minute: '20'
801
+ iter_speed:
802
+ _target_: <class 'cosmos_transfer2._src.predict2.callbacks.iter_speed.IterSpeed'>
803
+ every_n: '100'
804
+ hit_thres: '300'
805
+ save_s3: 'True'
806
+ save_s3_every_log_n: '10'
807
+ load_base_model:
808
+ _target_: <class 'cosmos_transfer2._src.transfer2.configs.vid2vid_transfer.defaults.callbacks.LoadBaseModel'>
809
+ config: null
810
+ trainer: null
811
+ low_prec:
812
+ _target_: <class 'cosmos_transfer2._src.imaginaire.utils.callback.LowPrecisionCallback'>
813
+ config: null
814
+ trainer: null
815
+ update_iter: '1'
816
+ manual_gc:
817
+ _target_: <class 'cosmos_transfer2._src.imaginaire.callbacks.manual_gc.ManualGarbageCollection'>
818
+ every_n: '200'
819
+ warm_up: '5'
820
+ wandb:
821
+ _target_: <class 'cosmos_transfer2._src.predict2.callbacks.wandb_log.WandbCallback'>
822
+ logging_iter_multipler: '1'
823
+ save_logging_iter_multipler: '10'
824
+ save_s3: 'True'
825
+ wandb_10x:
826
+ _target_: <class 'cosmos_transfer2._src.predict2.callbacks.wandb_log.WandbCallback'>
827
+ logging_iter_multipler: '10'
828
+ save_logging_iter_multipler: '1'
829
+ save_s3: 'True'
830
+ compile_config:
831
+ recompile_limit: '8'
832
+ use_duck_shape: 'True'
833
+ cudnn:
834
+ benchmark: 'True'
835
+ deterministic: 'False'
836
+ ddp:
837
+ broadcast_buffers: 'True'
838
+ find_unused_parameters: 'False'
839
+ static_graph: 'True'
840
+ distributed_parallelism: fsdp
841
+ grad_accum_iter: '1'
842
+ grad_scaler_args:
843
+ enabled: 'False'
844
+ logging_iter: '200'
845
+ max_iter: '100000'
846
+ max_val_iter: null
847
+ memory_format: torch.preserve_format
848
+ profiling:
849
+ enable_memory_snapshot: 'False'
850
+ enable_profiling: 'False'
851
+ profile_freq: '1'
852
+ profile_memory: 'False'
853
+ record_shape: 'False'
854
+ save_s3: 'False'
855
+ target_ranks:
856
+ - '0'
857
+ - '1'
858
+ - '2'
859
+ - '3'
860
+ - '4'
861
+ - '5'
862
+ - '6'
863
+ - '7'
864
+ with_modules: 'True'
865
+ with_stack: 'True'
866
+ run_validation: 'False'
867
+ run_validation_on_start: 'False'
868
+ seed: '0'
869
+ straggler_detection:
870
+ analyze_backward: 'True'
871
+ analyze_dataloading: 'True'
872
+ analyze_forward: 'True'
873
+ analyze_optimizer: 'True'
874
+ enabled: 'True'
875
+ max_diff: '1.5'
876
+ profile_freq: '1'
877
+ raise_error: 'True'
878
+ report_freq: '100'
879
+ timeout_period: '999999999'
880
+ type: <class 'cosmos_transfer2._src.imaginaire.trainer.ImaginaireTrainer'>
881
+ validation_iter: '100'
882
+ upload_reproducible_setup: 'True'
test/sunny/Building/2b_step35_bg0.1_rm1/console.log ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [06-21 22:05:45|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:297:download] Downloading checkpoint Wan2.1/vae(685afcaa-4de2-42fe-b7b9-69f7a2dee4d8)
2
+ [06-21 22:05:45|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:165:_hf_download] uvx 'hf>=1.3.5' download nvidia/Cosmos-Predict2.5-2B --repo-type model --revision f176dc95b4a70f53ce01c4b302851595e7322b00 tokenizer.pth
3
+ [06-21 22:05:50|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:297:download] Downloading checkpoint Qwen/Qwen2.5-VL-7B-Instruct(7219c6c7-f878-4137-bbdb-76842ea85e70)
4
+ [06-21 22:05:50|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:165:_hf_download] uvx 'hf>=1.3.5' download nvidia/Cosmos-Reason1-7B --repo-type model --revision 3210bec0495fdc7a8d3dbb8d58da5711eab4b423 --include '*'
5
+ [06-21 22:05:51|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:297:download] Downloading checkpoint nvidia/Cosmos-Reason1.1-7B(cb3e3ffa-7b08-4c34-822d-61c7aa31a14f)
6
+ [06-21 22:05:51|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:165:_hf_download] uvx 'hf>=1.3.5' download nvidia/Cosmos-Reason1-7B --repo-type model --revision 3210bec0495fdc7a8d3dbb8d58da5711eab4b423 --include '*'
7
+ [06-21 22:05:55|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:297:download] Downloading checkpoint nvidia/Cosmos-Transfer2.5-2B/general/edge(61f5694b-0ad5-4ecd-8ad7-c8545627d125)
8
+ [06-21 22:05:55|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:165:_hf_download] uvx 'hf>=1.3.5' download nvidia/Cosmos-Transfer2.5-2B --repo-type model --revision b67b64abda3801a9aceddbff2bdb86126c06db74 general/edge/61f5694b-0ad5-4ecd-8ad7-c8545627d125_ema_bf16.pt
9
+ [06-21 22:05:57|INFO|cosmos_transfer2/inference.py:146:__init__] Found 1 hint keys across all samples
10
+ [06-21 22:05:57|INFO|cosmos_transfer2/inference.py:156:__init__] Saved config to /scratch/ssaha/cosmos-transfer2.5/outputs/edge_threshold_grid/sunny/Building/2b_step35_bg0.1_rm1/config.yaml
11
+ [06-21 22:05:57|INFO|cosmos_transfer2/inference.py:163:generate] Generating 1 samples: ['sunny_Building_2b_step35_bg0.1_rm1']
12
+ [06-21 22:05:57|INFO|cosmos_transfer2/inference.py:167:generate] [1/1] Processing sample sunny_Building_2b_step35_bg0.1_rm1
13
+ [06-21 22:05:57|INFO|cosmos_transfer2/inference.py:208:_generate_sample] Saved arguments to /scratch/ssaha/cosmos-transfer2.5/outputs/edge_threshold_grid/sunny/Building/2b_step35_bg0.1_rm1/sunny_Building_2b_step35_bg0.1_rm1.json
14
+ [06-21 22:05:57|WARNING|cosmos_transfer2/inference.py:239:_generate_sample] Guardrail checks on prompt are disabled
15
+ [06-21 22:05:57|INFO|cosmos_transfer2/inference.py:242:_generate_sample] Processing the following paths: {'edge': '/scratch/ssaha/cosmos-transfer2.5/outputs/edge_threshold_grid/_edges/sunny/edge_bg0.1_rm1.mp4', 'edge_mask': None, 'edge_mask_prompt': None}
16
+ [06-21 22:16:27|INFO|cosmos_transfer2/inference.py:311:_generate_sample] edge control video saved to /scratch/ssaha/cosmos-transfer2.5/outputs/edge_threshold_grid/sunny/Building/2b_step35_bg0.1_rm1/sunny_Building_2b_step35_bg0.1_rm1_control_edge.mp4
17
+ [06-21 22:16:27|WARNING|cosmos_transfer2/inference.py:335:_generate_sample] Guardrail checks on video are disabled
18
+ [06-21 22:16:29|SUCCESS|cosmos_transfer2/inference.py:343:_generate_sample] Generated video saved to /scratch/ssaha/cosmos-transfer2.5/outputs/edge_threshold_grid/sunny/Building/2b_step35_bg0.1_rm1/sunny_Building_2b_step35_bg0.1_rm1.mp4
test/sunny/Building/2b_step35_bg0.1_rm1/debug.log ADDED
The diff for this file is too large to render. See raw diff
 
test/sunny/Building/2b_step35_bg0.1_rm1/spec.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "sunny_Building_2b_step35_bg0.1_rm1",
3
+ "prompt": "The video shows an urban intersection captured from a vehicle-mounted camera in bright daylight. The streets are lined with ornate classical stone buildings featuring columns, cornices and tall arched windows, their facades warmly lit by the sun. A road network with painted lane markings, stop lines and pedestrian crosswalks runs through the scene, multiple vehicles move through the junction, and the camera follows the moving ego vehicle smoothly. Photorealistic, soft shadows, high detail.",
4
+ "video_path": "/scratch/ssaha/cosmos-transfer2.5/SceneDriveBench/output/priority_from_right/run_000/videos/rgb_front.mp4",
5
+ "guidance": 3,
6
+ "num_steps": 35,
7
+ "seed": 2025,
8
+ "edge": {
9
+ "control_path": "/scratch/ssaha/cosmos-transfer2.5/outputs/edge_threshold_grid/_edges/sunny/edge_bg0.1_rm1.mp4",
10
+ "control_weight": 1.0
11
+ },
12
+ "negative_prompt": "The video captures a game playing, with bad crappy graphics and cartoonish frames. It represents a recording of old outdated games. The lighting looks very fake. The textures are very raw and basic. The geometries are very primitive. The images are very pixelated and of poor CG quality. There are many subtitles in the footage. Overall, the video is unrealistic at all. Modern glass towers, plain concrete blocks, melted or warped facades, floating disconnected structures."
13
+ }
test/sunny/Building/2b_step35_bg0.1_rm1/sunny_Building_2b_step35_bg0.1_rm1.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"name":"sunny_Building_2b_step35_bg0.1_rm1","prompt_path":null,"prompt":"The video shows an urban intersection captured from a vehicle-mounted camera in bright daylight. The streets are lined with ornate classical stone buildings featuring columns, cornices and tall arched windows, their facades warmly lit by the sun. A road network with painted lane markings, stop lines and pedestrian crosswalks runs through the scene, multiple vehicles move through the junction, and the camera follows the moving ego vehicle smoothly. Photorealistic, soft shadows, high detail.","negative_prompt":"The video captures a game playing, with bad crappy graphics and cartoonish frames. It represents a recording of old outdated games. The lighting looks very fake. The textures are very raw and basic. The geometries are very primitive. The images are very pixelated and of poor CG quality. There are many subtitles in the footage. Overall, the video is unrealistic at all. Modern glass towers, plain concrete blocks, melted or warped facades, floating disconnected structures.","seed":2025,"guidance":3,"video_path":"/scratch/ssaha/cosmos-transfer2.5/SceneDriveBench/output/priority_from_right/run_000/videos/rgb_front.mp4","max_frames":null,"context_frame_index":null,"image_context_path":null,"num_conditional_frames":1,"resolution":"720","sigma_max":null,"num_video_frames_per_chunk":93,"num_steps":35,"show_control_condition":false,"show_input":false,"keep_input_resolution":true,"edge":{"control_path":"/scratch/ssaha/cosmos-transfer2.5/outputs/edge_threshold_grid/_edges/sunny/edge_bg0.1_rm1.mp4","control_weight":1.0,"mask_path":null,"mask_prompt":null,"preset_edge_threshold":"medium"},"depth":null,"vis":null,"seg":null,"guided_generation_mask":null,"guided_generation_step_threshold":25,"guided_generation_foreground_labels":null}
test/sunny/Building/2b_step35_bg0.1_rm1/sunny_Building_2b_step35_bg0.1_rm1.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a55c181d4ea1264d46efe3aaf4573fe675ddad6dcd0bce97714fa33c6222907d
3
+ size 3181038
test/sunny/Building/2b_step35_bg0.1_rm1/sunny_Building_2b_step35_bg0.1_rm1.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ The video shows an urban intersection captured from a vehicle-mounted camera in bright daylight. The streets are lined with ornate classical stone buildings featuring columns, cornices and tall arched windows, their facades warmly lit by the sun. A road network with painted lane markings, stop lines and pedestrian crosswalks runs through the scene, multiple vehicles move through the junction, and the camera follows the moving ego vehicle smoothly. Photorealistic, soft shadows, high detail.
test/sunny/Building/2b_step35_bg0.1_rm1/sunny_Building_2b_step35_bg0.1_rm1_control_edge.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d9800c932fc34d15fbeb2c427cb2c6f48cd886aeda13c2702e72fbdf232a5178
3
+ size 1028726
test/sunny/Building/2b_step35_bg0.5_rm1/config.yaml ADDED
@@ -0,0 +1,882 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ checkpoint:
2
+ broadcast_via_filesystem: 'False'
3
+ dcp_async_mode_enabled: 'False'
4
+ enable_gcs_patch_in_boto3: 'False'
5
+ jit:
6
+ device: cuda
7
+ dtype: bfloat16
8
+ enabled: 'False'
9
+ input_shape: null
10
+ strict: 'True'
11
+ keys_not_to_resume: []
12
+ keys_to_skip_loading: []
13
+ load_ema_to_reg: 'False'
14
+ load_from_object_store:
15
+ bucket: bucket
16
+ credentials: credentials/s3_checkpoint.secret
17
+ enabled: 'True'
18
+ load_path: s3://bucket/cosmos_transfer2/vid2vid_2B_control/edge_720p_t24or1_spaced_layer4_cr1pt1_sdev2_lowsigma0.05_uniform_hqv3p1_20250714_64N_rectified_flow_refimdrop0pt5/checkpoints/iter_000032000
19
+ load_training_state: 'False'
20
+ only_load_scheduler_state: 'False'
21
+ save_iter: '1000'
22
+ save_to_object_store:
23
+ bucket: bucket
24
+ credentials: credentials/s3_checkpoint.secret
25
+ enabled: 'True'
26
+ strict_resume: 'False'
27
+ type:
28
+ _target_: <class 'cosmos_transfer2._src.predict2.checkpointer.dcp.DistributedCheckpointer'>
29
+ callbacks: null
30
+ disable_async: 'False'
31
+ verbose: 'True'
32
+ dataloader_train:
33
+ dataloaders:
34
+ image_data:
35
+ ratio: '0'
36
+ video_data:
37
+ dataloader:
38
+ batch_size: '1'
39
+ cache_augment_fn: functools.partial(<function duplicate_batches_random at
40
+ 0x7fc2cf2bf2e0>, n=1.8)
41
+ cache_size: '32'
42
+ concat_size: '1'
43
+ dataset:
44
+ augmentor_name: video_basic_augmentor_v2_with_control_and_image_context
45
+ caption_type: t2w_qwen2p5_7b
46
+ control_input_type: edge
47
+ dataset_resolution_type: gt720p
48
+ embedding_type: null
49
+ max_fps_thres: '60'
50
+ min_fps_thres: '10'
51
+ num_video_frames: '93'
52
+ resolution: '720'
53
+ use_native_fps: 'True'
54
+ video_decoder_name: video_naive_bytes
55
+ num_workers: '4'
56
+ use_cache: 'False'
57
+ ratio: '1'
58
+ video_data_1:
59
+ dataloader:
60
+ batch_size: '6'
61
+ cache_augment_fn: functools.partial(<function duplicate_batches_random at
62
+ 0x7fc2cf2bf2e0>, n=1.8)
63
+ cache_size: '32'
64
+ concat_size: '1'
65
+ dataset:
66
+ augmentor_name: video_basic_augmentor_v2_with_control_and_image_context
67
+ caption_type: t2w_qwen2p5_7b
68
+ control_input_type: edge
69
+ dataset_resolution_type: gt720p
70
+ embedding_type: null
71
+ num_video_frames: '1'
72
+ resolution: '720'
73
+ use_native_fps: 'True'
74
+ video_decoder_name: video_naive_bytes
75
+ num_workers: '4'
76
+ use_cache: 'False'
77
+ ratio: '1'
78
+ dataset:
79
+ augmentor_name: video_basic_augmentor_v2_with_control
80
+ caption_type: t2w_qwen2p5_7b
81
+ control_input_type: edge
82
+ dataset_resolution_type: gt720p
83
+ embedding_type: null
84
+ max_fps_thres: '60'
85
+ min_fps_thres: '10'
86
+ num_video_frames: '93'
87
+ resolution: '720'
88
+ use_native_fps: 'True'
89
+ video_decoder_name: video_naive_bytes
90
+ num_workers: '4'
91
+ dataloader_val:
92
+ _target_: <class 'cosmos_transfer2._src.predict2.datasets.joint_dataloader.IterativeJointDataLoader'>
93
+ dataloaders:
94
+ image_data:
95
+ dataloader:
96
+ _target_: <function get_cached_replay_dataloader at 0x7fc2cf2bf400>
97
+ batch_size: '2'
98
+ cache_augment_fn: null
99
+ cache_replay_name: image_dataloader
100
+ cache_size: '32'
101
+ concat_size: '1'
102
+ dataset:
103
+ _target_: <function get_image_dataset at 0x7fc2cf2bf9a0>
104
+ len_t5: '512'
105
+ resolution: '512'
106
+ t5_dim: '1024'
107
+ num_workers: '8'
108
+ pin_memory: 'True'
109
+ shuffle: 'False'
110
+ use_cache: 'False'
111
+ webdataset: 'False'
112
+ ratio: '1'
113
+ video_data:
114
+ dataloader:
115
+ _target_: <function get_cached_replay_dataloader at 0x7fc2cf2bf400>
116
+ batch_size: '1'
117
+ cache_augment_fn: null
118
+ cache_replay_name: video_dataloader
119
+ cache_size: '32'
120
+ concat_size: '1'
121
+ dataset:
122
+ _target_: <function get_video_dataset at 0x7fc2cf2bfd90>
123
+ len_t5: '512'
124
+ num_video_frames: '136'
125
+ resolution: '512'
126
+ t5_dim: '1024'
127
+ num_workers: '8'
128
+ pin_memory: 'True'
129
+ shuffle: 'False'
130
+ use_cache: 'False'
131
+ webdataset: 'False'
132
+ ratio: '1'
133
+ defaults:
134
+ - _self_
135
+ - data_train: mock
136
+ - data_val: mock
137
+ - optimizer: fusedadamw
138
+ - scheduler: lambdalinear
139
+ - model: ddp
140
+ - callbacks: basic
141
+ - net: null
142
+ - conditioner: video_prediction_control_conditioner
143
+ - ema: power
144
+ - tokenizer: wan2pt1_tokenizer
145
+ - checkpoint: s3
146
+ - ckpt_type: dummy
147
+ - experiment: null
148
+ job:
149
+ cluster: null
150
+ group: vid2vid_2B_control
151
+ name: vid2vid_2B_control_720p_t24_control_layer4_cr1pt1_embedding_rectified_flow_with_image_context_with_image_data
152
+ project: cosmos_transfer2
153
+ wandb_mode: online
154
+ model:
155
+ _recursive_: 'False'
156
+ _target_: <class 'cosmos_transfer2._src.transfer2.models.vid2vid_model_control_vace_rectified_flow.ControlVideo2WorldModelRectifiedFlow'>
157
+ config:
158
+ base_load_from: null
159
+ conditional_frame_timestep: -1.0
160
+ conditional_frames_probs:
161
+ 0: 0.4
162
+ 1: 0.4
163
+ 2: 0.2
164
+ conditioner:
165
+ _target_: <class 'cosmos_transfer2._src.transfer2.configs.vid2vid_transfer.defaults.conditioner.ControlVideo2WorldConditionerImageContext'>
166
+ control_input_depth:
167
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
168
+ dropout_rate: '0.0'
169
+ dtype: null
170
+ input_key: control_input_depth
171
+ output_key: control_input_depth
172
+ control_input_depth_mask:
173
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
174
+ dropout_rate: '0.0'
175
+ dtype: null
176
+ input_key: control_input_depth_mask
177
+ output_key: control_input_depth_mask
178
+ control_input_edge:
179
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
180
+ dropout_rate: '0.0'
181
+ dtype: null
182
+ input_key: control_input_edge
183
+ output_key: control_input_edge
184
+ control_input_edge_mask:
185
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
186
+ dropout_rate: '0.0'
187
+ dtype: null
188
+ input_key: control_input_edge_mask
189
+ output_key: control_input_edge_mask
190
+ control_input_inpaint:
191
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
192
+ dropout_rate: '0.0'
193
+ dtype: null
194
+ input_key: control_input_inpaint
195
+ output_key: control_input_inpaint
196
+ control_input_inpaint_mask:
197
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
198
+ dropout_rate: '0.0'
199
+ dtype: null
200
+ input_key: control_input_inpaint_mask
201
+ output_key: control_input_inpaint_mask
202
+ control_input_seg:
203
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
204
+ dropout_rate: '0.0'
205
+ dtype: null
206
+ input_key: control_input_seg
207
+ output_key: control_input_seg
208
+ control_input_seg_mask:
209
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
210
+ dropout_rate: '0.0'
211
+ dtype: null
212
+ input_key: control_input_seg_mask
213
+ output_key: control_input_seg_mask
214
+ control_input_vis:
215
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
216
+ dropout_rate: '0.0'
217
+ dtype: null
218
+ input_key: control_input_vis
219
+ output_key: control_input_vis
220
+ control_input_vis_mask:
221
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
222
+ dropout_rate: '0.0'
223
+ dtype: null
224
+ input_key: control_input_vis_mask
225
+ output_key: control_input_vis_mask
226
+ fps:
227
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
228
+ dropout_rate: '0.0'
229
+ dtype: null
230
+ input_key: fps
231
+ output_key: fps
232
+ padding_mask:
233
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
234
+ dropout_rate: '0.0'
235
+ dtype: null
236
+ input_key: padding_mask
237
+ output_key: padding_mask
238
+ reference_image_context:
239
+ _target_: <class 'cosmos_transfer2._src.transfer2.networks.siglip2_image_context.SigLip2EmbImgContext'>
240
+ dropout_rate: '0.5'
241
+ input_key:
242
+ - images
243
+ - video
244
+ - image_context
245
+ num_token: '256'
246
+ output_key: null
247
+ text:
248
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.TextAttr'>
249
+ credential_path: credentials/s3_training.secret
250
+ dropout_rate: '0.2'
251
+ empty_string_embeddings_path: s3://bucket/predict2_assets/reason1_empty_string_embeddings.pt
252
+ input_key:
253
+ - t5_text_embeddings
254
+ use_empty_string: 'False'
255
+ use_video_condition:
256
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.BooleanFlag'>
257
+ dropout_rate: '0.0'
258
+ input_key: fps
259
+ output_key: use_video_condition
260
+ conditioning_strategy: frame_replace
261
+ copy_weight_strategy: first_n
262
+ denoise_replace_gt_frames: true
263
+ ema:
264
+ enabled: false
265
+ iteration_shift: 0
266
+ rate: 0.1
267
+ fsdp_shard_size: 1
268
+ high_sigma_ratio: 0.05
269
+ high_sigma_timesteps_max: 1000
270
+ high_sigma_timesteps_min: 980
271
+ hint_keys: edge
272
+ init_lora_weights: true
273
+ input_caption_key: ai_caption
274
+ input_data_key: video
275
+ input_image_key: images
276
+ lora_alpha: 32
277
+ lora_rank: 32
278
+ lora_target_modules: q_proj,k_proj,v_proj,output_proj,mlp.layer1,mlp.layer2
279
+ max_num_conditional_frames: 2
280
+ min_num_conditional_frames: 0
281
+ net:
282
+ _target_: <class 'cosmos_transfer2._src.transfer2.networks.minimal_v4_lvg_dit_control_vace.MinimalV4LVGControlVaceDiT'>
283
+ adaln_lora_dim: '256'
284
+ atten_backend: minimal_a2a
285
+ concat_padding_mask: 'True'
286
+ condition_strategy: spaced
287
+ crossattn_emb_channels: '1024'
288
+ crossattn_proj_in_channels: '100352'
289
+ extra_image_context_dim: '1152'
290
+ extra_per_block_abs_pos_emb: 'False'
291
+ img_context_deep_proj: 'False'
292
+ in_channels: '16'
293
+ max_frames: '128'
294
+ max_img_h: '240'
295
+ max_img_w: '240'
296
+ mlp_ratio: '4.0'
297
+ model_channels: '2048'
298
+ num_blocks: '28'
299
+ num_control_branches: '1'
300
+ num_heads: '16'
301
+ num_max_modalities: '8'
302
+ out_channels: '16'
303
+ patch_spatial: '2'
304
+ patch_temporal: '1'
305
+ pos_emb_cls: rope3d
306
+ pos_emb_interpolation: crop
307
+ pos_emb_learnable: 'True'
308
+ rope_enable_fps_modulation: 'False'
309
+ rope_h_extrapolation_ratio: '3.0'
310
+ rope_t_extrapolation_ratio: '1.0'
311
+ rope_w_extrapolation_ratio: '3.0'
312
+ sac_config:
313
+ every_n_blocks: 1
314
+ mode: predict2_2b_720_aggressive
315
+ separate_embedders: 'False'
316
+ share_q_in_i2v_cross_attn: 'False'
317
+ spatial_compression_factor: '8'
318
+ timestep_scale: '0.001'
319
+ use_adaln_lora: 'True'
320
+ use_after_proj_for_multi_branch: 'True'
321
+ use_crossattn_projection: 'True'
322
+ use_cuda_graphs: 'False'
323
+ use_input_hint_block: 'False'
324
+ use_wan_fp32_strategy: 'True'
325
+ vace_block_every_n: '7'
326
+ vace_has_mask: 'False'
327
+ precision: bfloat16
328
+ resolution: '720'
329
+ shift: 5
330
+ state_ch: 16
331
+ state_t: 24
332
+ text_encoder_class: reason1p1_7B
333
+ text_encoder_config:
334
+ ckpt_path: s3://bucket/cosmos_reasoning1/sft_exp700/sft_exp721-1_qwen7b_tl_721_5vs5_s3_balanced_n32_resume_16k/checkpoints/iter_000016000/model/
335
+ compute_online: true
336
+ embedding_concat_strategy: full_concat
337
+ model_config:
338
+ _target_: <class 'cosmos_transfer2._src.predict2.text_encoders.reason1.QwenVLBaseModel'>
339
+ model_config:
340
+ _target_: cosmos_transfer2._src.reason1.configs.default.model_config_qwen.QwenModelConfig
341
+ activation_checkpoint:
342
+ mode: selective
343
+ models: vlm
344
+ selective_ac_option: op
345
+ add_answer_tag: 'True'
346
+ add_cross_attention: 'False'
347
+ add_image_start_end_tag: 'False'
348
+ add_tile_tag: 'False'
349
+ architectures:
350
+ - Qwen2_5_VLForConditionalGeneration
351
+ attention_dropout: '0.0'
352
+ attn_implementation: flash_attention_2
353
+ attn_implementation_autoset: 'True'
354
+ aux_loss_coeff: '0.0'
355
+ bad_words_ids: null
356
+ begin_suppress_tokens: null
357
+ bos_token_id: '151643'
358
+ cache_dir: null
359
+ checkpoint:
360
+ async_mode: disabled
361
+ create_seed_checkpoint: false
362
+ enable_checkpoint: false
363
+ export_dtype: float32
364
+ folder: checkpoint
365
+ interval: 500
366
+ interval_type: steps
367
+ model_weights_only: false
368
+ chunk_size_feed_forward: '0'
369
+ ckpt_dir: null
370
+ ckpt_path: null
371
+ comm:
372
+ init_timeout_seconds: 300
373
+ trace_buf_size: 20000
374
+ train_timeout_seconds: 100
375
+ cp_size: null
376
+ cross_attention_hidden_size: null
377
+ decoder_start_token_id: null
378
+ deterministic: 'False'
379
+ diversity_penalty: '0.0'
380
+ do_sample: 'False'
381
+ early_stopping: 'False'
382
+ encoder_no_repeat_ngram_size: '0'
383
+ eos_token_id: '151645'
384
+ ep_size: null
385
+ experimental:
386
+ enable_async_tensor_parallel: false
387
+ enable_compiled_autograd: false
388
+ pipeline_parallel_degree: 1
389
+ exponential_decay_length_penalty: null
390
+ finetuning_task: null
391
+ float8:
392
+ enable_float8_linear: false
393
+ forced_bos_token_id: null
394
+ forced_eos_token_id: null
395
+ freeze_llm: 'False'
396
+ freeze_mm_projector: 'False'
397
+ freeze_vision_encoder: 'False'
398
+ fsdp_enabled: 'False'
399
+ hidden_act: silu
400
+ hidden_size: '3584'
401
+ id2label:
402
+ 0: LABEL_0
403
+ 1: LABEL_1
404
+ image_token_id: '151655'
405
+ initializer_range: '0.02'
406
+ intermediate_size: '18944'
407
+ is_decoder: 'False'
408
+ is_encoder_decoder: 'False'
409
+ label2id:
410
+ LABEL_0: '0'
411
+ LABEL_1: '1'
412
+ length_penalty: '1.0'
413
+ loss_per_token: 'True'
414
+ max_batch_size: '1'
415
+ max_length: '20'
416
+ max_position_embeddings: '128000'
417
+ max_seq_len: '128000'
418
+ max_window_layers: '28'
419
+ min_length: '0'
420
+ mm_projector: null
421
+ model_type: qwen2_5_vl
422
+ name_or_path: Qwen/Qwen2.5-VL-7B-Instruct
423
+ no_repeat_ngram_size: '0'
424
+ num_attention_heads: '28'
425
+ num_beam_groups: '1'
426
+ num_beams: '1'
427
+ num_hidden_layers: '28'
428
+ num_key_value_heads: '4'
429
+ num_return_sequences: '1'
430
+ num_tiles: '1'
431
+ optimizer:
432
+ early_step_in_backward: false
433
+ end_lr: 2.5e-05
434
+ fused: false
435
+ init_lr: 1.0e-05
436
+ lr: 0.0003
437
+ lr_multiplier_llm: 1.0
438
+ lr_multiplier_mm_projector: 1.0
439
+ lr_multiplier_vision_encoder: 0.1
440
+ name: AdamW
441
+ output_attentions: 'False'
442
+ output_hidden_states: 'True'
443
+ output_scores: 'False'
444
+ pad_token_id: null
445
+ precision: bfloat16
446
+ prefix: null
447
+ prepend_padding: 'False'
448
+ problem_type: null
449
+ pruned_heads: _Nothing.NOTHING
450
+ remove_invalid_values: 'False'
451
+ repetition_penalty: '1.0'
452
+ return_dict: 'True'
453
+ return_dict_in_generate: 'False'
454
+ rms_norm_eps: 1e-06
455
+ rope_scaling:
456
+ mrope_section:
457
+ - '16'
458
+ - '24'
459
+ - '24'
460
+ rope_type: default
461
+ type: default
462
+ rope_theta: '1000000.0'
463
+ s3_credential_path: credentials/pbss_dir.secret
464
+ seed: '0'
465
+ sep_token_id: null
466
+ sliding_window: '32768'
467
+ suppress_tokens: null
468
+ task_specific_params: null
469
+ temperature: '1.0'
470
+ tf_legacy_loss: 'False'
471
+ tie_encoder_decoder: 'False'
472
+ tie_word_embeddings: 'False'
473
+ tile_tag_type: space_separated
474
+ tokenizer_class: null
475
+ tokenizer_type: Qwen/Qwen2.5-VL-7B-Instruct
476
+ top_k: '50'
477
+ top_p: '1.0'
478
+ torch_dtype: bfloat16
479
+ torchscript: 'False'
480
+ training:
481
+ compile: false
482
+ context_parallel_degree: 1
483
+ data_parallel_replicate_degree: 1
484
+ data_parallel_shard_degree: -1
485
+ disable_loss_parallel: false
486
+ enable_cpu_offload: false
487
+ fsdp_reshard_after_forward: default
488
+ mixed_precision_param: bfloat16
489
+ mixed_precision_reduce: float32
490
+ steps: 400000
491
+ tensor_parallel_degree: 1
492
+ use_cosine_decay: false
493
+ use_linear_decay: true
494
+ warmup_steps: 1000
495
+ training_seq_len: '4096'
496
+ transformers_version: 4.51.0.dev0
497
+ typical_p: '1.0'
498
+ use_bfloat16: 'False'
499
+ use_cache: 'False'
500
+ use_fsdp2: 'True'
501
+ use_return_dict: 'True'
502
+ use_rope_from_torchtitan: 'False'
503
+ use_sliding_window: 'False'
504
+ video_token_id: '151656'
505
+ vision_config:
506
+ _target_: cosmos_transfer2._src.reason1.configs.default.model_config_qwen.QwenVisionConfig
507
+ add_cross_attention: 'False'
508
+ architectures: null
509
+ attn_implementation: flash_attention_2
510
+ attn_implementation_autoset: 'True'
511
+ bad_words_ids: null
512
+ begin_suppress_tokens: null
513
+ bos_token_id: null
514
+ chunk_size_feed_forward: '0'
515
+ cross_attention_hidden_size: null
516
+ decoder_start_token_id: null
517
+ depth: '32'
518
+ diversity_penalty: '0.0'
519
+ do_sample: 'False'
520
+ early_stopping: 'False'
521
+ embed_dim: null
522
+ encoder_no_repeat_ngram_size: '0'
523
+ eos_token_id: null
524
+ exponential_decay_length_penalty: null
525
+ finetuning_task: null
526
+ forced_bos_token_id: null
527
+ forced_eos_token_id: null
528
+ fullatt_block_indexes:
529
+ - '7'
530
+ - '15'
531
+ - '23'
532
+ - '31'
533
+ hidden_act: silu
534
+ hidden_size: '1280'
535
+ id2label:
536
+ 0: LABEL_0
537
+ 1: LABEL_1
538
+ in_channels: '3'
539
+ in_chans: '3'
540
+ intermediate_size: '3420'
541
+ is_decoder: 'False'
542
+ is_encoder_decoder: 'False'
543
+ label2id:
544
+ LABEL_0: '0'
545
+ LABEL_1: '1'
546
+ length_penalty: '1.0'
547
+ max_length: '20'
548
+ min_length: '0'
549
+ mlp_ratio: null
550
+ model_type: qwen2_5_vl
551
+ name_or_path: ''
552
+ no_repeat_ngram_size: '0'
553
+ num_beam_groups: '1'
554
+ num_beams: '1'
555
+ num_heads: '16'
556
+ num_return_sequences: '1'
557
+ out_hidden_size: '3584'
558
+ output_attentions: 'False'
559
+ output_hidden_states: 'False'
560
+ output_scores: 'False'
561
+ pad_token_id: null
562
+ patch_size: '14'
563
+ prefix: null
564
+ problem_type: null
565
+ pruned_heads: _Nothing.NOTHING
566
+ remove_invalid_values: 'False'
567
+ repetition_penalty: '1.0'
568
+ return_dict: 'True'
569
+ return_dict_in_generate: 'False'
570
+ sep_token_id: null
571
+ spatial_merge_size: '2'
572
+ spatial_patch_size: '14'
573
+ suppress_tokens: null
574
+ task_specific_params: null
575
+ temperature: '1.0'
576
+ temporal_patch_size: '2'
577
+ tf_legacy_loss: 'False'
578
+ tie_encoder_decoder: 'False'
579
+ tie_word_embeddings: 'True'
580
+ tokenizer_class: null
581
+ tokens_per_second: '2'
582
+ top_k: '50'
583
+ top_p: '1.0'
584
+ torch_dtype: bfloat16
585
+ torchscript: 'False'
586
+ typical_p: '1.0'
587
+ use_bfloat16: 'False'
588
+ window_size: '112'
589
+ vision_encoder: openai/clip-vit-base-patch32
590
+ vision_encoder_config:
591
+ depth_init: true
592
+ dim: 1024
593
+ ffn_dim_multiplier: null
594
+ head_dim: null
595
+ hidden_act: null
596
+ hidden_dim: 4096
597
+ image_size: 1024
598
+ image_token_id: null
599
+ multiple_of: null
600
+ n_heads: 16
601
+ n_kv_heads: null
602
+ n_layers: 24
603
+ norm_eps: 1.0e-05
604
+ norm_type: rmsnorm
605
+ num_channels: 3
606
+ patch_size: 16
607
+ proj_bias: null
608
+ qkv_bias: null
609
+ rope_theta: 10000.0
610
+ use_cache: false
611
+ use_rope_from_torchtitan: false
612
+ vision_encoder_in_channels: '3'
613
+ vision_end_token_id: '151653'
614
+ vision_start_token_id: '151652'
615
+ vision_token_id: '151654'
616
+ vocab_size: '152064'
617
+ z_loss_coeff: '0.0'
618
+ tokenizer:
619
+ _target_: <function build_tokenizer at 0x7fc2d399f9a0>
620
+ cache_dir: null
621
+ tokenizer_type: Qwen/Qwen2.5-VL-7B-Instruct
622
+ n_layers_per_group: 5
623
+ s3_credential_path: credentials/s3_checkpoint.secret
624
+ tokenizer:
625
+ _target_: <class 'cosmos_transfer2._src.predict2.tokenizers.wan2pt1.Wan2pt1VAEInterface'>
626
+ chunk_duration: '81'
627
+ load_mean_std: 'False'
628
+ name: wan2pt1_tokenizer
629
+ temporal_window: '16'
630
+ train_time_distribution: logitnormal
631
+ train_time_weight: uniform
632
+ use_dora: false
633
+ use_dynamic_shift: false
634
+ use_high_sigma_strategy: false
635
+ use_kerras_sigma_at_inference: false
636
+ use_lora: false
637
+ use_reference_image: true
638
+ use_torch_compile: false
639
+ model_parallel:
640
+ _cpu_offloading_context: null
641
+ async_tensor_model_parallel_allreduce: false
642
+ autocast_dtype: torch.float32
643
+ barrier_with_L1_time: true
644
+ batch_p2p_comm: true
645
+ batch_p2p_sync: true
646
+ bf16: false
647
+ context_parallel_size: 8
648
+ cpu_offloading: false
649
+ cpu_offloading_activations: true
650
+ cpu_offloading_double_buffering: false
651
+ cpu_offloading_num_layers: 0
652
+ cpu_offloading_weights: true
653
+ cross_entropy_fusion_impl: native
654
+ cross_entropy_loss_fusion: false
655
+ deallocate_pipeline_outputs: false
656
+ defer_embedding_wgrad_compute: false
657
+ delay_wgrad_compute: false
658
+ deterministic_mode: false
659
+ enable_autocast: false
660
+ expert_model_parallel_size: 1
661
+ expert_tensor_parallel_size: 1
662
+ finalize_model_grads_func: null
663
+ fp16: false
664
+ grad_scale_func: null
665
+ grad_sync_func: null
666
+ gradient_accumulation_fusion: false
667
+ hierarchical_context_parallel_sizes: null
668
+ microbatch_group_size_per_vp_stage: 1
669
+ moe_extended_tp: false
670
+ no_sync_func: null
671
+ num_microbatches_with_partial_activation_checkpoints: null
672
+ overlap_moe_expert_parallel_comm: false
673
+ overlap_p2p_comm: false
674
+ overlap_p2p_comm_warmup_flush: false
675
+ param_sync_func: null
676
+ params_dtype: torch.float32
677
+ perform_initialization: true
678
+ pipeline_dtype: null
679
+ pipeline_model_parallel_comm_backend: null
680
+ pipeline_model_parallel_size: 1
681
+ sequence_parallel: false
682
+ tensor_model_parallel_size: 1
683
+ timers: null
684
+ tp_comm_atomic_ag: false
685
+ tp_comm_atomic_rs: false
686
+ tp_comm_bootstrap_backend: nccl
687
+ tp_comm_bulk_dgrad: true
688
+ tp_comm_bulk_wgrad: true
689
+ tp_comm_overlap: false
690
+ tp_comm_overlap_ag: true
691
+ tp_comm_overlap_disable_fc1: false
692
+ tp_comm_overlap_disable_qkv: false
693
+ tp_comm_overlap_rs: true
694
+ tp_comm_overlap_rs_dgrad: false
695
+ tp_comm_split_ag: true
696
+ tp_comm_split_rs: true
697
+ use_cpu_initialization: false
698
+ use_ring_exchange_p2p: false
699
+ use_te_rng_tracker: false
700
+ variable_seq_lengths: false
701
+ virtual_pipeline_model_parallel_size: null
702
+ wgrad_deferral_limit: 0
703
+ optimizer:
704
+ _target_: <function get_base_optimizer at 0x7fc2cf3e4430>
705
+ betas:
706
+ - '0.9'
707
+ - '0.999'
708
+ eps: 1e-08
709
+ fused: 'True'
710
+ lr: '8.63e-05'
711
+ model: null
712
+ optim_type: adamw
713
+ weight_decay: '0.001'
714
+ scheduler:
715
+ _target_: <class 'cosmos_transfer2._src.imaginaire.functional.lr_scheduler.LambdaLinearScheduler'>
716
+ cycle_lengths:
717
+ - '100000'
718
+ f_max:
719
+ - '0.5'
720
+ f_min:
721
+ - '0.2'
722
+ f_start:
723
+ - 1e-06
724
+ verbosity_interval: '0'
725
+ warm_up_steps:
726
+ - '100'
727
+ trainer:
728
+ callbacks:
729
+ compile_tokenizer:
730
+ _target_: <class 'cosmos_transfer2._src.predict2.callbacks.compile_tokenizer.CompileTokenizer'>
731
+ compile_after_iterations: '4'
732
+ dynamic: 'False'
733
+ enabled: 'True'
734
+ dataloader_speed:
735
+ _target_: <class 'cosmos_transfer2._src.predict2.callbacks.dataloading_monitor.DetailedDataLoadingSpeedMonitor'>
736
+ every_n: '200'
737
+ save_s3: 'True'
738
+ step_size: '1'
739
+ device_monitor:
740
+ _target_: <class 'cosmos_transfer2._src.predict2.callbacks.device_monitor.DeviceMonitor'>
741
+ every_n: '200'
742
+ log_memory_detail: 'True'
743
+ save_s3: 'True'
744
+ step_size: '1'
745
+ upload_every_n_mul: '10'
746
+ every_n_sample_ema:
747
+ _target_: <class 'cosmos_transfer2._src.transfer2.callbacks.every_n_draw_sample.EveryNDrawSample'>
748
+ every_n: '5000'
749
+ fix_batch_fp: null
750
+ fps: '16'
751
+ guidance:
752
+ - '0'
753
+ - '3'
754
+ - '7'
755
+ is_ema: 'True'
756
+ is_sample: 'True'
757
+ is_x0: 'False'
758
+ n_sample_to_save: '128'
759
+ n_viz_sample: '3'
760
+ n_x0_level: '4'
761
+ num_sampling_step: '35'
762
+ save_s3: 'True'
763
+ show_all_frames: 'False'
764
+ step_size: '1'
765
+ use_negative_prompt: 'False'
766
+ every_n_sample_reg:
767
+ _target_: <class 'cosmos_transfer2._src.transfer2.callbacks.every_n_draw_sample.EveryNDrawSample'>
768
+ every_n: '5000'
769
+ fix_batch_fp: null
770
+ fps: '16'
771
+ guidance:
772
+ - '0'
773
+ - '3'
774
+ - '7'
775
+ is_ema: 'False'
776
+ is_sample: 'True'
777
+ is_x0: 'False'
778
+ n_sample_to_save: '128'
779
+ n_viz_sample: '3'
780
+ n_x0_level: '4'
781
+ num_sampling_step: '35'
782
+ save_s3: 'True'
783
+ show_all_frames: 'False'
784
+ step_size: '1'
785
+ use_negative_prompt: 'False'
786
+ frame_loss_log:
787
+ _target_: <class 'cosmos_transfer2._src.transfer2.callbacks.frame_loss_log.FrameLossLog'>
788
+ logging_iter_multipler: '1'
789
+ save_logging_iter_multipler: '10'
790
+ save_s3: 'True'
791
+ grad_clip:
792
+ _target_: <class 'cosmos_transfer2._src.predict2.callbacks.grad_clip.GradClip'>
793
+ clip_norm: '0.1'
794
+ force_finite: 'True'
795
+ heart_beat:
796
+ _target_: <class 'cosmos_transfer2._src.predict2.callbacks.heart_beat.HeartBeat'>
797
+ every_n: '10'
798
+ save_s3: 'True'
799
+ step_size: '1'
800
+ update_interval_in_minute: '20'
801
+ iter_speed:
802
+ _target_: <class 'cosmos_transfer2._src.predict2.callbacks.iter_speed.IterSpeed'>
803
+ every_n: '100'
804
+ hit_thres: '300'
805
+ save_s3: 'True'
806
+ save_s3_every_log_n: '10'
807
+ load_base_model:
808
+ _target_: <class 'cosmos_transfer2._src.transfer2.configs.vid2vid_transfer.defaults.callbacks.LoadBaseModel'>
809
+ config: null
810
+ trainer: null
811
+ low_prec:
812
+ _target_: <class 'cosmos_transfer2._src.imaginaire.utils.callback.LowPrecisionCallback'>
813
+ config: null
814
+ trainer: null
815
+ update_iter: '1'
816
+ manual_gc:
817
+ _target_: <class 'cosmos_transfer2._src.imaginaire.callbacks.manual_gc.ManualGarbageCollection'>
818
+ every_n: '200'
819
+ warm_up: '5'
820
+ wandb:
821
+ _target_: <class 'cosmos_transfer2._src.predict2.callbacks.wandb_log.WandbCallback'>
822
+ logging_iter_multipler: '1'
823
+ save_logging_iter_multipler: '10'
824
+ save_s3: 'True'
825
+ wandb_10x:
826
+ _target_: <class 'cosmos_transfer2._src.predict2.callbacks.wandb_log.WandbCallback'>
827
+ logging_iter_multipler: '10'
828
+ save_logging_iter_multipler: '1'
829
+ save_s3: 'True'
830
+ compile_config:
831
+ recompile_limit: '8'
832
+ use_duck_shape: 'True'
833
+ cudnn:
834
+ benchmark: 'True'
835
+ deterministic: 'False'
836
+ ddp:
837
+ broadcast_buffers: 'True'
838
+ find_unused_parameters: 'False'
839
+ static_graph: 'True'
840
+ distributed_parallelism: fsdp
841
+ grad_accum_iter: '1'
842
+ grad_scaler_args:
843
+ enabled: 'False'
844
+ logging_iter: '200'
845
+ max_iter: '100000'
846
+ max_val_iter: null
847
+ memory_format: torch.preserve_format
848
+ profiling:
849
+ enable_memory_snapshot: 'False'
850
+ enable_profiling: 'False'
851
+ profile_freq: '1'
852
+ profile_memory: 'False'
853
+ record_shape: 'False'
854
+ save_s3: 'False'
855
+ target_ranks:
856
+ - '0'
857
+ - '1'
858
+ - '2'
859
+ - '3'
860
+ - '4'
861
+ - '5'
862
+ - '6'
863
+ - '7'
864
+ with_modules: 'True'
865
+ with_stack: 'True'
866
+ run_validation: 'False'
867
+ run_validation_on_start: 'False'
868
+ seed: '0'
869
+ straggler_detection:
870
+ analyze_backward: 'True'
871
+ analyze_dataloading: 'True'
872
+ analyze_forward: 'True'
873
+ analyze_optimizer: 'True'
874
+ enabled: 'True'
875
+ max_diff: '1.5'
876
+ profile_freq: '1'
877
+ raise_error: 'True'
878
+ report_freq: '100'
879
+ timeout_period: '999999999'
880
+ type: <class 'cosmos_transfer2._src.imaginaire.trainer.ImaginaireTrainer'>
881
+ validation_iter: '100'
882
+ upload_reproducible_setup: 'True'
test/sunny/Building/2b_step35_bg0.5_rm1/console.log ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [06-21 22:17:15|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:297:download] Downloading checkpoint Wan2.1/vae(685afcaa-4de2-42fe-b7b9-69f7a2dee4d8)
2
+ [06-21 22:17:15|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:165:_hf_download] uvx 'hf>=1.3.5' download nvidia/Cosmos-Predict2.5-2B --repo-type model --revision f176dc95b4a70f53ce01c4b302851595e7322b00 tokenizer.pth
3
+ [06-21 22:17:21|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:297:download] Downloading checkpoint Qwen/Qwen2.5-VL-7B-Instruct(7219c6c7-f878-4137-bbdb-76842ea85e70)
4
+ [06-21 22:17:21|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:165:_hf_download] uvx 'hf>=1.3.5' download nvidia/Cosmos-Reason1-7B --repo-type model --revision 3210bec0495fdc7a8d3dbb8d58da5711eab4b423 --include '*'
5
+ [06-21 22:17:22|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:297:download] Downloading checkpoint nvidia/Cosmos-Reason1.1-7B(cb3e3ffa-7b08-4c34-822d-61c7aa31a14f)
6
+ [06-21 22:17:22|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:165:_hf_download] uvx 'hf>=1.3.5' download nvidia/Cosmos-Reason1-7B --repo-type model --revision 3210bec0495fdc7a8d3dbb8d58da5711eab4b423 --include '*'
7
+ [06-21 22:17:28|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:297:download] Downloading checkpoint nvidia/Cosmos-Transfer2.5-2B/general/edge(61f5694b-0ad5-4ecd-8ad7-c8545627d125)
8
+ [06-21 22:17:28|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:165:_hf_download] uvx 'hf>=1.3.5' download nvidia/Cosmos-Transfer2.5-2B --repo-type model --revision b67b64abda3801a9aceddbff2bdb86126c06db74 general/edge/61f5694b-0ad5-4ecd-8ad7-c8545627d125_ema_bf16.pt
9
+ [06-21 22:17:30|INFO|cosmos_transfer2/inference.py:146:__init__] Found 1 hint keys across all samples
10
+ [06-21 22:17:30|INFO|cosmos_transfer2/inference.py:156:__init__] Saved config to /scratch/ssaha/cosmos-transfer2.5/outputs/edge_threshold_grid/sunny/Building/2b_step35_bg0.5_rm1/config.yaml
11
+ [06-21 22:17:30|INFO|cosmos_transfer2/inference.py:163:generate] Generating 1 samples: ['sunny_Building_2b_step35_bg0.5_rm1']
12
+ [06-21 22:17:30|INFO|cosmos_transfer2/inference.py:167:generate] [1/1] Processing sample sunny_Building_2b_step35_bg0.5_rm1
13
+ [06-21 22:17:30|INFO|cosmos_transfer2/inference.py:208:_generate_sample] Saved arguments to /scratch/ssaha/cosmos-transfer2.5/outputs/edge_threshold_grid/sunny/Building/2b_step35_bg0.5_rm1/sunny_Building_2b_step35_bg0.5_rm1.json
14
+ [06-21 22:17:30|WARNING|cosmos_transfer2/inference.py:239:_generate_sample] Guardrail checks on prompt are disabled
15
+ [06-21 22:17:30|INFO|cosmos_transfer2/inference.py:242:_generate_sample] Processing the following paths: {'edge': '/scratch/ssaha/cosmos-transfer2.5/outputs/edge_threshold_grid/_edges/sunny/edge_bg0.5_rm1.mp4', 'edge_mask': None, 'edge_mask_prompt': None}
16
+ [06-21 22:28:01|INFO|cosmos_transfer2/inference.py:311:_generate_sample] edge control video saved to /scratch/ssaha/cosmos-transfer2.5/outputs/edge_threshold_grid/sunny/Building/2b_step35_bg0.5_rm1/sunny_Building_2b_step35_bg0.5_rm1_control_edge.mp4
17
+ [06-21 22:28:01|WARNING|cosmos_transfer2/inference.py:335:_generate_sample] Guardrail checks on video are disabled
18
+ [06-21 22:28:02|SUCCESS|cosmos_transfer2/inference.py:343:_generate_sample] Generated video saved to /scratch/ssaha/cosmos-transfer2.5/outputs/edge_threshold_grid/sunny/Building/2b_step35_bg0.5_rm1/sunny_Building_2b_step35_bg0.5_rm1.mp4
test/sunny/Building/2b_step35_bg0.5_rm1/debug.log ADDED
The diff for this file is too large to render. See raw diff
 
test/sunny/Building/2b_step35_bg0.5_rm1/spec.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "sunny_Building_2b_step35_bg0.5_rm1",
3
+ "prompt": "The video shows an urban intersection captured from a vehicle-mounted camera in bright daylight. The streets are lined with ornate classical stone buildings featuring columns, cornices and tall arched windows, their facades warmly lit by the sun. A road network with painted lane markings, stop lines and pedestrian crosswalks runs through the scene, multiple vehicles move through the junction, and the camera follows the moving ego vehicle smoothly. Photorealistic, soft shadows, high detail.",
4
+ "video_path": "/scratch/ssaha/cosmos-transfer2.5/SceneDriveBench/output/priority_from_right/run_000/videos/rgb_front.mp4",
5
+ "guidance": 3,
6
+ "num_steps": 35,
7
+ "seed": 2025,
8
+ "edge": {
9
+ "control_path": "/scratch/ssaha/cosmos-transfer2.5/outputs/edge_threshold_grid/_edges/sunny/edge_bg0.5_rm1.mp4",
10
+ "control_weight": 1.0
11
+ },
12
+ "negative_prompt": "The video captures a game playing, with bad crappy graphics and cartoonish frames. It represents a recording of old outdated games. The lighting looks very fake. The textures are very raw and basic. The geometries are very primitive. The images are very pixelated and of poor CG quality. There are many subtitles in the footage. Overall, the video is unrealistic at all. Modern glass towers, plain concrete blocks, melted or warped facades, floating disconnected structures."
13
+ }
test/sunny/Building/2b_step35_bg0.5_rm1/sunny_Building_2b_step35_bg0.5_rm1.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"name":"sunny_Building_2b_step35_bg0.5_rm1","prompt_path":null,"prompt":"The video shows an urban intersection captured from a vehicle-mounted camera in bright daylight. The streets are lined with ornate classical stone buildings featuring columns, cornices and tall arched windows, their facades warmly lit by the sun. A road network with painted lane markings, stop lines and pedestrian crosswalks runs through the scene, multiple vehicles move through the junction, and the camera follows the moving ego vehicle smoothly. Photorealistic, soft shadows, high detail.","negative_prompt":"The video captures a game playing, with bad crappy graphics and cartoonish frames. It represents a recording of old outdated games. The lighting looks very fake. The textures are very raw and basic. The geometries are very primitive. The images are very pixelated and of poor CG quality. There are many subtitles in the footage. Overall, the video is unrealistic at all. Modern glass towers, plain concrete blocks, melted or warped facades, floating disconnected structures.","seed":2025,"guidance":3,"video_path":"/scratch/ssaha/cosmos-transfer2.5/SceneDriveBench/output/priority_from_right/run_000/videos/rgb_front.mp4","max_frames":null,"context_frame_index":null,"image_context_path":null,"num_conditional_frames":1,"resolution":"720","sigma_max":null,"num_video_frames_per_chunk":93,"num_steps":35,"show_control_condition":false,"show_input":false,"keep_input_resolution":true,"edge":{"control_path":"/scratch/ssaha/cosmos-transfer2.5/outputs/edge_threshold_grid/_edges/sunny/edge_bg0.5_rm1.mp4","control_weight":1.0,"mask_path":null,"mask_prompt":null,"preset_edge_threshold":"medium"},"depth":null,"vis":null,"seg":null,"guided_generation_mask":null,"guided_generation_step_threshold":25,"guided_generation_foreground_labels":null}
test/sunny/Building/2b_step35_bg0.5_rm1/sunny_Building_2b_step35_bg0.5_rm1.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2f82e06fc4dc01d8c69e0b7bd5e06599c702776137404c3cdfc8d464f87f7ca5
3
+ size 3291424
test/sunny/Building/2b_step35_bg0.5_rm1/sunny_Building_2b_step35_bg0.5_rm1.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ The video shows an urban intersection captured from a vehicle-mounted camera in bright daylight. The streets are lined with ornate classical stone buildings featuring columns, cornices and tall arched windows, their facades warmly lit by the sun. A road network with painted lane markings, stop lines and pedestrian crosswalks runs through the scene, multiple vehicles move through the junction, and the camera follows the moving ego vehicle smoothly. Photorealistic, soft shadows, high detail.
test/sunny/Building/2b_step35_bg0.5_rm1/sunny_Building_2b_step35_bg0.5_rm1_control_edge.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0b2f6cd9ed6a4edfe9586bbc3a51389673ebf3ba5bc90b1f91b7781918fea726
3
+ size 1140873
test/sunny/Building/2b_step35_masked_bg0.1_rm0.5/config.yaml ADDED
@@ -0,0 +1,882 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ checkpoint:
2
+ broadcast_via_filesystem: 'False'
3
+ dcp_async_mode_enabled: 'False'
4
+ enable_gcs_patch_in_boto3: 'False'
5
+ jit:
6
+ device: cuda
7
+ dtype: bfloat16
8
+ enabled: 'False'
9
+ input_shape: null
10
+ strict: 'True'
11
+ keys_not_to_resume: []
12
+ keys_to_skip_loading: []
13
+ load_ema_to_reg: 'False'
14
+ load_from_object_store:
15
+ bucket: bucket
16
+ credentials: credentials/s3_checkpoint.secret
17
+ enabled: 'True'
18
+ load_path: s3://bucket/cosmos_transfer2/vid2vid_2B_control/edge_720p_t24or1_spaced_layer4_cr1pt1_sdev2_lowsigma0.05_uniform_hqv3p1_20250714_64N_rectified_flow_refimdrop0pt5/checkpoints/iter_000032000
19
+ load_training_state: 'False'
20
+ only_load_scheduler_state: 'False'
21
+ save_iter: '1000'
22
+ save_to_object_store:
23
+ bucket: bucket
24
+ credentials: credentials/s3_checkpoint.secret
25
+ enabled: 'True'
26
+ strict_resume: 'False'
27
+ type:
28
+ _target_: <class 'cosmos_transfer2._src.predict2.checkpointer.dcp.DistributedCheckpointer'>
29
+ callbacks: null
30
+ disable_async: 'False'
31
+ verbose: 'True'
32
+ dataloader_train:
33
+ dataloaders:
34
+ image_data:
35
+ ratio: '0'
36
+ video_data:
37
+ dataloader:
38
+ batch_size: '1'
39
+ cache_augment_fn: functools.partial(<function duplicate_batches_random at
40
+ 0x7f71613f32e0>, n=1.8)
41
+ cache_size: '32'
42
+ concat_size: '1'
43
+ dataset:
44
+ augmentor_name: video_basic_augmentor_v2_with_control_and_image_context
45
+ caption_type: t2w_qwen2p5_7b
46
+ control_input_type: edge
47
+ dataset_resolution_type: gt720p
48
+ embedding_type: null
49
+ max_fps_thres: '60'
50
+ min_fps_thres: '10'
51
+ num_video_frames: '93'
52
+ resolution: '720'
53
+ use_native_fps: 'True'
54
+ video_decoder_name: video_naive_bytes
55
+ num_workers: '4'
56
+ use_cache: 'False'
57
+ ratio: '1'
58
+ video_data_1:
59
+ dataloader:
60
+ batch_size: '6'
61
+ cache_augment_fn: functools.partial(<function duplicate_batches_random at
62
+ 0x7f71613f32e0>, n=1.8)
63
+ cache_size: '32'
64
+ concat_size: '1'
65
+ dataset:
66
+ augmentor_name: video_basic_augmentor_v2_with_control_and_image_context
67
+ caption_type: t2w_qwen2p5_7b
68
+ control_input_type: edge
69
+ dataset_resolution_type: gt720p
70
+ embedding_type: null
71
+ num_video_frames: '1'
72
+ resolution: '720'
73
+ use_native_fps: 'True'
74
+ video_decoder_name: video_naive_bytes
75
+ num_workers: '4'
76
+ use_cache: 'False'
77
+ ratio: '1'
78
+ dataset:
79
+ augmentor_name: video_basic_augmentor_v2_with_control
80
+ caption_type: t2w_qwen2p5_7b
81
+ control_input_type: edge
82
+ dataset_resolution_type: gt720p
83
+ embedding_type: null
84
+ max_fps_thres: '60'
85
+ min_fps_thres: '10'
86
+ num_video_frames: '93'
87
+ resolution: '720'
88
+ use_native_fps: 'True'
89
+ video_decoder_name: video_naive_bytes
90
+ num_workers: '4'
91
+ dataloader_val:
92
+ _target_: <class 'cosmos_transfer2._src.predict2.datasets.joint_dataloader.IterativeJointDataLoader'>
93
+ dataloaders:
94
+ image_data:
95
+ dataloader:
96
+ _target_: <function get_cached_replay_dataloader at 0x7f71613f3400>
97
+ batch_size: '2'
98
+ cache_augment_fn: null
99
+ cache_replay_name: image_dataloader
100
+ cache_size: '32'
101
+ concat_size: '1'
102
+ dataset:
103
+ _target_: <function get_image_dataset at 0x7f71613f39a0>
104
+ len_t5: '512'
105
+ resolution: '512'
106
+ t5_dim: '1024'
107
+ num_workers: '8'
108
+ pin_memory: 'True'
109
+ shuffle: 'False'
110
+ use_cache: 'False'
111
+ webdataset: 'False'
112
+ ratio: '1'
113
+ video_data:
114
+ dataloader:
115
+ _target_: <function get_cached_replay_dataloader at 0x7f71613f3400>
116
+ batch_size: '1'
117
+ cache_augment_fn: null
118
+ cache_replay_name: video_dataloader
119
+ cache_size: '32'
120
+ concat_size: '1'
121
+ dataset:
122
+ _target_: <function get_video_dataset at 0x7f71613f3d90>
123
+ len_t5: '512'
124
+ num_video_frames: '136'
125
+ resolution: '512'
126
+ t5_dim: '1024'
127
+ num_workers: '8'
128
+ pin_memory: 'True'
129
+ shuffle: 'False'
130
+ use_cache: 'False'
131
+ webdataset: 'False'
132
+ ratio: '1'
133
+ defaults:
134
+ - _self_
135
+ - data_train: mock
136
+ - data_val: mock
137
+ - optimizer: fusedadamw
138
+ - scheduler: lambdalinear
139
+ - model: ddp
140
+ - callbacks: basic
141
+ - net: null
142
+ - conditioner: video_prediction_control_conditioner
143
+ - ema: power
144
+ - tokenizer: wan2pt1_tokenizer
145
+ - checkpoint: s3
146
+ - ckpt_type: dummy
147
+ - experiment: null
148
+ job:
149
+ cluster: null
150
+ group: vid2vid_2B_control
151
+ name: vid2vid_2B_control_720p_t24_control_layer4_cr1pt1_embedding_rectified_flow_with_image_context_with_image_data
152
+ project: cosmos_transfer2
153
+ wandb_mode: online
154
+ model:
155
+ _recursive_: 'False'
156
+ _target_: <class 'cosmos_transfer2._src.transfer2.models.vid2vid_model_control_vace_rectified_flow.ControlVideo2WorldModelRectifiedFlow'>
157
+ config:
158
+ base_load_from: null
159
+ conditional_frame_timestep: -1.0
160
+ conditional_frames_probs:
161
+ 0: 0.4
162
+ 1: 0.4
163
+ 2: 0.2
164
+ conditioner:
165
+ _target_: <class 'cosmos_transfer2._src.transfer2.configs.vid2vid_transfer.defaults.conditioner.ControlVideo2WorldConditionerImageContext'>
166
+ control_input_depth:
167
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
168
+ dropout_rate: '0.0'
169
+ dtype: null
170
+ input_key: control_input_depth
171
+ output_key: control_input_depth
172
+ control_input_depth_mask:
173
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
174
+ dropout_rate: '0.0'
175
+ dtype: null
176
+ input_key: control_input_depth_mask
177
+ output_key: control_input_depth_mask
178
+ control_input_edge:
179
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
180
+ dropout_rate: '0.0'
181
+ dtype: null
182
+ input_key: control_input_edge
183
+ output_key: control_input_edge
184
+ control_input_edge_mask:
185
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
186
+ dropout_rate: '0.0'
187
+ dtype: null
188
+ input_key: control_input_edge_mask
189
+ output_key: control_input_edge_mask
190
+ control_input_inpaint:
191
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
192
+ dropout_rate: '0.0'
193
+ dtype: null
194
+ input_key: control_input_inpaint
195
+ output_key: control_input_inpaint
196
+ control_input_inpaint_mask:
197
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
198
+ dropout_rate: '0.0'
199
+ dtype: null
200
+ input_key: control_input_inpaint_mask
201
+ output_key: control_input_inpaint_mask
202
+ control_input_seg:
203
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
204
+ dropout_rate: '0.0'
205
+ dtype: null
206
+ input_key: control_input_seg
207
+ output_key: control_input_seg
208
+ control_input_seg_mask:
209
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
210
+ dropout_rate: '0.0'
211
+ dtype: null
212
+ input_key: control_input_seg_mask
213
+ output_key: control_input_seg_mask
214
+ control_input_vis:
215
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
216
+ dropout_rate: '0.0'
217
+ dtype: null
218
+ input_key: control_input_vis
219
+ output_key: control_input_vis
220
+ control_input_vis_mask:
221
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
222
+ dropout_rate: '0.0'
223
+ dtype: null
224
+ input_key: control_input_vis_mask
225
+ output_key: control_input_vis_mask
226
+ fps:
227
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
228
+ dropout_rate: '0.0'
229
+ dtype: null
230
+ input_key: fps
231
+ output_key: fps
232
+ padding_mask:
233
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
234
+ dropout_rate: '0.0'
235
+ dtype: null
236
+ input_key: padding_mask
237
+ output_key: padding_mask
238
+ reference_image_context:
239
+ _target_: <class 'cosmos_transfer2._src.transfer2.networks.siglip2_image_context.SigLip2EmbImgContext'>
240
+ dropout_rate: '0.5'
241
+ input_key:
242
+ - images
243
+ - video
244
+ - image_context
245
+ num_token: '256'
246
+ output_key: null
247
+ text:
248
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.TextAttr'>
249
+ credential_path: credentials/s3_training.secret
250
+ dropout_rate: '0.2'
251
+ empty_string_embeddings_path: s3://bucket/predict2_assets/reason1_empty_string_embeddings.pt
252
+ input_key:
253
+ - t5_text_embeddings
254
+ use_empty_string: 'False'
255
+ use_video_condition:
256
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.BooleanFlag'>
257
+ dropout_rate: '0.0'
258
+ input_key: fps
259
+ output_key: use_video_condition
260
+ conditioning_strategy: frame_replace
261
+ copy_weight_strategy: first_n
262
+ denoise_replace_gt_frames: true
263
+ ema:
264
+ enabled: false
265
+ iteration_shift: 0
266
+ rate: 0.1
267
+ fsdp_shard_size: 1
268
+ high_sigma_ratio: 0.05
269
+ high_sigma_timesteps_max: 1000
270
+ high_sigma_timesteps_min: 980
271
+ hint_keys: edge
272
+ init_lora_weights: true
273
+ input_caption_key: ai_caption
274
+ input_data_key: video
275
+ input_image_key: images
276
+ lora_alpha: 32
277
+ lora_rank: 32
278
+ lora_target_modules: q_proj,k_proj,v_proj,output_proj,mlp.layer1,mlp.layer2
279
+ max_num_conditional_frames: 2
280
+ min_num_conditional_frames: 0
281
+ net:
282
+ _target_: <class 'cosmos_transfer2._src.transfer2.networks.minimal_v4_lvg_dit_control_vace.MinimalV4LVGControlVaceDiT'>
283
+ adaln_lora_dim: '256'
284
+ atten_backend: minimal_a2a
285
+ concat_padding_mask: 'True'
286
+ condition_strategy: spaced
287
+ crossattn_emb_channels: '1024'
288
+ crossattn_proj_in_channels: '100352'
289
+ extra_image_context_dim: '1152'
290
+ extra_per_block_abs_pos_emb: 'False'
291
+ img_context_deep_proj: 'False'
292
+ in_channels: '16'
293
+ max_frames: '128'
294
+ max_img_h: '240'
295
+ max_img_w: '240'
296
+ mlp_ratio: '4.0'
297
+ model_channels: '2048'
298
+ num_blocks: '28'
299
+ num_control_branches: '1'
300
+ num_heads: '16'
301
+ num_max_modalities: '8'
302
+ out_channels: '16'
303
+ patch_spatial: '2'
304
+ patch_temporal: '1'
305
+ pos_emb_cls: rope3d
306
+ pos_emb_interpolation: crop
307
+ pos_emb_learnable: 'True'
308
+ rope_enable_fps_modulation: 'False'
309
+ rope_h_extrapolation_ratio: '3.0'
310
+ rope_t_extrapolation_ratio: '1.0'
311
+ rope_w_extrapolation_ratio: '3.0'
312
+ sac_config:
313
+ every_n_blocks: 1
314
+ mode: predict2_2b_720_aggressive
315
+ separate_embedders: 'False'
316
+ share_q_in_i2v_cross_attn: 'False'
317
+ spatial_compression_factor: '8'
318
+ timestep_scale: '0.001'
319
+ use_adaln_lora: 'True'
320
+ use_after_proj_for_multi_branch: 'True'
321
+ use_crossattn_projection: 'True'
322
+ use_cuda_graphs: 'False'
323
+ use_input_hint_block: 'False'
324
+ use_wan_fp32_strategy: 'True'
325
+ vace_block_every_n: '7'
326
+ vace_has_mask: 'False'
327
+ precision: bfloat16
328
+ resolution: '720'
329
+ shift: 5
330
+ state_ch: 16
331
+ state_t: 24
332
+ text_encoder_class: reason1p1_7B
333
+ text_encoder_config:
334
+ ckpt_path: s3://bucket/cosmos_reasoning1/sft_exp700/sft_exp721-1_qwen7b_tl_721_5vs5_s3_balanced_n32_resume_16k/checkpoints/iter_000016000/model/
335
+ compute_online: true
336
+ embedding_concat_strategy: full_concat
337
+ model_config:
338
+ _target_: <class 'cosmos_transfer2._src.predict2.text_encoders.reason1.QwenVLBaseModel'>
339
+ model_config:
340
+ _target_: cosmos_transfer2._src.reason1.configs.default.model_config_qwen.QwenModelConfig
341
+ activation_checkpoint:
342
+ mode: selective
343
+ models: vlm
344
+ selective_ac_option: op
345
+ add_answer_tag: 'True'
346
+ add_cross_attention: 'False'
347
+ add_image_start_end_tag: 'False'
348
+ add_tile_tag: 'False'
349
+ architectures:
350
+ - Qwen2_5_VLForConditionalGeneration
351
+ attention_dropout: '0.0'
352
+ attn_implementation: flash_attention_2
353
+ attn_implementation_autoset: 'True'
354
+ aux_loss_coeff: '0.0'
355
+ bad_words_ids: null
356
+ begin_suppress_tokens: null
357
+ bos_token_id: '151643'
358
+ cache_dir: null
359
+ checkpoint:
360
+ async_mode: disabled
361
+ create_seed_checkpoint: false
362
+ enable_checkpoint: false
363
+ export_dtype: float32
364
+ folder: checkpoint
365
+ interval: 500
366
+ interval_type: steps
367
+ model_weights_only: false
368
+ chunk_size_feed_forward: '0'
369
+ ckpt_dir: null
370
+ ckpt_path: null
371
+ comm:
372
+ init_timeout_seconds: 300
373
+ trace_buf_size: 20000
374
+ train_timeout_seconds: 100
375
+ cp_size: null
376
+ cross_attention_hidden_size: null
377
+ decoder_start_token_id: null
378
+ deterministic: 'False'
379
+ diversity_penalty: '0.0'
380
+ do_sample: 'False'
381
+ early_stopping: 'False'
382
+ encoder_no_repeat_ngram_size: '0'
383
+ eos_token_id: '151645'
384
+ ep_size: null
385
+ experimental:
386
+ enable_async_tensor_parallel: false
387
+ enable_compiled_autograd: false
388
+ pipeline_parallel_degree: 1
389
+ exponential_decay_length_penalty: null
390
+ finetuning_task: null
391
+ float8:
392
+ enable_float8_linear: false
393
+ forced_bos_token_id: null
394
+ forced_eos_token_id: null
395
+ freeze_llm: 'False'
396
+ freeze_mm_projector: 'False'
397
+ freeze_vision_encoder: 'False'
398
+ fsdp_enabled: 'False'
399
+ hidden_act: silu
400
+ hidden_size: '3584'
401
+ id2label:
402
+ 0: LABEL_0
403
+ 1: LABEL_1
404
+ image_token_id: '151655'
405
+ initializer_range: '0.02'
406
+ intermediate_size: '18944'
407
+ is_decoder: 'False'
408
+ is_encoder_decoder: 'False'
409
+ label2id:
410
+ LABEL_0: '0'
411
+ LABEL_1: '1'
412
+ length_penalty: '1.0'
413
+ loss_per_token: 'True'
414
+ max_batch_size: '1'
415
+ max_length: '20'
416
+ max_position_embeddings: '128000'
417
+ max_seq_len: '128000'
418
+ max_window_layers: '28'
419
+ min_length: '0'
420
+ mm_projector: null
421
+ model_type: qwen2_5_vl
422
+ name_or_path: Qwen/Qwen2.5-VL-7B-Instruct
423
+ no_repeat_ngram_size: '0'
424
+ num_attention_heads: '28'
425
+ num_beam_groups: '1'
426
+ num_beams: '1'
427
+ num_hidden_layers: '28'
428
+ num_key_value_heads: '4'
429
+ num_return_sequences: '1'
430
+ num_tiles: '1'
431
+ optimizer:
432
+ early_step_in_backward: false
433
+ end_lr: 2.5e-05
434
+ fused: false
435
+ init_lr: 1.0e-05
436
+ lr: 0.0003
437
+ lr_multiplier_llm: 1.0
438
+ lr_multiplier_mm_projector: 1.0
439
+ lr_multiplier_vision_encoder: 0.1
440
+ name: AdamW
441
+ output_attentions: 'False'
442
+ output_hidden_states: 'True'
443
+ output_scores: 'False'
444
+ pad_token_id: null
445
+ precision: bfloat16
446
+ prefix: null
447
+ prepend_padding: 'False'
448
+ problem_type: null
449
+ pruned_heads: _Nothing.NOTHING
450
+ remove_invalid_values: 'False'
451
+ repetition_penalty: '1.0'
452
+ return_dict: 'True'
453
+ return_dict_in_generate: 'False'
454
+ rms_norm_eps: 1e-06
455
+ rope_scaling:
456
+ mrope_section:
457
+ - '16'
458
+ - '24'
459
+ - '24'
460
+ rope_type: default
461
+ type: default
462
+ rope_theta: '1000000.0'
463
+ s3_credential_path: credentials/pbss_dir.secret
464
+ seed: '0'
465
+ sep_token_id: null
466
+ sliding_window: '32768'
467
+ suppress_tokens: null
468
+ task_specific_params: null
469
+ temperature: '1.0'
470
+ tf_legacy_loss: 'False'
471
+ tie_encoder_decoder: 'False'
472
+ tie_word_embeddings: 'False'
473
+ tile_tag_type: space_separated
474
+ tokenizer_class: null
475
+ tokenizer_type: Qwen/Qwen2.5-VL-7B-Instruct
476
+ top_k: '50'
477
+ top_p: '1.0'
478
+ torch_dtype: bfloat16
479
+ torchscript: 'False'
480
+ training:
481
+ compile: false
482
+ context_parallel_degree: 1
483
+ data_parallel_replicate_degree: 1
484
+ data_parallel_shard_degree: -1
485
+ disable_loss_parallel: false
486
+ enable_cpu_offload: false
487
+ fsdp_reshard_after_forward: default
488
+ mixed_precision_param: bfloat16
489
+ mixed_precision_reduce: float32
490
+ steps: 400000
491
+ tensor_parallel_degree: 1
492
+ use_cosine_decay: false
493
+ use_linear_decay: true
494
+ warmup_steps: 1000
495
+ training_seq_len: '4096'
496
+ transformers_version: 4.51.0.dev0
497
+ typical_p: '1.0'
498
+ use_bfloat16: 'False'
499
+ use_cache: 'False'
500
+ use_fsdp2: 'True'
501
+ use_return_dict: 'True'
502
+ use_rope_from_torchtitan: 'False'
503
+ use_sliding_window: 'False'
504
+ video_token_id: '151656'
505
+ vision_config:
506
+ _target_: cosmos_transfer2._src.reason1.configs.default.model_config_qwen.QwenVisionConfig
507
+ add_cross_attention: 'False'
508
+ architectures: null
509
+ attn_implementation: flash_attention_2
510
+ attn_implementation_autoset: 'True'
511
+ bad_words_ids: null
512
+ begin_suppress_tokens: null
513
+ bos_token_id: null
514
+ chunk_size_feed_forward: '0'
515
+ cross_attention_hidden_size: null
516
+ decoder_start_token_id: null
517
+ depth: '32'
518
+ diversity_penalty: '0.0'
519
+ do_sample: 'False'
520
+ early_stopping: 'False'
521
+ embed_dim: null
522
+ encoder_no_repeat_ngram_size: '0'
523
+ eos_token_id: null
524
+ exponential_decay_length_penalty: null
525
+ finetuning_task: null
526
+ forced_bos_token_id: null
527
+ forced_eos_token_id: null
528
+ fullatt_block_indexes:
529
+ - '7'
530
+ - '15'
531
+ - '23'
532
+ - '31'
533
+ hidden_act: silu
534
+ hidden_size: '1280'
535
+ id2label:
536
+ 0: LABEL_0
537
+ 1: LABEL_1
538
+ in_channels: '3'
539
+ in_chans: '3'
540
+ intermediate_size: '3420'
541
+ is_decoder: 'False'
542
+ is_encoder_decoder: 'False'
543
+ label2id:
544
+ LABEL_0: '0'
545
+ LABEL_1: '1'
546
+ length_penalty: '1.0'
547
+ max_length: '20'
548
+ min_length: '0'
549
+ mlp_ratio: null
550
+ model_type: qwen2_5_vl
551
+ name_or_path: ''
552
+ no_repeat_ngram_size: '0'
553
+ num_beam_groups: '1'
554
+ num_beams: '1'
555
+ num_heads: '16'
556
+ num_return_sequences: '1'
557
+ out_hidden_size: '3584'
558
+ output_attentions: 'False'
559
+ output_hidden_states: 'False'
560
+ output_scores: 'False'
561
+ pad_token_id: null
562
+ patch_size: '14'
563
+ prefix: null
564
+ problem_type: null
565
+ pruned_heads: _Nothing.NOTHING
566
+ remove_invalid_values: 'False'
567
+ repetition_penalty: '1.0'
568
+ return_dict: 'True'
569
+ return_dict_in_generate: 'False'
570
+ sep_token_id: null
571
+ spatial_merge_size: '2'
572
+ spatial_patch_size: '14'
573
+ suppress_tokens: null
574
+ task_specific_params: null
575
+ temperature: '1.0'
576
+ temporal_patch_size: '2'
577
+ tf_legacy_loss: 'False'
578
+ tie_encoder_decoder: 'False'
579
+ tie_word_embeddings: 'True'
580
+ tokenizer_class: null
581
+ tokens_per_second: '2'
582
+ top_k: '50'
583
+ top_p: '1.0'
584
+ torch_dtype: bfloat16
585
+ torchscript: 'False'
586
+ typical_p: '1.0'
587
+ use_bfloat16: 'False'
588
+ window_size: '112'
589
+ vision_encoder: openai/clip-vit-base-patch32
590
+ vision_encoder_config:
591
+ depth_init: true
592
+ dim: 1024
593
+ ffn_dim_multiplier: null
594
+ head_dim: null
595
+ hidden_act: null
596
+ hidden_dim: 4096
597
+ image_size: 1024
598
+ image_token_id: null
599
+ multiple_of: null
600
+ n_heads: 16
601
+ n_kv_heads: null
602
+ n_layers: 24
603
+ norm_eps: 1.0e-05
604
+ norm_type: rmsnorm
605
+ num_channels: 3
606
+ patch_size: 16
607
+ proj_bias: null
608
+ qkv_bias: null
609
+ rope_theta: 10000.0
610
+ use_cache: false
611
+ use_rope_from_torchtitan: false
612
+ vision_encoder_in_channels: '3'
613
+ vision_end_token_id: '151653'
614
+ vision_start_token_id: '151652'
615
+ vision_token_id: '151654'
616
+ vocab_size: '152064'
617
+ z_loss_coeff: '0.0'
618
+ tokenizer:
619
+ _target_: <function build_tokenizer at 0x7f71658e39a0>
620
+ cache_dir: null
621
+ tokenizer_type: Qwen/Qwen2.5-VL-7B-Instruct
622
+ n_layers_per_group: 5
623
+ s3_credential_path: credentials/s3_checkpoint.secret
624
+ tokenizer:
625
+ _target_: <class 'cosmos_transfer2._src.predict2.tokenizers.wan2pt1.Wan2pt1VAEInterface'>
626
+ chunk_duration: '81'
627
+ load_mean_std: 'False'
628
+ name: wan2pt1_tokenizer
629
+ temporal_window: '16'
630
+ train_time_distribution: logitnormal
631
+ train_time_weight: uniform
632
+ use_dora: false
633
+ use_dynamic_shift: false
634
+ use_high_sigma_strategy: false
635
+ use_kerras_sigma_at_inference: false
636
+ use_lora: false
637
+ use_reference_image: true
638
+ use_torch_compile: false
639
+ model_parallel:
640
+ _cpu_offloading_context: null
641
+ async_tensor_model_parallel_allreduce: false
642
+ autocast_dtype: torch.float32
643
+ barrier_with_L1_time: true
644
+ batch_p2p_comm: true
645
+ batch_p2p_sync: true
646
+ bf16: false
647
+ context_parallel_size: 8
648
+ cpu_offloading: false
649
+ cpu_offloading_activations: true
650
+ cpu_offloading_double_buffering: false
651
+ cpu_offloading_num_layers: 0
652
+ cpu_offloading_weights: true
653
+ cross_entropy_fusion_impl: native
654
+ cross_entropy_loss_fusion: false
655
+ deallocate_pipeline_outputs: false
656
+ defer_embedding_wgrad_compute: false
657
+ delay_wgrad_compute: false
658
+ deterministic_mode: false
659
+ enable_autocast: false
660
+ expert_model_parallel_size: 1
661
+ expert_tensor_parallel_size: 1
662
+ finalize_model_grads_func: null
663
+ fp16: false
664
+ grad_scale_func: null
665
+ grad_sync_func: null
666
+ gradient_accumulation_fusion: false
667
+ hierarchical_context_parallel_sizes: null
668
+ microbatch_group_size_per_vp_stage: 1
669
+ moe_extended_tp: false
670
+ no_sync_func: null
671
+ num_microbatches_with_partial_activation_checkpoints: null
672
+ overlap_moe_expert_parallel_comm: false
673
+ overlap_p2p_comm: false
674
+ overlap_p2p_comm_warmup_flush: false
675
+ param_sync_func: null
676
+ params_dtype: torch.float32
677
+ perform_initialization: true
678
+ pipeline_dtype: null
679
+ pipeline_model_parallel_comm_backend: null
680
+ pipeline_model_parallel_size: 1
681
+ sequence_parallel: false
682
+ tensor_model_parallel_size: 1
683
+ timers: null
684
+ tp_comm_atomic_ag: false
685
+ tp_comm_atomic_rs: false
686
+ tp_comm_bootstrap_backend: nccl
687
+ tp_comm_bulk_dgrad: true
688
+ tp_comm_bulk_wgrad: true
689
+ tp_comm_overlap: false
690
+ tp_comm_overlap_ag: true
691
+ tp_comm_overlap_disable_fc1: false
692
+ tp_comm_overlap_disable_qkv: false
693
+ tp_comm_overlap_rs: true
694
+ tp_comm_overlap_rs_dgrad: false
695
+ tp_comm_split_ag: true
696
+ tp_comm_split_rs: true
697
+ use_cpu_initialization: false
698
+ use_ring_exchange_p2p: false
699
+ use_te_rng_tracker: false
700
+ variable_seq_lengths: false
701
+ virtual_pipeline_model_parallel_size: null
702
+ wgrad_deferral_limit: 0
703
+ optimizer:
704
+ _target_: <function get_base_optimizer at 0x7f7161318430>
705
+ betas:
706
+ - '0.9'
707
+ - '0.999'
708
+ eps: 1e-08
709
+ fused: 'True'
710
+ lr: '8.63e-05'
711
+ model: null
712
+ optim_type: adamw
713
+ weight_decay: '0.001'
714
+ scheduler:
715
+ _target_: <class 'cosmos_transfer2._src.imaginaire.functional.lr_scheduler.LambdaLinearScheduler'>
716
+ cycle_lengths:
717
+ - '100000'
718
+ f_max:
719
+ - '0.5'
720
+ f_min:
721
+ - '0.2'
722
+ f_start:
723
+ - 1e-06
724
+ verbosity_interval: '0'
725
+ warm_up_steps:
726
+ - '100'
727
+ trainer:
728
+ callbacks:
729
+ compile_tokenizer:
730
+ _target_: <class 'cosmos_transfer2._src.predict2.callbacks.compile_tokenizer.CompileTokenizer'>
731
+ compile_after_iterations: '4'
732
+ dynamic: 'False'
733
+ enabled: 'True'
734
+ dataloader_speed:
735
+ _target_: <class 'cosmos_transfer2._src.predict2.callbacks.dataloading_monitor.DetailedDataLoadingSpeedMonitor'>
736
+ every_n: '200'
737
+ save_s3: 'True'
738
+ step_size: '1'
739
+ device_monitor:
740
+ _target_: <class 'cosmos_transfer2._src.predict2.callbacks.device_monitor.DeviceMonitor'>
741
+ every_n: '200'
742
+ log_memory_detail: 'True'
743
+ save_s3: 'True'
744
+ step_size: '1'
745
+ upload_every_n_mul: '10'
746
+ every_n_sample_ema:
747
+ _target_: <class 'cosmos_transfer2._src.transfer2.callbacks.every_n_draw_sample.EveryNDrawSample'>
748
+ every_n: '5000'
749
+ fix_batch_fp: null
750
+ fps: '16'
751
+ guidance:
752
+ - '0'
753
+ - '3'
754
+ - '7'
755
+ is_ema: 'True'
756
+ is_sample: 'True'
757
+ is_x0: 'False'
758
+ n_sample_to_save: '128'
759
+ n_viz_sample: '3'
760
+ n_x0_level: '4'
761
+ num_sampling_step: '35'
762
+ save_s3: 'True'
763
+ show_all_frames: 'False'
764
+ step_size: '1'
765
+ use_negative_prompt: 'False'
766
+ every_n_sample_reg:
767
+ _target_: <class 'cosmos_transfer2._src.transfer2.callbacks.every_n_draw_sample.EveryNDrawSample'>
768
+ every_n: '5000'
769
+ fix_batch_fp: null
770
+ fps: '16'
771
+ guidance:
772
+ - '0'
773
+ - '3'
774
+ - '7'
775
+ is_ema: 'False'
776
+ is_sample: 'True'
777
+ is_x0: 'False'
778
+ n_sample_to_save: '128'
779
+ n_viz_sample: '3'
780
+ n_x0_level: '4'
781
+ num_sampling_step: '35'
782
+ save_s3: 'True'
783
+ show_all_frames: 'False'
784
+ step_size: '1'
785
+ use_negative_prompt: 'False'
786
+ frame_loss_log:
787
+ _target_: <class 'cosmos_transfer2._src.transfer2.callbacks.frame_loss_log.FrameLossLog'>
788
+ logging_iter_multipler: '1'
789
+ save_logging_iter_multipler: '10'
790
+ save_s3: 'True'
791
+ grad_clip:
792
+ _target_: <class 'cosmos_transfer2._src.predict2.callbacks.grad_clip.GradClip'>
793
+ clip_norm: '0.1'
794
+ force_finite: 'True'
795
+ heart_beat:
796
+ _target_: <class 'cosmos_transfer2._src.predict2.callbacks.heart_beat.HeartBeat'>
797
+ every_n: '10'
798
+ save_s3: 'True'
799
+ step_size: '1'
800
+ update_interval_in_minute: '20'
801
+ iter_speed:
802
+ _target_: <class 'cosmos_transfer2._src.predict2.callbacks.iter_speed.IterSpeed'>
803
+ every_n: '100'
804
+ hit_thres: '300'
805
+ save_s3: 'True'
806
+ save_s3_every_log_n: '10'
807
+ load_base_model:
808
+ _target_: <class 'cosmos_transfer2._src.transfer2.configs.vid2vid_transfer.defaults.callbacks.LoadBaseModel'>
809
+ config: null
810
+ trainer: null
811
+ low_prec:
812
+ _target_: <class 'cosmos_transfer2._src.imaginaire.utils.callback.LowPrecisionCallback'>
813
+ config: null
814
+ trainer: null
815
+ update_iter: '1'
816
+ manual_gc:
817
+ _target_: <class 'cosmos_transfer2._src.imaginaire.callbacks.manual_gc.ManualGarbageCollection'>
818
+ every_n: '200'
819
+ warm_up: '5'
820
+ wandb:
821
+ _target_: <class 'cosmos_transfer2._src.predict2.callbacks.wandb_log.WandbCallback'>
822
+ logging_iter_multipler: '1'
823
+ save_logging_iter_multipler: '10'
824
+ save_s3: 'True'
825
+ wandb_10x:
826
+ _target_: <class 'cosmos_transfer2._src.predict2.callbacks.wandb_log.WandbCallback'>
827
+ logging_iter_multipler: '10'
828
+ save_logging_iter_multipler: '1'
829
+ save_s3: 'True'
830
+ compile_config:
831
+ recompile_limit: '8'
832
+ use_duck_shape: 'True'
833
+ cudnn:
834
+ benchmark: 'True'
835
+ deterministic: 'False'
836
+ ddp:
837
+ broadcast_buffers: 'True'
838
+ find_unused_parameters: 'False'
839
+ static_graph: 'True'
840
+ distributed_parallelism: fsdp
841
+ grad_accum_iter: '1'
842
+ grad_scaler_args:
843
+ enabled: 'False'
844
+ logging_iter: '200'
845
+ max_iter: '100000'
846
+ max_val_iter: null
847
+ memory_format: torch.preserve_format
848
+ profiling:
849
+ enable_memory_snapshot: 'False'
850
+ enable_profiling: 'False'
851
+ profile_freq: '1'
852
+ profile_memory: 'False'
853
+ record_shape: 'False'
854
+ save_s3: 'False'
855
+ target_ranks:
856
+ - '0'
857
+ - '1'
858
+ - '2'
859
+ - '3'
860
+ - '4'
861
+ - '5'
862
+ - '6'
863
+ - '7'
864
+ with_modules: 'True'
865
+ with_stack: 'True'
866
+ run_validation: 'False'
867
+ run_validation_on_start: 'False'
868
+ seed: '0'
869
+ straggler_detection:
870
+ analyze_backward: 'True'
871
+ analyze_dataloading: 'True'
872
+ analyze_forward: 'True'
873
+ analyze_optimizer: 'True'
874
+ enabled: 'True'
875
+ max_diff: '1.5'
876
+ profile_freq: '1'
877
+ raise_error: 'True'
878
+ report_freq: '100'
879
+ timeout_period: '999999999'
880
+ type: <class 'cosmos_transfer2._src.imaginaire.trainer.ImaginaireTrainer'>
881
+ validation_iter: '100'
882
+ upload_reproducible_setup: 'True'
test/sunny/Building/2b_step35_masked_bg0.1_rm0.5/console.log ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [06-21 22:28:24|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:297:download] Downloading checkpoint Wan2.1/vae(685afcaa-4de2-42fe-b7b9-69f7a2dee4d8)
2
+ [06-21 22:28:24|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:165:_hf_download] uvx 'hf>=1.3.5' download nvidia/Cosmos-Predict2.5-2B --repo-type model --revision f176dc95b4a70f53ce01c4b302851595e7322b00 tokenizer.pth
3
+ [06-21 22:28:29|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:297:download] Downloading checkpoint Qwen/Qwen2.5-VL-7B-Instruct(7219c6c7-f878-4137-bbdb-76842ea85e70)
4
+ [06-21 22:28:29|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:165:_hf_download] uvx 'hf>=1.3.5' download nvidia/Cosmos-Reason1-7B --repo-type model --revision 3210bec0495fdc7a8d3dbb8d58da5711eab4b423 --include '*'
5
+ [06-21 22:28:30|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:297:download] Downloading checkpoint nvidia/Cosmos-Reason1.1-7B(cb3e3ffa-7b08-4c34-822d-61c7aa31a14f)
6
+ [06-21 22:28:30|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:165:_hf_download] uvx 'hf>=1.3.5' download nvidia/Cosmos-Reason1-7B --repo-type model --revision 3210bec0495fdc7a8d3dbb8d58da5711eab4b423 --include '*'
7
+ [06-21 22:28:34|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:297:download] Downloading checkpoint nvidia/Cosmos-Transfer2.5-2B/general/edge(61f5694b-0ad5-4ecd-8ad7-c8545627d125)
8
+ [06-21 22:28:34|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:165:_hf_download] uvx 'hf>=1.3.5' download nvidia/Cosmos-Transfer2.5-2B --repo-type model --revision b67b64abda3801a9aceddbff2bdb86126c06db74 general/edge/61f5694b-0ad5-4ecd-8ad7-c8545627d125_ema_bf16.pt
9
+ [06-21 22:28:36|INFO|cosmos_transfer2/inference.py:146:__init__] Found 1 hint keys across all samples
10
+ [06-21 22:28:36|INFO|cosmos_transfer2/inference.py:156:__init__] Saved config to /scratch/ssaha/cosmos-transfer2.5/outputs/edge_threshold_grid/sunny/Building/2b_step35_masked_bg0.1_rm0.5/config.yaml
11
+ [06-21 22:28:36|INFO|cosmos_transfer2/inference.py:163:generate] Generating 1 samples: ['sunny_Building_2b_step35_masked_bg0.1_rm0.5']
12
+ [06-21 22:28:36|INFO|cosmos_transfer2/inference.py:167:generate] [1/1] Processing sample sunny_Building_2b_step35_masked_bg0.1_rm0.5
13
+ [06-21 22:28:36|INFO|cosmos_transfer2/inference.py:208:_generate_sample] Saved arguments to /scratch/ssaha/cosmos-transfer2.5/outputs/edge_threshold_grid/sunny/Building/2b_step35_masked_bg0.1_rm0.5/sunny_Building_2b_step35_masked_bg0.1_rm0.5.json
14
+ [06-21 22:28:36|WARNING|cosmos_transfer2/inference.py:239:_generate_sample] Guardrail checks on prompt are disabled
15
+ [06-21 22:28:36|INFO|cosmos_transfer2/inference.py:242:_generate_sample] Processing the following paths: {'edge': '/scratch/ssaha/cosmos-transfer2.5/outputs/edge_threshold_grid/_edges/sunny/edge_bg0.1_rm0.5.mp4', 'edge_mask': '/scratch/ssaha/cosmos-transfer2.5/outputs/edge_threshold_grid/_masks/sunny/Building_mask.mp4', 'edge_mask_prompt': None}
16
+ [06-21 22:39:06|INFO|cosmos_transfer2/inference.py:311:_generate_sample] edge control video saved to /scratch/ssaha/cosmos-transfer2.5/outputs/edge_threshold_grid/sunny/Building/2b_step35_masked_bg0.1_rm0.5/sunny_Building_2b_step35_masked_bg0.1_rm0.5_control_edge.mp4
17
+ [06-21 22:39:06|WARNING|cosmos_transfer2/inference.py:335:_generate_sample] Guardrail checks on video are disabled
18
+ [06-21 22:39:08|SUCCESS|cosmos_transfer2/inference.py:343:_generate_sample] Generated video saved to /scratch/ssaha/cosmos-transfer2.5/outputs/edge_threshold_grid/sunny/Building/2b_step35_masked_bg0.1_rm0.5/sunny_Building_2b_step35_masked_bg0.1_rm0.5.mp4
test/sunny/Building/2b_step35_masked_bg0.1_rm0.5/debug.log ADDED
The diff for this file is too large to render. See raw diff
 
test/sunny/Building/2b_step35_masked_bg0.1_rm0.5/spec.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "sunny_Building_2b_step35_masked_bg0.1_rm0.5",
3
+ "prompt": "The video shows an urban intersection captured from a vehicle-mounted camera in bright daylight. The streets are lined with ornate classical stone buildings featuring columns, cornices and tall arched windows, their facades warmly lit by the sun. A road network with painted lane markings, stop lines and pedestrian crosswalks runs through the scene, multiple vehicles move through the junction, and the camera follows the moving ego vehicle smoothly. Photorealistic, soft shadows, high detail.",
4
+ "video_path": "/scratch/ssaha/cosmos-transfer2.5/SceneDriveBench/output/priority_from_right/run_000/videos/rgb_front.mp4",
5
+ "guidance": 3,
6
+ "num_steps": 35,
7
+ "seed": 2025,
8
+ "edge": {
9
+ "control_path": "/scratch/ssaha/cosmos-transfer2.5/outputs/edge_threshold_grid/_edges/sunny/edge_bg0.1_rm0.5.mp4",
10
+ "control_weight": 1.0,
11
+ "mask_path": "/scratch/ssaha/cosmos-transfer2.5/outputs/edge_threshold_grid/_masks/sunny/Building_mask.mp4"
12
+ },
13
+ "negative_prompt": "The video captures a game playing, with bad crappy graphics and cartoonish frames. It represents a recording of old outdated games. The lighting looks very fake. The textures are very raw and basic. The geometries are very primitive. The images are very pixelated and of poor CG quality. There are many subtitles in the footage. Overall, the video is unrealistic at all. Modern glass towers, plain concrete blocks, melted or warped facades, floating disconnected structures."
14
+ }