Divyanshudiv commited on
Commit
a429fe5
·
verified ·
1 Parent(s): 59270fd

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. multicontrol_cookbook_grid/_edges/rainy_edge.mp4 +3 -0
  2. multicontrol_cookbook_grid/_edges/sunny_edge.mp4 +3 -0
  3. multicontrol_cookbook_grid/_masks/rainy/background_mask.mp4 +3 -0
  4. multicontrol_cookbook_grid/_masks/sunny/background_mask.mp4 +3 -0
  5. multicontrol_cookbook_grid/rainy/Building/color/config.yaml +882 -0
  6. multicontrol_cookbook_grid/rainy/Building/color/console.log +10 -0
  7. multicontrol_cookbook_grid/rainy/Building/color/debug.log +0 -0
  8. multicontrol_cookbook_grid/rainy/Building/color/rainy_Building_color.json +1 -0
  9. multicontrol_cookbook_grid/rainy/Building/color/rainy_Building_color.mp4 +3 -0
  10. multicontrol_cookbook_grid/rainy/Building/color/rainy_Building_color.txt +1 -0
  11. multicontrol_cookbook_grid/rainy/Building/color/rainy_Building_color_control_edge.mp4 +3 -0
  12. multicontrol_cookbook_grid/rainy/Building/color/spec.json +13 -0
  13. multicontrol_cookbook_grid/rainy/background/background/config.yaml +825 -0
  14. multicontrol_cookbook_grid/rainy/background/background/console.log +13 -0
  15. multicontrol_cookbook_grid/rainy/background/background/debug.log +0 -0
  16. multicontrol_cookbook_grid/rainy/background/background/rainy_background_background.json +1 -0
  17. multicontrol_cookbook_grid/rainy/background/background/rainy_background_background.mp4 +3 -0
  18. multicontrol_cookbook_grid/rainy/background/background/rainy_background_background.txt +1 -0
  19. multicontrol_cookbook_grid/rainy/background/background/rainy_background_background_control_edge.mp4 +3 -0
  20. multicontrol_cookbook_grid/rainy/background/background/rainy_background_background_control_seg.mp4 +3 -0
  21. multicontrol_cookbook_grid/rainy/background/background/rainy_background_background_control_vis.mp4 +3 -0
  22. multicontrol_cookbook_grid/rainy/background/background/spec.json +21 -0
  23. multicontrol_cookbook_grid/rainy/car_color/color/config.yaml +882 -0
  24. multicontrol_cookbook_grid/rainy/car_color/color/console.log +10 -0
  25. multicontrol_cookbook_grid/rainy/car_color/color/debug.log +0 -0
  26. multicontrol_cookbook_grid/rainy/car_color/color/rainy_car_color_color.json +1 -0
  27. multicontrol_cookbook_grid/rainy/car_color/color/rainy_car_color_color.mp4 +3 -0
  28. multicontrol_cookbook_grid/rainy/car_color/color/rainy_car_color_color.txt +1 -0
  29. multicontrol_cookbook_grid/rainy/car_color/color/rainy_car_color_color_control_edge.mp4 +3 -0
  30. multicontrol_cookbook_grid/rainy/car_color/color/spec.json +13 -0
  31. multicontrol_cookbook_grid/rainy/weather/lighting/config.yaml +825 -0
  32. multicontrol_cookbook_grid/rainy/weather/lighting/console.log +12 -0
  33. multicontrol_cookbook_grid/rainy/weather/lighting/debug.log +0 -0
  34. multicontrol_cookbook_grid/rainy/weather/lighting/rainy_weather_lighting.json +1 -0
  35. multicontrol_cookbook_grid/rainy/weather/lighting/rainy_weather_lighting.mp4 +3 -0
  36. multicontrol_cookbook_grid/rainy/weather/lighting/rainy_weather_lighting.txt +1 -0
  37. multicontrol_cookbook_grid/rainy/weather/lighting/rainy_weather_lighting_control_edge.mp4 +3 -0
  38. multicontrol_cookbook_grid/rainy/weather/lighting/rainy_weather_lighting_control_vis.mp4 +3 -0
  39. multicontrol_cookbook_grid/rainy/weather/lighting/spec.json +16 -0
  40. multicontrol_cookbook_grid/sunny/Building/color/config.yaml +882 -0
  41. multicontrol_cookbook_grid/sunny/Building/color/console.log +10 -0
  42. multicontrol_cookbook_grid/sunny/Building/color/debug.log +0 -0
  43. multicontrol_cookbook_grid/sunny/Building/color/spec.json +13 -0
  44. multicontrol_cookbook_grid/sunny/Building/color/sunny_Building_color.json +1 -0
  45. multicontrol_cookbook_grid/sunny/Building/color/sunny_Building_color.mp4 +3 -0
  46. multicontrol_cookbook_grid/sunny/Building/color/sunny_Building_color.txt +1 -0
  47. multicontrol_cookbook_grid/sunny/Building/color/sunny_Building_color_control_edge.mp4 +3 -0
  48. multicontrol_cookbook_grid/sunny/background/background/config.yaml +825 -0
  49. multicontrol_cookbook_grid/sunny/background/background/console.log +13 -0
  50. multicontrol_cookbook_grid/sunny/background/background/debug.log +0 -0
multicontrol_cookbook_grid/_edges/rainy_edge.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:205a8559f8b0acfcef45c4e8463ed108c1e501b99ebd066a399a2ca1e77ec51f
3
+ size 2078369
multicontrol_cookbook_grid/_edges/sunny_edge.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:07b80cbf9b4b177f1454ac4f07023d715c4aff13846d92db8197810a21e30fef
3
+ size 1223360
multicontrol_cookbook_grid/_masks/rainy/background_mask.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5da274b195348bb2aba7a21a151725caaab7e82af98890e0ea321292509e1fc1
3
+ size 909940
multicontrol_cookbook_grid/_masks/sunny/background_mask.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d9a960f90d662fd6f977275d796d8a1618338c1076b393d0c371558614b5f133
3
+ size 379094
multicontrol_cookbook_grid/rainy/Building/color/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
+ 0x7f5855f0f520>, 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
+ 0x7f5855f0f520>, 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 0x7f5855f0f640>
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 0x7f5855f0fbe0>
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 0x7f5855f0f640>
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 0x7f5855d98040>
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 0x7f585a3f7be0>
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 0x7f5855e3c820>
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'
multicontrol_cookbook_grid/rainy/Building/color/console.log ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ [06-26 08:42:32|INFO|cosmos_transfer2/inference.py:146:__init__] Found 1 hint keys across all samples
2
+ [06-26 08:42:32|INFO|cosmos_transfer2/inference.py:156:__init__] Saved config to /scratch/ssaha/cosmos-transfer2.5/outputs/multicontrol_cookbook_grid/rainy/Building/color/config.yaml
3
+ [06-26 08:42:32|INFO|cosmos_transfer2/inference.py:163:generate] Generating 1 samples: ['rainy_Building_color']
4
+ [06-26 08:42:32|INFO|cosmos_transfer2/inference.py:167:generate] [1/1] Processing sample rainy_Building_color
5
+ [06-26 08:42:32|INFO|cosmos_transfer2/inference.py:208:_generate_sample] Saved arguments to /scratch/ssaha/cosmos-transfer2.5/outputs/multicontrol_cookbook_grid/rainy/Building/color/rainy_Building_color.json
6
+ [06-26 08:42:32|WARNING|cosmos_transfer2/inference.py:239:_generate_sample] Guardrail checks on prompt are disabled
7
+ [06-26 08:42:32|INFO|cosmos_transfer2/inference.py:242:_generate_sample] Processing the following paths: {'edge': '/scratch/ssaha/cosmos-transfer2.5/outputs/multicontrol_cookbook_grid/_edges/rainy_edge.mp4', 'edge_mask': None, 'edge_mask_prompt': None}
8
+ [06-26 08:53:04|INFO|cosmos_transfer2/inference.py:311:_generate_sample] edge control video saved to /scratch/ssaha/cosmos-transfer2.5/outputs/multicontrol_cookbook_grid/rainy/Building/color/rainy_Building_color_control_edge.mp4
9
+ [06-26 08:53:04|WARNING|cosmos_transfer2/inference.py:335:_generate_sample] Guardrail checks on video are disabled
10
+ [06-26 08:53:05|SUCCESS|cosmos_transfer2/inference.py:343:_generate_sample] Generated video saved to /scratch/ssaha/cosmos-transfer2.5/outputs/multicontrol_cookbook_grid/rainy/Building/color/rainy_Building_color.mp4
multicontrol_cookbook_grid/rainy/Building/color/debug.log ADDED
The diff for this file is too large to render. See raw diff
 
multicontrol_cookbook_grid/rainy/Building/color/rainy_Building_color.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"name":"rainy_Building_color","prompt_path":null,"prompt":"The video shows an urban intersection captured from a vehicle-mounted camera on a rainy overcast day. The streets are lined with ornate classical stone buildings featuring columns, cornices and tall arched windows, their facades darkened and glistening from the rain. A wet 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 diffuse overcast light, 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_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":35,"show_control_condition":false,"show_input":false,"keep_input_resolution":true,"edge":{"control_path":"/scratch/ssaha/cosmos-transfer2.5/outputs/multicontrol_cookbook_grid/_edges/rainy_edge.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}
multicontrol_cookbook_grid/rainy/Building/color/rainy_Building_color.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:98bf90ea13b09d8ba738c1130c589c9c2e35cfc96871acb154b8d97306ca89ee
3
+ size 2182589
multicontrol_cookbook_grid/rainy/Building/color/rainy_Building_color.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ The video shows an urban intersection captured from a vehicle-mounted camera on a rainy overcast day. The streets are lined with ornate classical stone buildings featuring columns, cornices and tall arched windows, their facades darkened and glistening from the rain. A wet 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 diffuse overcast light, high detail.
multicontrol_cookbook_grid/rainy/Building/color/rainy_Building_color_control_edge.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4d1a2bd621384e9ffdfe7aeacfdc3c277e04360f64aa63573dd720fda2ac14af
3
+ size 2253955
multicontrol_cookbook_grid/rainy/Building/color/spec.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "rainy_Building_color",
3
+ "prompt": "The video shows an urban intersection captured from a vehicle-mounted camera on a rainy overcast day. The streets are lined with ornate classical stone buildings featuring columns, cornices and tall arched windows, their facades darkened and glistening from the rain. A wet 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 diffuse overcast light, high 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": 35,
7
+ "seed": 2025,
8
+ "edge": {
9
+ "control_path": "/scratch/ssaha/cosmos-transfer2.5/outputs/multicontrol_cookbook_grid/_edges/rainy_edge.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
+ }
multicontrol_cookbook_grid/rainy/background/background/config.yaml ADDED
@@ -0,0 +1,825 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ dataset:
34
+ augmentor_name: video_basic_augmentor_v2_with_control
35
+ caption_type: t2w_qwen2p5_7b
36
+ control_input_type: edge_vis_depth_segcolor
37
+ dataset_resolution_type: gt720p
38
+ embedding_type: null
39
+ max_fps_thres: '60'
40
+ min_fps_thres: '10'
41
+ num_video_frames: '93'
42
+ resolution: '720'
43
+ use_native_fps: 'True'
44
+ video_decoder_name: video_naive_bytes
45
+ num_workers: '4'
46
+ dataloader_val:
47
+ _target_: <class 'cosmos_transfer2._src.predict2.datasets.joint_dataloader.IterativeJointDataLoader'>
48
+ dataloaders:
49
+ image_data:
50
+ dataloader:
51
+ _target_: <function get_cached_replay_dataloader at 0x7f85508e7490>
52
+ batch_size: '2'
53
+ cache_augment_fn: null
54
+ cache_replay_name: image_dataloader
55
+ cache_size: '32'
56
+ concat_size: '1'
57
+ dataset:
58
+ _target_: <function get_image_dataset at 0x7f85508e7a30>
59
+ len_t5: '512'
60
+ resolution: '512'
61
+ t5_dim: '1024'
62
+ num_workers: '8'
63
+ pin_memory: 'True'
64
+ shuffle: 'False'
65
+ use_cache: 'False'
66
+ webdataset: 'False'
67
+ ratio: '1'
68
+ video_data:
69
+ dataloader:
70
+ _target_: <function get_cached_replay_dataloader at 0x7f85508e7490>
71
+ batch_size: '1'
72
+ cache_augment_fn: null
73
+ cache_replay_name: video_dataloader
74
+ cache_size: '32'
75
+ concat_size: '1'
76
+ dataset:
77
+ _target_: <function get_video_dataset at 0x7f85508e7e20>
78
+ len_t5: '512'
79
+ num_video_frames: '136'
80
+ resolution: '512'
81
+ t5_dim: '1024'
82
+ num_workers: '8'
83
+ pin_memory: 'True'
84
+ shuffle: 'False'
85
+ use_cache: 'False'
86
+ webdataset: 'False'
87
+ ratio: '1'
88
+ defaults:
89
+ - _self_
90
+ - data_train: mock
91
+ - data_val: mock
92
+ - optimizer: fusedadamw
93
+ - scheduler: lambdalinear
94
+ - model: ddp
95
+ - callbacks: basic
96
+ - net: null
97
+ - conditioner: video_prediction_control_conditioner
98
+ - ema: power
99
+ - tokenizer: wan2pt1_tokenizer
100
+ - checkpoint: s3
101
+ - ckpt_type: dummy
102
+ - experiment: null
103
+ job:
104
+ cluster: null
105
+ group: vid2vid_2B_control
106
+ name: vid2vid_2B_control_720p_t24_control_layer4_cr1pt1_embedding_rectified_flow
107
+ project: cosmos_transfer2
108
+ wandb_mode: online
109
+ model:
110
+ _recursive_: 'False'
111
+ _target_: <class 'cosmos_transfer2._src.transfer2.models.vid2vid_model_control_vace_rectified_flow.ControlVideo2WorldModelRectifiedFlow'>
112
+ config:
113
+ base_load_from: null
114
+ conditional_frame_timestep: -1.0
115
+ conditional_frames_probs:
116
+ 0: 0.4
117
+ 1: 0.4
118
+ 2: 0.2
119
+ conditioner:
120
+ _target_: <class 'cosmos_transfer2._src.transfer2.configs.vid2vid_transfer.defaults.conditioner.ControlVideo2WorldConditioner'>
121
+ control_input_depth:
122
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
123
+ dropout_rate: '0.0'
124
+ dtype: null
125
+ input_key: control_input_depth
126
+ output_key: control_input_depth
127
+ control_input_depth_mask:
128
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
129
+ dropout_rate: '0.0'
130
+ dtype: null
131
+ input_key: control_input_depth_mask
132
+ output_key: control_input_depth_mask
133
+ control_input_edge:
134
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
135
+ dropout_rate: '0.0'
136
+ dtype: null
137
+ input_key: control_input_edge
138
+ output_key: control_input_edge
139
+ control_input_edge_mask:
140
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
141
+ dropout_rate: '0.0'
142
+ dtype: null
143
+ input_key: control_input_edge_mask
144
+ output_key: control_input_edge_mask
145
+ control_input_inpaint:
146
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
147
+ dropout_rate: '0.0'
148
+ dtype: null
149
+ input_key: control_input_inpaint
150
+ output_key: control_input_inpaint
151
+ control_input_inpaint_mask:
152
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
153
+ dropout_rate: '0.0'
154
+ dtype: null
155
+ input_key: control_input_inpaint_mask
156
+ output_key: control_input_inpaint_mask
157
+ control_input_seg:
158
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
159
+ dropout_rate: '0.0'
160
+ dtype: null
161
+ input_key: control_input_seg
162
+ output_key: control_input_seg
163
+ control_input_seg_mask:
164
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
165
+ dropout_rate: '0.0'
166
+ dtype: null
167
+ input_key: control_input_seg_mask
168
+ output_key: control_input_seg_mask
169
+ control_input_vis:
170
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
171
+ dropout_rate: '0.0'
172
+ dtype: null
173
+ input_key: control_input_vis
174
+ output_key: control_input_vis
175
+ control_input_vis_mask:
176
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
177
+ dropout_rate: '0.0'
178
+ dtype: null
179
+ input_key: control_input_vis_mask
180
+ output_key: control_input_vis_mask
181
+ fps:
182
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
183
+ dropout_rate: '0.0'
184
+ dtype: null
185
+ input_key: fps
186
+ output_key: fps
187
+ padding_mask:
188
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
189
+ dropout_rate: '0.0'
190
+ dtype: null
191
+ input_key: padding_mask
192
+ output_key: padding_mask
193
+ text:
194
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.TextAttr'>
195
+ credential_path: credentials/s3_training.secret
196
+ dropout_rate: '0.2'
197
+ empty_string_embeddings_path: s3://bucket/predict2_assets/reason1_empty_string_embeddings.pt
198
+ input_key:
199
+ - t5_text_embeddings
200
+ use_empty_string: 'False'
201
+ use_video_condition:
202
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.BooleanFlag'>
203
+ dropout_rate: '0.0'
204
+ input_key: fps
205
+ output_key: use_video_condition
206
+ conditioning_strategy: frame_replace
207
+ copy_weight_strategy: first_n
208
+ denoise_replace_gt_frames: true
209
+ ema:
210
+ enabled: false
211
+ iteration_shift: 0
212
+ rate: 0.1
213
+ fsdp_shard_size: 1
214
+ high_sigma_ratio: 0.05
215
+ high_sigma_timesteps_max: 1000
216
+ high_sigma_timesteps_min: 980
217
+ hint_keys: edge_vis_depth_seg
218
+ init_lora_weights: true
219
+ input_caption_key: ai_caption
220
+ input_data_key: video
221
+ input_image_key: images
222
+ lora_alpha: 32
223
+ lora_rank: 32
224
+ lora_target_modules: q_proj,k_proj,v_proj,output_proj,mlp.layer1,mlp.layer2
225
+ max_num_conditional_frames: 2
226
+ min_num_conditional_frames: 0
227
+ net:
228
+ _target_: <class 'cosmos_transfer2._src.transfer2.networks.minimal_v4_lvg_dit_control_vace.MinimalV4LVGControlVaceDiT'>
229
+ adaln_lora_dim: '256'
230
+ atten_backend: minimal_a2a
231
+ concat_padding_mask: 'True'
232
+ condition_strategy: spaced
233
+ crossattn_emb_channels: '1024'
234
+ crossattn_proj_in_channels: '100352'
235
+ extra_per_block_abs_pos_emb: 'False'
236
+ in_channels: '16'
237
+ max_frames: '128'
238
+ max_img_h: '240'
239
+ max_img_w: '240'
240
+ mlp_ratio: '4.0'
241
+ model_channels: '2048'
242
+ num_blocks: '28'
243
+ num_control_branches: '4'
244
+ num_heads: '16'
245
+ num_max_modalities: '8'
246
+ out_channels: '16'
247
+ patch_spatial: '2'
248
+ patch_temporal: '1'
249
+ pos_emb_cls: rope3d
250
+ pos_emb_interpolation: crop
251
+ pos_emb_learnable: 'True'
252
+ rope_enable_fps_modulation: 'False'
253
+ rope_h_extrapolation_ratio: '3.0'
254
+ rope_t_extrapolation_ratio: '1.0'
255
+ rope_w_extrapolation_ratio: '3.0'
256
+ sac_config:
257
+ every_n_blocks: 1
258
+ mode: predict2_2b_720_aggressive
259
+ separate_embedders: 'False'
260
+ spatial_compression_factor: '8'
261
+ timestep_scale: '0.001'
262
+ use_adaln_lora: 'True'
263
+ use_after_proj_for_multi_branch: 'False'
264
+ use_crossattn_projection: 'True'
265
+ use_cuda_graphs: 'False'
266
+ use_input_hint_block: 'False'
267
+ use_wan_fp32_strategy: 'True'
268
+ vace_block_every_n: '7'
269
+ vace_has_mask: 'False'
270
+ precision: bfloat16
271
+ resolution: '720'
272
+ shift: 5
273
+ state_ch: 16
274
+ state_t: 24
275
+ text_encoder_class: reason1p1_7B
276
+ text_encoder_config:
277
+ ckpt_path: s3://bucket/cosmos_reasoning1/sft_exp700/sft_exp721-1_qwen7b_tl_721_5vs5_s3_balanced_n32_resume_16k/checkpoints/iter_000016000/model/
278
+ compute_online: true
279
+ embedding_concat_strategy: full_concat
280
+ model_config:
281
+ _target_: <class 'cosmos_transfer2._src.predict2.text_encoders.reason1.QwenVLBaseModel'>
282
+ model_config:
283
+ _target_: cosmos_transfer2._src.reason1.configs.default.model_config_qwen.QwenModelConfig
284
+ activation_checkpoint:
285
+ mode: selective
286
+ models: vlm
287
+ selective_ac_option: op
288
+ add_answer_tag: 'True'
289
+ add_cross_attention: 'False'
290
+ add_image_start_end_tag: 'False'
291
+ add_tile_tag: 'False'
292
+ architectures:
293
+ - Qwen2_5_VLForConditionalGeneration
294
+ attention_dropout: '0.0'
295
+ attn_implementation: flash_attention_2
296
+ attn_implementation_autoset: 'True'
297
+ aux_loss_coeff: '0.0'
298
+ bad_words_ids: null
299
+ begin_suppress_tokens: null
300
+ bos_token_id: '151643'
301
+ cache_dir: null
302
+ checkpoint:
303
+ async_mode: disabled
304
+ create_seed_checkpoint: false
305
+ enable_checkpoint: false
306
+ export_dtype: float32
307
+ folder: checkpoint
308
+ interval: 500
309
+ interval_type: steps
310
+ model_weights_only: false
311
+ chunk_size_feed_forward: '0'
312
+ ckpt_dir: null
313
+ ckpt_path: null
314
+ comm:
315
+ init_timeout_seconds: 300
316
+ trace_buf_size: 20000
317
+ train_timeout_seconds: 100
318
+ cp_size: null
319
+ cross_attention_hidden_size: null
320
+ decoder_start_token_id: null
321
+ deterministic: 'False'
322
+ diversity_penalty: '0.0'
323
+ do_sample: 'False'
324
+ early_stopping: 'False'
325
+ encoder_no_repeat_ngram_size: '0'
326
+ eos_token_id: '151645'
327
+ ep_size: null
328
+ experimental:
329
+ enable_async_tensor_parallel: false
330
+ enable_compiled_autograd: false
331
+ pipeline_parallel_degree: 1
332
+ exponential_decay_length_penalty: null
333
+ finetuning_task: null
334
+ float8:
335
+ enable_float8_linear: false
336
+ forced_bos_token_id: null
337
+ forced_eos_token_id: null
338
+ freeze_llm: 'False'
339
+ freeze_mm_projector: 'False'
340
+ freeze_vision_encoder: 'False'
341
+ fsdp_enabled: 'False'
342
+ hidden_act: silu
343
+ hidden_size: '3584'
344
+ id2label:
345
+ 0: LABEL_0
346
+ 1: LABEL_1
347
+ image_token_id: '151655'
348
+ initializer_range: '0.02'
349
+ intermediate_size: '18944'
350
+ is_decoder: 'False'
351
+ is_encoder_decoder: 'False'
352
+ label2id:
353
+ LABEL_0: '0'
354
+ LABEL_1: '1'
355
+ length_penalty: '1.0'
356
+ loss_per_token: 'True'
357
+ max_batch_size: '1'
358
+ max_length: '20'
359
+ max_position_embeddings: '128000'
360
+ max_seq_len: '128000'
361
+ max_window_layers: '28'
362
+ min_length: '0'
363
+ mm_projector: null
364
+ model_type: qwen2_5_vl
365
+ name_or_path: Qwen/Qwen2.5-VL-7B-Instruct
366
+ no_repeat_ngram_size: '0'
367
+ num_attention_heads: '28'
368
+ num_beam_groups: '1'
369
+ num_beams: '1'
370
+ num_hidden_layers: '28'
371
+ num_key_value_heads: '4'
372
+ num_return_sequences: '1'
373
+ num_tiles: '1'
374
+ optimizer:
375
+ early_step_in_backward: false
376
+ end_lr: 2.5e-05
377
+ fused: false
378
+ init_lr: 1.0e-05
379
+ lr: 0.0003
380
+ lr_multiplier_llm: 1.0
381
+ lr_multiplier_mm_projector: 1.0
382
+ lr_multiplier_vision_encoder: 0.1
383
+ name: AdamW
384
+ output_attentions: 'False'
385
+ output_hidden_states: 'True'
386
+ output_scores: 'False'
387
+ pad_token_id: null
388
+ precision: bfloat16
389
+ prefix: null
390
+ prepend_padding: 'False'
391
+ problem_type: null
392
+ pruned_heads: _Nothing.NOTHING
393
+ remove_invalid_values: 'False'
394
+ repetition_penalty: '1.0'
395
+ return_dict: 'True'
396
+ return_dict_in_generate: 'False'
397
+ rms_norm_eps: 1e-06
398
+ rope_scaling:
399
+ mrope_section:
400
+ - '16'
401
+ - '24'
402
+ - '24'
403
+ rope_type: default
404
+ type: default
405
+ rope_theta: '1000000.0'
406
+ s3_credential_path: credentials/pbss_dir.secret
407
+ seed: '0'
408
+ sep_token_id: null
409
+ sliding_window: '32768'
410
+ suppress_tokens: null
411
+ task_specific_params: null
412
+ temperature: '1.0'
413
+ tf_legacy_loss: 'False'
414
+ tie_encoder_decoder: 'False'
415
+ tie_word_embeddings: 'False'
416
+ tile_tag_type: space_separated
417
+ tokenizer_class: null
418
+ tokenizer_type: Qwen/Qwen2.5-VL-7B-Instruct
419
+ top_k: '50'
420
+ top_p: '1.0'
421
+ torch_dtype: bfloat16
422
+ torchscript: 'False'
423
+ training:
424
+ compile: false
425
+ context_parallel_degree: 1
426
+ data_parallel_replicate_degree: 1
427
+ data_parallel_shard_degree: -1
428
+ disable_loss_parallel: false
429
+ enable_cpu_offload: false
430
+ fsdp_reshard_after_forward: default
431
+ mixed_precision_param: bfloat16
432
+ mixed_precision_reduce: float32
433
+ steps: 400000
434
+ tensor_parallel_degree: 1
435
+ use_cosine_decay: false
436
+ use_linear_decay: true
437
+ warmup_steps: 1000
438
+ training_seq_len: '4096'
439
+ transformers_version: 4.51.0.dev0
440
+ typical_p: '1.0'
441
+ use_bfloat16: 'False'
442
+ use_cache: 'False'
443
+ use_fsdp2: 'True'
444
+ use_return_dict: 'True'
445
+ use_rope_from_torchtitan: 'False'
446
+ use_sliding_window: 'False'
447
+ video_token_id: '151656'
448
+ vision_config:
449
+ _target_: cosmos_transfer2._src.reason1.configs.default.model_config_qwen.QwenVisionConfig
450
+ add_cross_attention: 'False'
451
+ architectures: null
452
+ attn_implementation: flash_attention_2
453
+ attn_implementation_autoset: 'True'
454
+ bad_words_ids: null
455
+ begin_suppress_tokens: null
456
+ bos_token_id: null
457
+ chunk_size_feed_forward: '0'
458
+ cross_attention_hidden_size: null
459
+ decoder_start_token_id: null
460
+ depth: '32'
461
+ diversity_penalty: '0.0'
462
+ do_sample: 'False'
463
+ early_stopping: 'False'
464
+ embed_dim: null
465
+ encoder_no_repeat_ngram_size: '0'
466
+ eos_token_id: null
467
+ exponential_decay_length_penalty: null
468
+ finetuning_task: null
469
+ forced_bos_token_id: null
470
+ forced_eos_token_id: null
471
+ fullatt_block_indexes:
472
+ - '7'
473
+ - '15'
474
+ - '23'
475
+ - '31'
476
+ hidden_act: silu
477
+ hidden_size: '1280'
478
+ id2label:
479
+ 0: LABEL_0
480
+ 1: LABEL_1
481
+ in_channels: '3'
482
+ in_chans: '3'
483
+ intermediate_size: '3420'
484
+ is_decoder: 'False'
485
+ is_encoder_decoder: 'False'
486
+ label2id:
487
+ LABEL_0: '0'
488
+ LABEL_1: '1'
489
+ length_penalty: '1.0'
490
+ max_length: '20'
491
+ min_length: '0'
492
+ mlp_ratio: null
493
+ model_type: qwen2_5_vl
494
+ name_or_path: ''
495
+ no_repeat_ngram_size: '0'
496
+ num_beam_groups: '1'
497
+ num_beams: '1'
498
+ num_heads: '16'
499
+ num_return_sequences: '1'
500
+ out_hidden_size: '3584'
501
+ output_attentions: 'False'
502
+ output_hidden_states: 'False'
503
+ output_scores: 'False'
504
+ pad_token_id: null
505
+ patch_size: '14'
506
+ prefix: null
507
+ problem_type: null
508
+ pruned_heads: _Nothing.NOTHING
509
+ remove_invalid_values: 'False'
510
+ repetition_penalty: '1.0'
511
+ return_dict: 'True'
512
+ return_dict_in_generate: 'False'
513
+ sep_token_id: null
514
+ spatial_merge_size: '2'
515
+ spatial_patch_size: '14'
516
+ suppress_tokens: null
517
+ task_specific_params: null
518
+ temperature: '1.0'
519
+ temporal_patch_size: '2'
520
+ tf_legacy_loss: 'False'
521
+ tie_encoder_decoder: 'False'
522
+ tie_word_embeddings: 'True'
523
+ tokenizer_class: null
524
+ tokens_per_second: '2'
525
+ top_k: '50'
526
+ top_p: '1.0'
527
+ torch_dtype: bfloat16
528
+ torchscript: 'False'
529
+ typical_p: '1.0'
530
+ use_bfloat16: 'False'
531
+ window_size: '112'
532
+ vision_encoder: openai/clip-vit-base-patch32
533
+ vision_encoder_config:
534
+ depth_init: true
535
+ dim: 1024
536
+ ffn_dim_multiplier: null
537
+ head_dim: null
538
+ hidden_act: null
539
+ hidden_dim: 4096
540
+ image_size: 1024
541
+ image_token_id: null
542
+ multiple_of: null
543
+ n_heads: 16
544
+ n_kv_heads: null
545
+ n_layers: 24
546
+ norm_eps: 1.0e-05
547
+ norm_type: rmsnorm
548
+ num_channels: 3
549
+ patch_size: 16
550
+ proj_bias: null
551
+ qkv_bias: null
552
+ rope_theta: 10000.0
553
+ use_cache: false
554
+ use_rope_from_torchtitan: false
555
+ vision_encoder_in_channels: '3'
556
+ vision_end_token_id: '151653'
557
+ vision_start_token_id: '151652'
558
+ vision_token_id: '151654'
559
+ vocab_size: '152064'
560
+ z_loss_coeff: '0.0'
561
+ tokenizer:
562
+ _target_: <function build_tokenizer at 0x7f8554dc7a30>
563
+ cache_dir: null
564
+ tokenizer_type: Qwen/Qwen2.5-VL-7B-Instruct
565
+ n_layers_per_group: 5
566
+ s3_credential_path: credentials/s3_checkpoint.secret
567
+ tokenizer:
568
+ _target_: <class 'cosmos_transfer2._src.predict2.tokenizers.wan2pt1.Wan2pt1VAEInterface'>
569
+ chunk_duration: '81'
570
+ load_mean_std: 'False'
571
+ name: wan2pt1_tokenizer
572
+ temporal_window: '16'
573
+ train_time_distribution: logitnormal
574
+ train_time_weight: reweighting
575
+ use_dora: false
576
+ use_dynamic_shift: false
577
+ use_high_sigma_strategy: false
578
+ use_kerras_sigma_at_inference: false
579
+ use_lora: false
580
+ use_reference_image: false
581
+ use_torch_compile: false
582
+ model_parallel:
583
+ _cpu_offloading_context: null
584
+ async_tensor_model_parallel_allreduce: false
585
+ autocast_dtype: torch.float32
586
+ barrier_with_L1_time: true
587
+ batch_p2p_comm: true
588
+ batch_p2p_sync: true
589
+ bf16: false
590
+ context_parallel_size: 8
591
+ cpu_offloading: false
592
+ cpu_offloading_activations: true
593
+ cpu_offloading_double_buffering: false
594
+ cpu_offloading_num_layers: 0
595
+ cpu_offloading_weights: true
596
+ cross_entropy_fusion_impl: native
597
+ cross_entropy_loss_fusion: false
598
+ deallocate_pipeline_outputs: false
599
+ defer_embedding_wgrad_compute: false
600
+ delay_wgrad_compute: false
601
+ deterministic_mode: false
602
+ enable_autocast: false
603
+ expert_model_parallel_size: 1
604
+ expert_tensor_parallel_size: 1
605
+ finalize_model_grads_func: null
606
+ fp16: false
607
+ grad_scale_func: null
608
+ grad_sync_func: null
609
+ gradient_accumulation_fusion: false
610
+ hierarchical_context_parallel_sizes: null
611
+ microbatch_group_size_per_vp_stage: 1
612
+ moe_extended_tp: false
613
+ no_sync_func: null
614
+ num_microbatches_with_partial_activation_checkpoints: null
615
+ overlap_moe_expert_parallel_comm: false
616
+ overlap_p2p_comm: false
617
+ overlap_p2p_comm_warmup_flush: false
618
+ param_sync_func: null
619
+ params_dtype: torch.float32
620
+ perform_initialization: true
621
+ pipeline_dtype: null
622
+ pipeline_model_parallel_comm_backend: null
623
+ pipeline_model_parallel_size: 1
624
+ sequence_parallel: false
625
+ tensor_model_parallel_size: 1
626
+ timers: null
627
+ tp_comm_atomic_ag: false
628
+ tp_comm_atomic_rs: false
629
+ tp_comm_bootstrap_backend: nccl
630
+ tp_comm_bulk_dgrad: true
631
+ tp_comm_bulk_wgrad: true
632
+ tp_comm_overlap: false
633
+ tp_comm_overlap_ag: true
634
+ tp_comm_overlap_disable_fc1: false
635
+ tp_comm_overlap_disable_qkv: false
636
+ tp_comm_overlap_rs: true
637
+ tp_comm_overlap_rs_dgrad: false
638
+ tp_comm_split_ag: true
639
+ tp_comm_split_rs: true
640
+ use_cpu_initialization: false
641
+ use_ring_exchange_p2p: false
642
+ use_te_rng_tracker: false
643
+ variable_seq_lengths: false
644
+ virtual_pipeline_model_parallel_size: null
645
+ wgrad_deferral_limit: 0
646
+ optimizer:
647
+ _target_: <function get_base_optimizer at 0x7f85509f4670>
648
+ betas:
649
+ - '0.9'
650
+ - '0.999'
651
+ eps: 1e-08
652
+ fused: 'True'
653
+ lr: '8.63e-05'
654
+ model: null
655
+ optim_type: adamw
656
+ weight_decay: '0.001'
657
+ scheduler:
658
+ _target_: <class 'cosmos_transfer2._src.imaginaire.functional.lr_scheduler.LambdaLinearScheduler'>
659
+ cycle_lengths:
660
+ - '100000'
661
+ f_max:
662
+ - '0.5'
663
+ f_min:
664
+ - '0.2'
665
+ f_start:
666
+ - 1e-06
667
+ verbosity_interval: '0'
668
+ warm_up_steps:
669
+ - '100'
670
+ trainer:
671
+ callbacks:
672
+ compile_tokenizer:
673
+ _target_: <class 'cosmos_transfer2._src.predict2.callbacks.compile_tokenizer.CompileTokenizer'>
674
+ compile_after_iterations: '4'
675
+ dynamic: 'False'
676
+ enabled: 'True'
677
+ dataloader_speed:
678
+ _target_: <class 'cosmos_transfer2._src.predict2.callbacks.dataloading_monitor.DetailedDataLoadingSpeedMonitor'>
679
+ every_n: '200'
680
+ save_s3: 'True'
681
+ step_size: '1'
682
+ device_monitor:
683
+ _target_: <class 'cosmos_transfer2._src.predict2.callbacks.device_monitor.DeviceMonitor'>
684
+ every_n: '200'
685
+ log_memory_detail: 'True'
686
+ save_s3: 'True'
687
+ step_size: '1'
688
+ upload_every_n_mul: '10'
689
+ every_n_sample_ema:
690
+ _target_: <class 'cosmos_transfer2._src.transfer2.callbacks.every_n_draw_sample.EveryNDrawSample'>
691
+ every_n: '5000'
692
+ fix_batch_fp: null
693
+ fps: '16'
694
+ guidance:
695
+ - '0'
696
+ - '3'
697
+ - '7'
698
+ is_ema: 'True'
699
+ is_sample: 'True'
700
+ is_x0: 'False'
701
+ n_sample_to_save: '128'
702
+ n_viz_sample: '3'
703
+ n_x0_level: '4'
704
+ num_sampling_step: '35'
705
+ save_s3: 'True'
706
+ show_all_frames: 'False'
707
+ step_size: '1'
708
+ use_negative_prompt: 'False'
709
+ every_n_sample_reg:
710
+ _target_: <class 'cosmos_transfer2._src.transfer2.callbacks.every_n_draw_sample.EveryNDrawSample'>
711
+ every_n: '5000'
712
+ fix_batch_fp: null
713
+ fps: '16'
714
+ guidance:
715
+ - '0'
716
+ - '3'
717
+ - '7'
718
+ is_ema: 'False'
719
+ is_sample: 'True'
720
+ is_x0: 'False'
721
+ n_sample_to_save: '128'
722
+ n_viz_sample: '3'
723
+ n_x0_level: '4'
724
+ num_sampling_step: '35'
725
+ save_s3: 'True'
726
+ show_all_frames: 'False'
727
+ step_size: '1'
728
+ use_negative_prompt: 'False'
729
+ frame_loss_log:
730
+ _target_: <class 'cosmos_transfer2._src.transfer2.callbacks.frame_loss_log.FrameLossLog'>
731
+ logging_iter_multipler: '1'
732
+ save_logging_iter_multipler: '10'
733
+ save_s3: 'True'
734
+ grad_clip:
735
+ _target_: <class 'cosmos_transfer2._src.predict2.callbacks.grad_clip.GradClip'>
736
+ clip_norm: '0.1'
737
+ force_finite: 'True'
738
+ heart_beat:
739
+ _target_: <class 'cosmos_transfer2._src.predict2.callbacks.heart_beat.HeartBeat'>
740
+ every_n: '10'
741
+ save_s3: 'True'
742
+ step_size: '1'
743
+ update_interval_in_minute: '20'
744
+ iter_speed:
745
+ _target_: <class 'cosmos_transfer2._src.predict2.callbacks.iter_speed.IterSpeed'>
746
+ every_n: '100'
747
+ hit_thres: '300'
748
+ save_s3: 'True'
749
+ save_s3_every_log_n: '10'
750
+ load_base_model:
751
+ _target_: <class 'cosmos_transfer2._src.transfer2.configs.vid2vid_transfer.defaults.callbacks.LoadBaseModel'>
752
+ config: null
753
+ trainer: null
754
+ low_prec:
755
+ _target_: <class 'cosmos_transfer2._src.imaginaire.utils.callback.LowPrecisionCallback'>
756
+ config: null
757
+ trainer: null
758
+ update_iter: '1'
759
+ manual_gc:
760
+ _target_: <class 'cosmos_transfer2._src.imaginaire.callbacks.manual_gc.ManualGarbageCollection'>
761
+ every_n: '200'
762
+ warm_up: '5'
763
+ wandb:
764
+ _target_: <class 'cosmos_transfer2._src.predict2.callbacks.wandb_log.WandbCallback'>
765
+ logging_iter_multipler: '1'
766
+ save_logging_iter_multipler: '10'
767
+ save_s3: 'True'
768
+ wandb_10x:
769
+ _target_: <class 'cosmos_transfer2._src.predict2.callbacks.wandb_log.WandbCallback'>
770
+ logging_iter_multipler: '10'
771
+ save_logging_iter_multipler: '1'
772
+ save_s3: 'True'
773
+ compile_config:
774
+ recompile_limit: '8'
775
+ use_duck_shape: 'True'
776
+ cudnn:
777
+ benchmark: 'True'
778
+ deterministic: 'False'
779
+ ddp:
780
+ broadcast_buffers: 'True'
781
+ find_unused_parameters: 'False'
782
+ static_graph: 'True'
783
+ distributed_parallelism: fsdp
784
+ grad_accum_iter: '1'
785
+ grad_scaler_args:
786
+ enabled: 'False'
787
+ logging_iter: '200'
788
+ max_iter: '100000'
789
+ max_val_iter: null
790
+ memory_format: torch.preserve_format
791
+ profiling:
792
+ enable_memory_snapshot: 'False'
793
+ enable_profiling: 'False'
794
+ profile_freq: '1'
795
+ profile_memory: 'False'
796
+ record_shape: 'False'
797
+ save_s3: 'False'
798
+ target_ranks:
799
+ - '0'
800
+ - '1'
801
+ - '2'
802
+ - '3'
803
+ - '4'
804
+ - '5'
805
+ - '6'
806
+ - '7'
807
+ with_modules: 'True'
808
+ with_stack: 'True'
809
+ run_validation: 'False'
810
+ run_validation_on_start: 'False'
811
+ seed: '0'
812
+ straggler_detection:
813
+ analyze_backward: 'True'
814
+ analyze_dataloading: 'True'
815
+ analyze_forward: 'True'
816
+ analyze_optimizer: 'True'
817
+ enabled: 'True'
818
+ max_diff: '1.5'
819
+ profile_freq: '1'
820
+ raise_error: 'True'
821
+ report_freq: '100'
822
+ timeout_period: '999999999'
823
+ type: <class 'cosmos_transfer2._src.imaginaire.trainer.ImaginaireTrainer'>
824
+ validation_iter: '100'
825
+ upload_reproducible_setup: 'True'
multicontrol_cookbook_grid/rainy/background/background/console.log ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [06-26 08:28:43|INFO|cosmos_transfer2/inference.py:146:__init__] Found 3 hint keys across all samples
2
+ [06-26 08:28:43|WARNING|cosmos_transfer2/inference.py:148:__init__] Loading the multicontrol model. Multicontrol inference is not strictly equal to single control
3
+ [06-26 08:28:43|INFO|cosmos_transfer2/inference.py:156:__init__] Saved config to /scratch/ssaha/cosmos-transfer2.5/outputs/multicontrol_cookbook_grid/rainy/background/background/config.yaml
4
+ [06-26 08:28:43|INFO|cosmos_transfer2/inference.py:163:generate] Generating 1 samples: ['rainy_background_background']
5
+ [06-26 08:28:43|INFO|cosmos_transfer2/inference.py:167:generate] [1/1] Processing sample rainy_background_background
6
+ [06-26 08:28:43|INFO|cosmos_transfer2/inference.py:208:_generate_sample] Saved arguments to /scratch/ssaha/cosmos-transfer2.5/outputs/multicontrol_cookbook_grid/rainy/background/background/rainy_background_background.json
7
+ [06-26 08:28:43|WARNING|cosmos_transfer2/inference.py:239:_generate_sample] Guardrail checks on prompt are disabled
8
+ [06-26 08:28:43|INFO|cosmos_transfer2/inference.py:242:_generate_sample] Processing the following paths: {'edge': '/scratch/ssaha/cosmos-transfer2.5/outputs/multicontrol_cookbook_grid/_edges/rainy_edge.mp4', 'edge_mask': None, 'edge_mask_prompt': None, 'vis': None, 'vis_mask': None, 'vis_mask_prompt': None, 'seg': '/scratch/ssaha/cosmos-transfer2.5/SceneDriveBench/output/priority_from_right/run_000_rainy/videos/semseg_front.mp4', 'seg_mask': '/scratch/ssaha/cosmos-transfer2.5/outputs/multicontrol_cookbook_grid/_masks/rainy/background_mask.mp4', 'seg_mask_prompt': None}
9
+ [06-26 08:42:02|INFO|cosmos_transfer2/inference.py:311:_generate_sample] edge control video saved to /scratch/ssaha/cosmos-transfer2.5/outputs/multicontrol_cookbook_grid/rainy/background/background/rainy_background_background_control_edge.mp4
10
+ [06-26 08:42:03|INFO|cosmos_transfer2/inference.py:311:_generate_sample] vis control video saved to /scratch/ssaha/cosmos-transfer2.5/outputs/multicontrol_cookbook_grid/rainy/background/background/rainy_background_background_control_vis.mp4
11
+ [06-26 08:42:04|INFO|cosmos_transfer2/inference.py:311:_generate_sample] seg control video saved to /scratch/ssaha/cosmos-transfer2.5/outputs/multicontrol_cookbook_grid/rainy/background/background/rainy_background_background_control_seg.mp4
12
+ [06-26 08:42:04|WARNING|cosmos_transfer2/inference.py:335:_generate_sample] Guardrail checks on video are disabled
13
+ [06-26 08:42:06|SUCCESS|cosmos_transfer2/inference.py:343:_generate_sample] Generated video saved to /scratch/ssaha/cosmos-transfer2.5/outputs/multicontrol_cookbook_grid/rainy/background/background/rainy_background_background.mp4
multicontrol_cookbook_grid/rainy/background/background/debug.log ADDED
The diff for this file is too large to render. See raw diff
 
multicontrol_cookbook_grid/rainy/background/background/rainy_background_background.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"name":"rainy_background_background","prompt_path":null,"prompt":"The video shows an urban intersection captured from a vehicle-mounted camera on a rainy overcast day. Beyond the junction the surroundings open onto a dense modern downtown of tall glass-and-steel skyscrapers and a distant city skyline veiled in rain and low cloud. The wet road network with painted lane markings, stop lines and pedestrian crosswalks remains in the foreground, multiple vehicles move through the scene with reflections on the asphalt, and the camera follows the moving ego vehicle smoothly. Photorealistic, atmospheric, 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. Empty barren horizon, flat low-rise outskirts, blurry melted skyline, distorted warped buildings.","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":35,"show_control_condition":false,"show_input":false,"keep_input_resolution":true,"edge":{"control_path":"/scratch/ssaha/cosmos-transfer2.5/outputs/multicontrol_cookbook_grid/_edges/rainy_edge.mp4","control_weight":1.0,"mask_path":null,"mask_prompt":null,"preset_edge_threshold":"medium"},"depth":null,"vis":{"control_path":null,"control_weight":0.6,"mask_path":null,"mask_prompt":null,"preset_blur_strength":"medium"},"seg":{"control_path":"/scratch/ssaha/cosmos-transfer2.5/SceneDriveBench/output/priority_from_right/run_000_rainy/videos/semseg_front.mp4","control_weight":0.4,"mask_path":"/scratch/ssaha/cosmos-transfer2.5/outputs/multicontrol_cookbook_grid/_masks/rainy/background_mask.mp4","mask_prompt":null,"control_prompt":null},"guided_generation_mask":null,"guided_generation_step_threshold":25,"guided_generation_foreground_labels":null}
multicontrol_cookbook_grid/rainy/background/background/rainy_background_background.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:81ad28ef3935ca93ef2438905c52729e80e02f2badca4768d9060c9920755635
3
+ size 2700019
multicontrol_cookbook_grid/rainy/background/background/rainy_background_background.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ The video shows an urban intersection captured from a vehicle-mounted camera on a rainy overcast day. Beyond the junction the surroundings open onto a dense modern downtown of tall glass-and-steel skyscrapers and a distant city skyline veiled in rain and low cloud. The wet road network with painted lane markings, stop lines and pedestrian crosswalks remains in the foreground, multiple vehicles move through the scene with reflections on the asphalt, and the camera follows the moving ego vehicle smoothly. Photorealistic, atmospheric, high detail.
multicontrol_cookbook_grid/rainy/background/background/rainy_background_background_control_edge.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4d1a2bd621384e9ffdfe7aeacfdc3c277e04360f64aa63573dd720fda2ac14af
3
+ size 2253955
multicontrol_cookbook_grid/rainy/background/background/rainy_background_background_control_seg.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3d25de8bd06e2068b6d7f1587361c411644431665a81b18c832ee03f8c8f250c
3
+ size 1640719
multicontrol_cookbook_grid/rainy/background/background/rainy_background_background_control_vis.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c9a9e148f1100e8757fd79f2d91e144f13d1ef9f647745a7550adf9926d0f418
3
+ size 547205
multicontrol_cookbook_grid/rainy/background/background/spec.json ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "rainy_background_background",
3
+ "prompt": "The video shows an urban intersection captured from a vehicle-mounted camera on a rainy overcast day. Beyond the junction the surroundings open onto a dense modern downtown of tall glass-and-steel skyscrapers and a distant city skyline veiled in rain and low cloud. The wet road network with painted lane markings, stop lines and pedestrian crosswalks remains in the foreground, multiple vehicles move through the scene with reflections on the asphalt, and the camera follows the moving ego vehicle smoothly. Photorealistic, atmospheric, high 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": 35,
7
+ "seed": 2025,
8
+ "edge": {
9
+ "control_path": "/scratch/ssaha/cosmos-transfer2.5/outputs/multicontrol_cookbook_grid/_edges/rainy_edge.mp4",
10
+ "control_weight": 1.0
11
+ },
12
+ "seg": {
13
+ "control_path": "/scratch/ssaha/cosmos-transfer2.5/SceneDriveBench/output/priority_from_right/run_000_rainy/videos/semseg_front.mp4",
14
+ "control_weight": 0.4,
15
+ "mask_path": "/scratch/ssaha/cosmos-transfer2.5/outputs/multicontrol_cookbook_grid/_masks/rainy/background_mask.mp4"
16
+ },
17
+ "vis": {
18
+ "control_weight": 0.6
19
+ },
20
+ "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. Empty barren horizon, flat low-rise outskirts, blurry melted skyline, distorted warped buildings."
21
+ }
multicontrol_cookbook_grid/rainy/car_color/color/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
+ 0x7f6a546cf490>, 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
+ 0x7f6a546cf490>, 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 0x7f6a546cf5b0>
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 0x7f6a546cfb50>
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 0x7f6a546cf5b0>
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 0x7f6a546cff40>
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 0x7f6a58bb3b50>
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 0x7f6a547fc790>
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'
multicontrol_cookbook_grid/rainy/car_color/color/console.log ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ [06-26 08:53:31|INFO|cosmos_transfer2/inference.py:146:__init__] Found 1 hint keys across all samples
2
+ [06-26 08:53:31|INFO|cosmos_transfer2/inference.py:156:__init__] Saved config to /scratch/ssaha/cosmos-transfer2.5/outputs/multicontrol_cookbook_grid/rainy/car_color/color/config.yaml
3
+ [06-26 08:53:31|INFO|cosmos_transfer2/inference.py:163:generate] Generating 1 samples: ['rainy_car_color_color']
4
+ [06-26 08:53:31|INFO|cosmos_transfer2/inference.py:167:generate] [1/1] Processing sample rainy_car_color_color
5
+ [06-26 08:53:31|INFO|cosmos_transfer2/inference.py:208:_generate_sample] Saved arguments to /scratch/ssaha/cosmos-transfer2.5/outputs/multicontrol_cookbook_grid/rainy/car_color/color/rainy_car_color_color.json
6
+ [06-26 08:53:31|WARNING|cosmos_transfer2/inference.py:239:_generate_sample] Guardrail checks on prompt are disabled
7
+ [06-26 08:53:31|INFO|cosmos_transfer2/inference.py:242:_generate_sample] Processing the following paths: {'edge': '/scratch/ssaha/cosmos-transfer2.5/outputs/multicontrol_cookbook_grid/_edges/rainy_edge.mp4', 'edge_mask': None, 'edge_mask_prompt': None}
8
+ [06-26 09:04:02|INFO|cosmos_transfer2/inference.py:311:_generate_sample] edge control video saved to /scratch/ssaha/cosmos-transfer2.5/outputs/multicontrol_cookbook_grid/rainy/car_color/color/rainy_car_color_color_control_edge.mp4
9
+ [06-26 09:04:02|WARNING|cosmos_transfer2/inference.py:335:_generate_sample] Guardrail checks on video are disabled
10
+ [06-26 09:04:04|SUCCESS|cosmos_transfer2/inference.py:343:_generate_sample] Generated video saved to /scratch/ssaha/cosmos-transfer2.5/outputs/multicontrol_cookbook_grid/rainy/car_color/color/rainy_car_color_color.mp4
multicontrol_cookbook_grid/rainy/car_color/color/debug.log ADDED
The diff for this file is too large to render. See raw diff
 
multicontrol_cookbook_grid/rainy/car_color/color/rainy_car_color_color.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"name":"rainy_car_color_color","prompt_path":null,"prompt":"The video shows an urban intersection captured from a vehicle-mounted camera on a rainy overcast day. The vehicles moving through the junction are glossy vivid candy-red, their wet paint gleaming and mirroring the grey sky and surrounding lights. A wet road network with painted lane markings, stop lines and pedestrian crosswalks runs through the scene, low-rise buildings and sidewalks line the streets, and the camera follows the moving ego vehicle smoothly. Photorealistic, rain-soaked reflections, 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. Dull grey washed-out cars, color bleeding onto road or buildings, melted or deformed vehicle bodies.","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":35,"show_control_condition":false,"show_input":false,"keep_input_resolution":true,"edge":{"control_path":"/scratch/ssaha/cosmos-transfer2.5/outputs/multicontrol_cookbook_grid/_edges/rainy_edge.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}
multicontrol_cookbook_grid/rainy/car_color/color/rainy_car_color_color.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f85880dcbfb464b83384a0d5836a2d2c929294f16f5ab5a431e57a73e4c5fb7b
3
+ size 2041880
multicontrol_cookbook_grid/rainy/car_color/color/rainy_car_color_color.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ The video shows an urban intersection captured from a vehicle-mounted camera on a rainy overcast day. The vehicles moving through the junction are glossy vivid candy-red, their wet paint gleaming and mirroring the grey sky and surrounding lights. A wet road network with painted lane markings, stop lines and pedestrian crosswalks runs through the scene, low-rise buildings and sidewalks line the streets, and the camera follows the moving ego vehicle smoothly. Photorealistic, rain-soaked reflections, high detail.
multicontrol_cookbook_grid/rainy/car_color/color/rainy_car_color_color_control_edge.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4d1a2bd621384e9ffdfe7aeacfdc3c277e04360f64aa63573dd720fda2ac14af
3
+ size 2253955
multicontrol_cookbook_grid/rainy/car_color/color/spec.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "rainy_car_color_color",
3
+ "prompt": "The video shows an urban intersection captured from a vehicle-mounted camera on a rainy overcast day. The vehicles moving through the junction are glossy vivid candy-red, their wet paint gleaming and mirroring the grey sky and surrounding lights. A wet road network with painted lane markings, stop lines and pedestrian crosswalks runs through the scene, low-rise buildings and sidewalks line the streets, and the camera follows the moving ego vehicle smoothly. Photorealistic, rain-soaked reflections, high 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": 35,
7
+ "seed": 2025,
8
+ "edge": {
9
+ "control_path": "/scratch/ssaha/cosmos-transfer2.5/outputs/multicontrol_cookbook_grid/_edges/rainy_edge.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. Dull grey washed-out cars, color bleeding onto road or buildings, melted or deformed vehicle bodies."
13
+ }
multicontrol_cookbook_grid/rainy/weather/lighting/config.yaml ADDED
@@ -0,0 +1,825 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ dataset:
34
+ augmentor_name: video_basic_augmentor_v2_with_control
35
+ caption_type: t2w_qwen2p5_7b
36
+ control_input_type: edge_vis_depth_segcolor
37
+ dataset_resolution_type: gt720p
38
+ embedding_type: null
39
+ max_fps_thres: '60'
40
+ min_fps_thres: '10'
41
+ num_video_frames: '93'
42
+ resolution: '720'
43
+ use_native_fps: 'True'
44
+ video_decoder_name: video_naive_bytes
45
+ num_workers: '4'
46
+ dataloader_val:
47
+ _target_: <class 'cosmos_transfer2._src.predict2.datasets.joint_dataloader.IterativeJointDataLoader'>
48
+ dataloaders:
49
+ image_data:
50
+ dataloader:
51
+ _target_: <function get_cached_replay_dataloader at 0x7f7673cb75b0>
52
+ batch_size: '2'
53
+ cache_augment_fn: null
54
+ cache_replay_name: image_dataloader
55
+ cache_size: '32'
56
+ concat_size: '1'
57
+ dataset:
58
+ _target_: <function get_image_dataset at 0x7f7673cb7b50>
59
+ len_t5: '512'
60
+ resolution: '512'
61
+ t5_dim: '1024'
62
+ num_workers: '8'
63
+ pin_memory: 'True'
64
+ shuffle: 'False'
65
+ use_cache: 'False'
66
+ webdataset: 'False'
67
+ ratio: '1'
68
+ video_data:
69
+ dataloader:
70
+ _target_: <function get_cached_replay_dataloader at 0x7f7673cb75b0>
71
+ batch_size: '1'
72
+ cache_augment_fn: null
73
+ cache_replay_name: video_dataloader
74
+ cache_size: '32'
75
+ concat_size: '1'
76
+ dataset:
77
+ _target_: <function get_video_dataset at 0x7f7673cb7f40>
78
+ len_t5: '512'
79
+ num_video_frames: '136'
80
+ resolution: '512'
81
+ t5_dim: '1024'
82
+ num_workers: '8'
83
+ pin_memory: 'True'
84
+ shuffle: 'False'
85
+ use_cache: 'False'
86
+ webdataset: 'False'
87
+ ratio: '1'
88
+ defaults:
89
+ - _self_
90
+ - data_train: mock
91
+ - data_val: mock
92
+ - optimizer: fusedadamw
93
+ - scheduler: lambdalinear
94
+ - model: ddp
95
+ - callbacks: basic
96
+ - net: null
97
+ - conditioner: video_prediction_control_conditioner
98
+ - ema: power
99
+ - tokenizer: wan2pt1_tokenizer
100
+ - checkpoint: s3
101
+ - ckpt_type: dummy
102
+ - experiment: null
103
+ job:
104
+ cluster: null
105
+ group: vid2vid_2B_control
106
+ name: vid2vid_2B_control_720p_t24_control_layer4_cr1pt1_embedding_rectified_flow
107
+ project: cosmos_transfer2
108
+ wandb_mode: online
109
+ model:
110
+ _recursive_: 'False'
111
+ _target_: <class 'cosmos_transfer2._src.transfer2.models.vid2vid_model_control_vace_rectified_flow.ControlVideo2WorldModelRectifiedFlow'>
112
+ config:
113
+ base_load_from: null
114
+ conditional_frame_timestep: -1.0
115
+ conditional_frames_probs:
116
+ 0: 0.4
117
+ 1: 0.4
118
+ 2: 0.2
119
+ conditioner:
120
+ _target_: <class 'cosmos_transfer2._src.transfer2.configs.vid2vid_transfer.defaults.conditioner.ControlVideo2WorldConditioner'>
121
+ control_input_depth:
122
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
123
+ dropout_rate: '0.0'
124
+ dtype: null
125
+ input_key: control_input_depth
126
+ output_key: control_input_depth
127
+ control_input_depth_mask:
128
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
129
+ dropout_rate: '0.0'
130
+ dtype: null
131
+ input_key: control_input_depth_mask
132
+ output_key: control_input_depth_mask
133
+ control_input_edge:
134
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
135
+ dropout_rate: '0.0'
136
+ dtype: null
137
+ input_key: control_input_edge
138
+ output_key: control_input_edge
139
+ control_input_edge_mask:
140
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
141
+ dropout_rate: '0.0'
142
+ dtype: null
143
+ input_key: control_input_edge_mask
144
+ output_key: control_input_edge_mask
145
+ control_input_inpaint:
146
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
147
+ dropout_rate: '0.0'
148
+ dtype: null
149
+ input_key: control_input_inpaint
150
+ output_key: control_input_inpaint
151
+ control_input_inpaint_mask:
152
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
153
+ dropout_rate: '0.0'
154
+ dtype: null
155
+ input_key: control_input_inpaint_mask
156
+ output_key: control_input_inpaint_mask
157
+ control_input_seg:
158
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
159
+ dropout_rate: '0.0'
160
+ dtype: null
161
+ input_key: control_input_seg
162
+ output_key: control_input_seg
163
+ control_input_seg_mask:
164
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
165
+ dropout_rate: '0.0'
166
+ dtype: null
167
+ input_key: control_input_seg_mask
168
+ output_key: control_input_seg_mask
169
+ control_input_vis:
170
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
171
+ dropout_rate: '0.0'
172
+ dtype: null
173
+ input_key: control_input_vis
174
+ output_key: control_input_vis
175
+ control_input_vis_mask:
176
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
177
+ dropout_rate: '0.0'
178
+ dtype: null
179
+ input_key: control_input_vis_mask
180
+ output_key: control_input_vis_mask
181
+ fps:
182
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
183
+ dropout_rate: '0.0'
184
+ dtype: null
185
+ input_key: fps
186
+ output_key: fps
187
+ padding_mask:
188
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
189
+ dropout_rate: '0.0'
190
+ dtype: null
191
+ input_key: padding_mask
192
+ output_key: padding_mask
193
+ text:
194
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.TextAttr'>
195
+ credential_path: credentials/s3_training.secret
196
+ dropout_rate: '0.2'
197
+ empty_string_embeddings_path: s3://bucket/predict2_assets/reason1_empty_string_embeddings.pt
198
+ input_key:
199
+ - t5_text_embeddings
200
+ use_empty_string: 'False'
201
+ use_video_condition:
202
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.BooleanFlag'>
203
+ dropout_rate: '0.0'
204
+ input_key: fps
205
+ output_key: use_video_condition
206
+ conditioning_strategy: frame_replace
207
+ copy_weight_strategy: first_n
208
+ denoise_replace_gt_frames: true
209
+ ema:
210
+ enabled: false
211
+ iteration_shift: 0
212
+ rate: 0.1
213
+ fsdp_shard_size: 1
214
+ high_sigma_ratio: 0.05
215
+ high_sigma_timesteps_max: 1000
216
+ high_sigma_timesteps_min: 980
217
+ hint_keys: edge_vis_depth_seg
218
+ init_lora_weights: true
219
+ input_caption_key: ai_caption
220
+ input_data_key: video
221
+ input_image_key: images
222
+ lora_alpha: 32
223
+ lora_rank: 32
224
+ lora_target_modules: q_proj,k_proj,v_proj,output_proj,mlp.layer1,mlp.layer2
225
+ max_num_conditional_frames: 2
226
+ min_num_conditional_frames: 0
227
+ net:
228
+ _target_: <class 'cosmos_transfer2._src.transfer2.networks.minimal_v4_lvg_dit_control_vace.MinimalV4LVGControlVaceDiT'>
229
+ adaln_lora_dim: '256'
230
+ atten_backend: minimal_a2a
231
+ concat_padding_mask: 'True'
232
+ condition_strategy: spaced
233
+ crossattn_emb_channels: '1024'
234
+ crossattn_proj_in_channels: '100352'
235
+ extra_per_block_abs_pos_emb: 'False'
236
+ in_channels: '16'
237
+ max_frames: '128'
238
+ max_img_h: '240'
239
+ max_img_w: '240'
240
+ mlp_ratio: '4.0'
241
+ model_channels: '2048'
242
+ num_blocks: '28'
243
+ num_control_branches: '4'
244
+ num_heads: '16'
245
+ num_max_modalities: '8'
246
+ out_channels: '16'
247
+ patch_spatial: '2'
248
+ patch_temporal: '1'
249
+ pos_emb_cls: rope3d
250
+ pos_emb_interpolation: crop
251
+ pos_emb_learnable: 'True'
252
+ rope_enable_fps_modulation: 'False'
253
+ rope_h_extrapolation_ratio: '3.0'
254
+ rope_t_extrapolation_ratio: '1.0'
255
+ rope_w_extrapolation_ratio: '3.0'
256
+ sac_config:
257
+ every_n_blocks: 1
258
+ mode: predict2_2b_720_aggressive
259
+ separate_embedders: 'False'
260
+ spatial_compression_factor: '8'
261
+ timestep_scale: '0.001'
262
+ use_adaln_lora: 'True'
263
+ use_after_proj_for_multi_branch: 'False'
264
+ use_crossattn_projection: 'True'
265
+ use_cuda_graphs: 'False'
266
+ use_input_hint_block: 'False'
267
+ use_wan_fp32_strategy: 'True'
268
+ vace_block_every_n: '7'
269
+ vace_has_mask: 'False'
270
+ precision: bfloat16
271
+ resolution: '720'
272
+ shift: 5
273
+ state_ch: 16
274
+ state_t: 24
275
+ text_encoder_class: reason1p1_7B
276
+ text_encoder_config:
277
+ ckpt_path: s3://bucket/cosmos_reasoning1/sft_exp700/sft_exp721-1_qwen7b_tl_721_5vs5_s3_balanced_n32_resume_16k/checkpoints/iter_000016000/model/
278
+ compute_online: true
279
+ embedding_concat_strategy: full_concat
280
+ model_config:
281
+ _target_: <class 'cosmos_transfer2._src.predict2.text_encoders.reason1.QwenVLBaseModel'>
282
+ model_config:
283
+ _target_: cosmos_transfer2._src.reason1.configs.default.model_config_qwen.QwenModelConfig
284
+ activation_checkpoint:
285
+ mode: selective
286
+ models: vlm
287
+ selective_ac_option: op
288
+ add_answer_tag: 'True'
289
+ add_cross_attention: 'False'
290
+ add_image_start_end_tag: 'False'
291
+ add_tile_tag: 'False'
292
+ architectures:
293
+ - Qwen2_5_VLForConditionalGeneration
294
+ attention_dropout: '0.0'
295
+ attn_implementation: flash_attention_2
296
+ attn_implementation_autoset: 'True'
297
+ aux_loss_coeff: '0.0'
298
+ bad_words_ids: null
299
+ begin_suppress_tokens: null
300
+ bos_token_id: '151643'
301
+ cache_dir: null
302
+ checkpoint:
303
+ async_mode: disabled
304
+ create_seed_checkpoint: false
305
+ enable_checkpoint: false
306
+ export_dtype: float32
307
+ folder: checkpoint
308
+ interval: 500
309
+ interval_type: steps
310
+ model_weights_only: false
311
+ chunk_size_feed_forward: '0'
312
+ ckpt_dir: null
313
+ ckpt_path: null
314
+ comm:
315
+ init_timeout_seconds: 300
316
+ trace_buf_size: 20000
317
+ train_timeout_seconds: 100
318
+ cp_size: null
319
+ cross_attention_hidden_size: null
320
+ decoder_start_token_id: null
321
+ deterministic: 'False'
322
+ diversity_penalty: '0.0'
323
+ do_sample: 'False'
324
+ early_stopping: 'False'
325
+ encoder_no_repeat_ngram_size: '0'
326
+ eos_token_id: '151645'
327
+ ep_size: null
328
+ experimental:
329
+ enable_async_tensor_parallel: false
330
+ enable_compiled_autograd: false
331
+ pipeline_parallel_degree: 1
332
+ exponential_decay_length_penalty: null
333
+ finetuning_task: null
334
+ float8:
335
+ enable_float8_linear: false
336
+ forced_bos_token_id: null
337
+ forced_eos_token_id: null
338
+ freeze_llm: 'False'
339
+ freeze_mm_projector: 'False'
340
+ freeze_vision_encoder: 'False'
341
+ fsdp_enabled: 'False'
342
+ hidden_act: silu
343
+ hidden_size: '3584'
344
+ id2label:
345
+ 0: LABEL_0
346
+ 1: LABEL_1
347
+ image_token_id: '151655'
348
+ initializer_range: '0.02'
349
+ intermediate_size: '18944'
350
+ is_decoder: 'False'
351
+ is_encoder_decoder: 'False'
352
+ label2id:
353
+ LABEL_0: '0'
354
+ LABEL_1: '1'
355
+ length_penalty: '1.0'
356
+ loss_per_token: 'True'
357
+ max_batch_size: '1'
358
+ max_length: '20'
359
+ max_position_embeddings: '128000'
360
+ max_seq_len: '128000'
361
+ max_window_layers: '28'
362
+ min_length: '0'
363
+ mm_projector: null
364
+ model_type: qwen2_5_vl
365
+ name_or_path: Qwen/Qwen2.5-VL-7B-Instruct
366
+ no_repeat_ngram_size: '0'
367
+ num_attention_heads: '28'
368
+ num_beam_groups: '1'
369
+ num_beams: '1'
370
+ num_hidden_layers: '28'
371
+ num_key_value_heads: '4'
372
+ num_return_sequences: '1'
373
+ num_tiles: '1'
374
+ optimizer:
375
+ early_step_in_backward: false
376
+ end_lr: 2.5e-05
377
+ fused: false
378
+ init_lr: 1.0e-05
379
+ lr: 0.0003
380
+ lr_multiplier_llm: 1.0
381
+ lr_multiplier_mm_projector: 1.0
382
+ lr_multiplier_vision_encoder: 0.1
383
+ name: AdamW
384
+ output_attentions: 'False'
385
+ output_hidden_states: 'True'
386
+ output_scores: 'False'
387
+ pad_token_id: null
388
+ precision: bfloat16
389
+ prefix: null
390
+ prepend_padding: 'False'
391
+ problem_type: null
392
+ pruned_heads: _Nothing.NOTHING
393
+ remove_invalid_values: 'False'
394
+ repetition_penalty: '1.0'
395
+ return_dict: 'True'
396
+ return_dict_in_generate: 'False'
397
+ rms_norm_eps: 1e-06
398
+ rope_scaling:
399
+ mrope_section:
400
+ - '16'
401
+ - '24'
402
+ - '24'
403
+ rope_type: default
404
+ type: default
405
+ rope_theta: '1000000.0'
406
+ s3_credential_path: credentials/pbss_dir.secret
407
+ seed: '0'
408
+ sep_token_id: null
409
+ sliding_window: '32768'
410
+ suppress_tokens: null
411
+ task_specific_params: null
412
+ temperature: '1.0'
413
+ tf_legacy_loss: 'False'
414
+ tie_encoder_decoder: 'False'
415
+ tie_word_embeddings: 'False'
416
+ tile_tag_type: space_separated
417
+ tokenizer_class: null
418
+ tokenizer_type: Qwen/Qwen2.5-VL-7B-Instruct
419
+ top_k: '50'
420
+ top_p: '1.0'
421
+ torch_dtype: bfloat16
422
+ torchscript: 'False'
423
+ training:
424
+ compile: false
425
+ context_parallel_degree: 1
426
+ data_parallel_replicate_degree: 1
427
+ data_parallel_shard_degree: -1
428
+ disable_loss_parallel: false
429
+ enable_cpu_offload: false
430
+ fsdp_reshard_after_forward: default
431
+ mixed_precision_param: bfloat16
432
+ mixed_precision_reduce: float32
433
+ steps: 400000
434
+ tensor_parallel_degree: 1
435
+ use_cosine_decay: false
436
+ use_linear_decay: true
437
+ warmup_steps: 1000
438
+ training_seq_len: '4096'
439
+ transformers_version: 4.51.0.dev0
440
+ typical_p: '1.0'
441
+ use_bfloat16: 'False'
442
+ use_cache: 'False'
443
+ use_fsdp2: 'True'
444
+ use_return_dict: 'True'
445
+ use_rope_from_torchtitan: 'False'
446
+ use_sliding_window: 'False'
447
+ video_token_id: '151656'
448
+ vision_config:
449
+ _target_: cosmos_transfer2._src.reason1.configs.default.model_config_qwen.QwenVisionConfig
450
+ add_cross_attention: 'False'
451
+ architectures: null
452
+ attn_implementation: flash_attention_2
453
+ attn_implementation_autoset: 'True'
454
+ bad_words_ids: null
455
+ begin_suppress_tokens: null
456
+ bos_token_id: null
457
+ chunk_size_feed_forward: '0'
458
+ cross_attention_hidden_size: null
459
+ decoder_start_token_id: null
460
+ depth: '32'
461
+ diversity_penalty: '0.0'
462
+ do_sample: 'False'
463
+ early_stopping: 'False'
464
+ embed_dim: null
465
+ encoder_no_repeat_ngram_size: '0'
466
+ eos_token_id: null
467
+ exponential_decay_length_penalty: null
468
+ finetuning_task: null
469
+ forced_bos_token_id: null
470
+ forced_eos_token_id: null
471
+ fullatt_block_indexes:
472
+ - '7'
473
+ - '15'
474
+ - '23'
475
+ - '31'
476
+ hidden_act: silu
477
+ hidden_size: '1280'
478
+ id2label:
479
+ 0: LABEL_0
480
+ 1: LABEL_1
481
+ in_channels: '3'
482
+ in_chans: '3'
483
+ intermediate_size: '3420'
484
+ is_decoder: 'False'
485
+ is_encoder_decoder: 'False'
486
+ label2id:
487
+ LABEL_0: '0'
488
+ LABEL_1: '1'
489
+ length_penalty: '1.0'
490
+ max_length: '20'
491
+ min_length: '0'
492
+ mlp_ratio: null
493
+ model_type: qwen2_5_vl
494
+ name_or_path: ''
495
+ no_repeat_ngram_size: '0'
496
+ num_beam_groups: '1'
497
+ num_beams: '1'
498
+ num_heads: '16'
499
+ num_return_sequences: '1'
500
+ out_hidden_size: '3584'
501
+ output_attentions: 'False'
502
+ output_hidden_states: 'False'
503
+ output_scores: 'False'
504
+ pad_token_id: null
505
+ patch_size: '14'
506
+ prefix: null
507
+ problem_type: null
508
+ pruned_heads: _Nothing.NOTHING
509
+ remove_invalid_values: 'False'
510
+ repetition_penalty: '1.0'
511
+ return_dict: 'True'
512
+ return_dict_in_generate: 'False'
513
+ sep_token_id: null
514
+ spatial_merge_size: '2'
515
+ spatial_patch_size: '14'
516
+ suppress_tokens: null
517
+ task_specific_params: null
518
+ temperature: '1.0'
519
+ temporal_patch_size: '2'
520
+ tf_legacy_loss: 'False'
521
+ tie_encoder_decoder: 'False'
522
+ tie_word_embeddings: 'True'
523
+ tokenizer_class: null
524
+ tokens_per_second: '2'
525
+ top_k: '50'
526
+ top_p: '1.0'
527
+ torch_dtype: bfloat16
528
+ torchscript: 'False'
529
+ typical_p: '1.0'
530
+ use_bfloat16: 'False'
531
+ window_size: '112'
532
+ vision_encoder: openai/clip-vit-base-patch32
533
+ vision_encoder_config:
534
+ depth_init: true
535
+ dim: 1024
536
+ ffn_dim_multiplier: null
537
+ head_dim: null
538
+ hidden_act: null
539
+ hidden_dim: 4096
540
+ image_size: 1024
541
+ image_token_id: null
542
+ multiple_of: null
543
+ n_heads: 16
544
+ n_kv_heads: null
545
+ n_layers: 24
546
+ norm_eps: 1.0e-05
547
+ norm_type: rmsnorm
548
+ num_channels: 3
549
+ patch_size: 16
550
+ proj_bias: null
551
+ qkv_bias: null
552
+ rope_theta: 10000.0
553
+ use_cache: false
554
+ use_rope_from_torchtitan: false
555
+ vision_encoder_in_channels: '3'
556
+ vision_end_token_id: '151653'
557
+ vision_start_token_id: '151652'
558
+ vision_token_id: '151654'
559
+ vocab_size: '152064'
560
+ z_loss_coeff: '0.0'
561
+ tokenizer:
562
+ _target_: <function build_tokenizer at 0x7f7678397b50>
563
+ cache_dir: null
564
+ tokenizer_type: Qwen/Qwen2.5-VL-7B-Instruct
565
+ n_layers_per_group: 5
566
+ s3_credential_path: credentials/s3_checkpoint.secret
567
+ tokenizer:
568
+ _target_: <class 'cosmos_transfer2._src.predict2.tokenizers.wan2pt1.Wan2pt1VAEInterface'>
569
+ chunk_duration: '81'
570
+ load_mean_std: 'False'
571
+ name: wan2pt1_tokenizer
572
+ temporal_window: '16'
573
+ train_time_distribution: logitnormal
574
+ train_time_weight: reweighting
575
+ use_dora: false
576
+ use_dynamic_shift: false
577
+ use_high_sigma_strategy: false
578
+ use_kerras_sigma_at_inference: false
579
+ use_lora: false
580
+ use_reference_image: false
581
+ use_torch_compile: false
582
+ model_parallel:
583
+ _cpu_offloading_context: null
584
+ async_tensor_model_parallel_allreduce: false
585
+ autocast_dtype: torch.float32
586
+ barrier_with_L1_time: true
587
+ batch_p2p_comm: true
588
+ batch_p2p_sync: true
589
+ bf16: false
590
+ context_parallel_size: 8
591
+ cpu_offloading: false
592
+ cpu_offloading_activations: true
593
+ cpu_offloading_double_buffering: false
594
+ cpu_offloading_num_layers: 0
595
+ cpu_offloading_weights: true
596
+ cross_entropy_fusion_impl: native
597
+ cross_entropy_loss_fusion: false
598
+ deallocate_pipeline_outputs: false
599
+ defer_embedding_wgrad_compute: false
600
+ delay_wgrad_compute: false
601
+ deterministic_mode: false
602
+ enable_autocast: false
603
+ expert_model_parallel_size: 1
604
+ expert_tensor_parallel_size: 1
605
+ finalize_model_grads_func: null
606
+ fp16: false
607
+ grad_scale_func: null
608
+ grad_sync_func: null
609
+ gradient_accumulation_fusion: false
610
+ hierarchical_context_parallel_sizes: null
611
+ microbatch_group_size_per_vp_stage: 1
612
+ moe_extended_tp: false
613
+ no_sync_func: null
614
+ num_microbatches_with_partial_activation_checkpoints: null
615
+ overlap_moe_expert_parallel_comm: false
616
+ overlap_p2p_comm: false
617
+ overlap_p2p_comm_warmup_flush: false
618
+ param_sync_func: null
619
+ params_dtype: torch.float32
620
+ perform_initialization: true
621
+ pipeline_dtype: null
622
+ pipeline_model_parallel_comm_backend: null
623
+ pipeline_model_parallel_size: 1
624
+ sequence_parallel: false
625
+ tensor_model_parallel_size: 1
626
+ timers: null
627
+ tp_comm_atomic_ag: false
628
+ tp_comm_atomic_rs: false
629
+ tp_comm_bootstrap_backend: nccl
630
+ tp_comm_bulk_dgrad: true
631
+ tp_comm_bulk_wgrad: true
632
+ tp_comm_overlap: false
633
+ tp_comm_overlap_ag: true
634
+ tp_comm_overlap_disable_fc1: false
635
+ tp_comm_overlap_disable_qkv: false
636
+ tp_comm_overlap_rs: true
637
+ tp_comm_overlap_rs_dgrad: false
638
+ tp_comm_split_ag: true
639
+ tp_comm_split_rs: true
640
+ use_cpu_initialization: false
641
+ use_ring_exchange_p2p: false
642
+ use_te_rng_tracker: false
643
+ variable_seq_lengths: false
644
+ virtual_pipeline_model_parallel_size: null
645
+ wgrad_deferral_limit: 0
646
+ optimizer:
647
+ _target_: <function get_base_optimizer at 0x7f7673de4790>
648
+ betas:
649
+ - '0.9'
650
+ - '0.999'
651
+ eps: 1e-08
652
+ fused: 'True'
653
+ lr: '8.63e-05'
654
+ model: null
655
+ optim_type: adamw
656
+ weight_decay: '0.001'
657
+ scheduler:
658
+ _target_: <class 'cosmos_transfer2._src.imaginaire.functional.lr_scheduler.LambdaLinearScheduler'>
659
+ cycle_lengths:
660
+ - '100000'
661
+ f_max:
662
+ - '0.5'
663
+ f_min:
664
+ - '0.2'
665
+ f_start:
666
+ - 1e-06
667
+ verbosity_interval: '0'
668
+ warm_up_steps:
669
+ - '100'
670
+ trainer:
671
+ callbacks:
672
+ compile_tokenizer:
673
+ _target_: <class 'cosmos_transfer2._src.predict2.callbacks.compile_tokenizer.CompileTokenizer'>
674
+ compile_after_iterations: '4'
675
+ dynamic: 'False'
676
+ enabled: 'True'
677
+ dataloader_speed:
678
+ _target_: <class 'cosmos_transfer2._src.predict2.callbacks.dataloading_monitor.DetailedDataLoadingSpeedMonitor'>
679
+ every_n: '200'
680
+ save_s3: 'True'
681
+ step_size: '1'
682
+ device_monitor:
683
+ _target_: <class 'cosmos_transfer2._src.predict2.callbacks.device_monitor.DeviceMonitor'>
684
+ every_n: '200'
685
+ log_memory_detail: 'True'
686
+ save_s3: 'True'
687
+ step_size: '1'
688
+ upload_every_n_mul: '10'
689
+ every_n_sample_ema:
690
+ _target_: <class 'cosmos_transfer2._src.transfer2.callbacks.every_n_draw_sample.EveryNDrawSample'>
691
+ every_n: '5000'
692
+ fix_batch_fp: null
693
+ fps: '16'
694
+ guidance:
695
+ - '0'
696
+ - '3'
697
+ - '7'
698
+ is_ema: 'True'
699
+ is_sample: 'True'
700
+ is_x0: 'False'
701
+ n_sample_to_save: '128'
702
+ n_viz_sample: '3'
703
+ n_x0_level: '4'
704
+ num_sampling_step: '35'
705
+ save_s3: 'True'
706
+ show_all_frames: 'False'
707
+ step_size: '1'
708
+ use_negative_prompt: 'False'
709
+ every_n_sample_reg:
710
+ _target_: <class 'cosmos_transfer2._src.transfer2.callbacks.every_n_draw_sample.EveryNDrawSample'>
711
+ every_n: '5000'
712
+ fix_batch_fp: null
713
+ fps: '16'
714
+ guidance:
715
+ - '0'
716
+ - '3'
717
+ - '7'
718
+ is_ema: 'False'
719
+ is_sample: 'True'
720
+ is_x0: 'False'
721
+ n_sample_to_save: '128'
722
+ n_viz_sample: '3'
723
+ n_x0_level: '4'
724
+ num_sampling_step: '35'
725
+ save_s3: 'True'
726
+ show_all_frames: 'False'
727
+ step_size: '1'
728
+ use_negative_prompt: 'False'
729
+ frame_loss_log:
730
+ _target_: <class 'cosmos_transfer2._src.transfer2.callbacks.frame_loss_log.FrameLossLog'>
731
+ logging_iter_multipler: '1'
732
+ save_logging_iter_multipler: '10'
733
+ save_s3: 'True'
734
+ grad_clip:
735
+ _target_: <class 'cosmos_transfer2._src.predict2.callbacks.grad_clip.GradClip'>
736
+ clip_norm: '0.1'
737
+ force_finite: 'True'
738
+ heart_beat:
739
+ _target_: <class 'cosmos_transfer2._src.predict2.callbacks.heart_beat.HeartBeat'>
740
+ every_n: '10'
741
+ save_s3: 'True'
742
+ step_size: '1'
743
+ update_interval_in_minute: '20'
744
+ iter_speed:
745
+ _target_: <class 'cosmos_transfer2._src.predict2.callbacks.iter_speed.IterSpeed'>
746
+ every_n: '100'
747
+ hit_thres: '300'
748
+ save_s3: 'True'
749
+ save_s3_every_log_n: '10'
750
+ load_base_model:
751
+ _target_: <class 'cosmos_transfer2._src.transfer2.configs.vid2vid_transfer.defaults.callbacks.LoadBaseModel'>
752
+ config: null
753
+ trainer: null
754
+ low_prec:
755
+ _target_: <class 'cosmos_transfer2._src.imaginaire.utils.callback.LowPrecisionCallback'>
756
+ config: null
757
+ trainer: null
758
+ update_iter: '1'
759
+ manual_gc:
760
+ _target_: <class 'cosmos_transfer2._src.imaginaire.callbacks.manual_gc.ManualGarbageCollection'>
761
+ every_n: '200'
762
+ warm_up: '5'
763
+ wandb:
764
+ _target_: <class 'cosmos_transfer2._src.predict2.callbacks.wandb_log.WandbCallback'>
765
+ logging_iter_multipler: '1'
766
+ save_logging_iter_multipler: '10'
767
+ save_s3: 'True'
768
+ wandb_10x:
769
+ _target_: <class 'cosmos_transfer2._src.predict2.callbacks.wandb_log.WandbCallback'>
770
+ logging_iter_multipler: '10'
771
+ save_logging_iter_multipler: '1'
772
+ save_s3: 'True'
773
+ compile_config:
774
+ recompile_limit: '8'
775
+ use_duck_shape: 'True'
776
+ cudnn:
777
+ benchmark: 'True'
778
+ deterministic: 'False'
779
+ ddp:
780
+ broadcast_buffers: 'True'
781
+ find_unused_parameters: 'False'
782
+ static_graph: 'True'
783
+ distributed_parallelism: fsdp
784
+ grad_accum_iter: '1'
785
+ grad_scaler_args:
786
+ enabled: 'False'
787
+ logging_iter: '200'
788
+ max_iter: '100000'
789
+ max_val_iter: null
790
+ memory_format: torch.preserve_format
791
+ profiling:
792
+ enable_memory_snapshot: 'False'
793
+ enable_profiling: 'False'
794
+ profile_freq: '1'
795
+ profile_memory: 'False'
796
+ record_shape: 'False'
797
+ save_s3: 'False'
798
+ target_ranks:
799
+ - '0'
800
+ - '1'
801
+ - '2'
802
+ - '3'
803
+ - '4'
804
+ - '5'
805
+ - '6'
806
+ - '7'
807
+ with_modules: 'True'
808
+ with_stack: 'True'
809
+ run_validation: 'False'
810
+ run_validation_on_start: 'False'
811
+ seed: '0'
812
+ straggler_detection:
813
+ analyze_backward: 'True'
814
+ analyze_dataloading: 'True'
815
+ analyze_forward: 'True'
816
+ analyze_optimizer: 'True'
817
+ enabled: 'True'
818
+ max_diff: '1.5'
819
+ profile_freq: '1'
820
+ raise_error: 'True'
821
+ report_freq: '100'
822
+ timeout_period: '999999999'
823
+ type: <class 'cosmos_transfer2._src.imaginaire.trainer.ImaginaireTrainer'>
824
+ validation_iter: '100'
825
+ upload_reproducible_setup: 'True'
multicontrol_cookbook_grid/rainy/weather/lighting/console.log ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [06-26 08:14:40|INFO|cosmos_transfer2/inference.py:146:__init__] Found 2 hint keys across all samples
2
+ [06-26 08:14:40|WARNING|cosmos_transfer2/inference.py:148:__init__] Loading the multicontrol model. Multicontrol inference is not strictly equal to single control
3
+ [06-26 08:14:40|INFO|cosmos_transfer2/inference.py:156:__init__] Saved config to /scratch/ssaha/cosmos-transfer2.5/outputs/multicontrol_cookbook_grid/rainy/weather/lighting/config.yaml
4
+ [06-26 08:14:40|INFO|cosmos_transfer2/inference.py:163:generate] Generating 1 samples: ['rainy_weather_lighting']
5
+ [06-26 08:14:40|INFO|cosmos_transfer2/inference.py:167:generate] [1/1] Processing sample rainy_weather_lighting
6
+ [06-26 08:14:40|INFO|cosmos_transfer2/inference.py:208:_generate_sample] Saved arguments to /scratch/ssaha/cosmos-transfer2.5/outputs/multicontrol_cookbook_grid/rainy/weather/lighting/rainy_weather_lighting.json
7
+ [06-26 08:14:40|WARNING|cosmos_transfer2/inference.py:239:_generate_sample] Guardrail checks on prompt are disabled
8
+ [06-26 08:14:40|INFO|cosmos_transfer2/inference.py:242:_generate_sample] Processing the following paths: {'edge': '/scratch/ssaha/cosmos-transfer2.5/outputs/multicontrol_cookbook_grid/_edges/rainy_edge.mp4', 'edge_mask': None, 'edge_mask_prompt': None, 'vis': None, 'vis_mask': None, 'vis_mask_prompt': None}
9
+ [06-26 08:26:40|INFO|cosmos_transfer2/inference.py:311:_generate_sample] edge control video saved to /scratch/ssaha/cosmos-transfer2.5/outputs/multicontrol_cookbook_grid/rainy/weather/lighting/rainy_weather_lighting_control_edge.mp4
10
+ [06-26 08:26:41|INFO|cosmos_transfer2/inference.py:311:_generate_sample] vis control video saved to /scratch/ssaha/cosmos-transfer2.5/outputs/multicontrol_cookbook_grid/rainy/weather/lighting/rainy_weather_lighting_control_vis.mp4
11
+ [06-26 08:26:41|WARNING|cosmos_transfer2/inference.py:335:_generate_sample] Guardrail checks on video are disabled
12
+ [06-26 08:26:43|SUCCESS|cosmos_transfer2/inference.py:343:_generate_sample] Generated video saved to /scratch/ssaha/cosmos-transfer2.5/outputs/multicontrol_cookbook_grid/rainy/weather/lighting/rainy_weather_lighting.mp4
multicontrol_cookbook_grid/rainy/weather/lighting/debug.log ADDED
The diff for this file is too large to render. See raw diff
 
multicontrol_cookbook_grid/rainy/weather/lighting/rainy_weather_lighting.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"name":"rainy_weather_lighting","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":35,"show_control_condition":false,"show_input":false,"keep_input_resolution":true,"edge":{"control_path":"/scratch/ssaha/cosmos-transfer2.5/outputs/multicontrol_cookbook_grid/_edges/rainy_edge.mp4","control_weight":1.0,"mask_path":null,"mask_prompt":null,"preset_edge_threshold":"medium"},"depth":null,"vis":{"control_path":null,"control_weight":0.2,"mask_path":null,"mask_prompt":null,"preset_blur_strength":"medium"},"seg":null,"guided_generation_mask":null,"guided_generation_step_threshold":25,"guided_generation_foreground_labels":null}
multicontrol_cookbook_grid/rainy/weather/lighting/rainy_weather_lighting.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:82253484c468eee39a59f4bad1a9c77729ba8c58ca1c21db53707f25a1753277
3
+ size 1873274
multicontrol_cookbook_grid/rainy/weather/lighting/rainy_weather_lighting.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.
multicontrol_cookbook_grid/rainy/weather/lighting/rainy_weather_lighting_control_edge.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4d1a2bd621384e9ffdfe7aeacfdc3c277e04360f64aa63573dd720fda2ac14af
3
+ size 2253955
multicontrol_cookbook_grid/rainy/weather/lighting/rainy_weather_lighting_control_vis.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c9a9e148f1100e8757fd79f2d91e144f13d1ef9f647745a7550adf9926d0f418
3
+ size 547205
multicontrol_cookbook_grid/rainy/weather/lighting/spec.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "rainy_weather_lighting",
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": 35,
7
+ "seed": 2025,
8
+ "edge": {
9
+ "control_path": "/scratch/ssaha/cosmos-transfer2.5/outputs/multicontrol_cookbook_grid/_edges/rainy_edge.mp4",
10
+ "control_weight": 1.0
11
+ },
12
+ "vis": {
13
+ "control_weight": 0.2
14
+ },
15
+ "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."
16
+ }
multicontrol_cookbook_grid/sunny/Building/color/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
+ 0x7f6f45833490>, 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
+ 0x7f6f45833490>, 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 0x7f6f458335b0>
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 0x7f6f45833b50>
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 0x7f6f458335b0>
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 0x7f6f45833f40>
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 0x7f6f49f1bb50>
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 0x7f6f45960790>
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'
multicontrol_cookbook_grid/sunny/Building/color/console.log ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ [06-26 07:51:31|INFO|cosmos_transfer2/inference.py:146:__init__] Found 1 hint keys across all samples
2
+ [06-26 07:51:31|INFO|cosmos_transfer2/inference.py:156:__init__] Saved config to /scratch/ssaha/cosmos-transfer2.5/outputs/multicontrol_cookbook_grid/sunny/Building/color/config.yaml
3
+ [06-26 07:51:31|INFO|cosmos_transfer2/inference.py:163:generate] Generating 1 samples: ['sunny_Building_color']
4
+ [06-26 07:51:31|INFO|cosmos_transfer2/inference.py:167:generate] [1/1] Processing sample sunny_Building_color
5
+ [06-26 07:51:31|INFO|cosmos_transfer2/inference.py:208:_generate_sample] Saved arguments to /scratch/ssaha/cosmos-transfer2.5/outputs/multicontrol_cookbook_grid/sunny/Building/color/sunny_Building_color.json
6
+ [06-26 07:51:31|WARNING|cosmos_transfer2/inference.py:239:_generate_sample] Guardrail checks on prompt are disabled
7
+ [06-26 07:51:31|INFO|cosmos_transfer2/inference.py:242:_generate_sample] Processing the following paths: {'edge': '/scratch/ssaha/cosmos-transfer2.5/outputs/multicontrol_cookbook_grid/_edges/sunny_edge.mp4', 'edge_mask': None, 'edge_mask_prompt': None}
8
+ [06-26 08:02:03|INFO|cosmos_transfer2/inference.py:311:_generate_sample] edge control video saved to /scratch/ssaha/cosmos-transfer2.5/outputs/multicontrol_cookbook_grid/sunny/Building/color/sunny_Building_color_control_edge.mp4
9
+ [06-26 08:02:03|WARNING|cosmos_transfer2/inference.py:335:_generate_sample] Guardrail checks on video are disabled
10
+ [06-26 08:02:04|SUCCESS|cosmos_transfer2/inference.py:343:_generate_sample] Generated video saved to /scratch/ssaha/cosmos-transfer2.5/outputs/multicontrol_cookbook_grid/sunny/Building/color/sunny_Building_color.mp4
multicontrol_cookbook_grid/sunny/Building/color/debug.log ADDED
The diff for this file is too large to render. See raw diff
 
multicontrol_cookbook_grid/sunny/Building/color/spec.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "sunny_Building_color",
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/multicontrol_cookbook_grid/_edges/sunny_edge.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
+ }
multicontrol_cookbook_grid/sunny/Building/color/sunny_Building_color.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"name":"sunny_Building_color","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/multicontrol_cookbook_grid/_edges/sunny_edge.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}
multicontrol_cookbook_grid/sunny/Building/color/sunny_Building_color.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:411c350a90edf73273a7985b3cb047e33bb6a88e800c48958e0a5cf0a2a9fa23
3
+ size 1895086
multicontrol_cookbook_grid/sunny/Building/color/sunny_Building_color.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.
multicontrol_cookbook_grid/sunny/Building/color/sunny_Building_color_control_edge.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:57c1f383a1f61fc52a275e2a3d237bee50a45e7901dc709b401226496891cd0c
3
+ size 1406752
multicontrol_cookbook_grid/sunny/background/background/config.yaml ADDED
@@ -0,0 +1,825 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ dataset:
34
+ augmentor_name: video_basic_augmentor_v2_with_control
35
+ caption_type: t2w_qwen2p5_7b
36
+ control_input_type: edge_vis_depth_segcolor
37
+ dataset_resolution_type: gt720p
38
+ embedding_type: null
39
+ max_fps_thres: '60'
40
+ min_fps_thres: '10'
41
+ num_video_frames: '93'
42
+ resolution: '720'
43
+ use_native_fps: 'True'
44
+ video_decoder_name: video_naive_bytes
45
+ num_workers: '4'
46
+ dataloader_val:
47
+ _target_: <class 'cosmos_transfer2._src.predict2.datasets.joint_dataloader.IterativeJointDataLoader'>
48
+ dataloaders:
49
+ image_data:
50
+ dataloader:
51
+ _target_: <function get_cached_replay_dataloader at 0x7f55d7c9f490>
52
+ batch_size: '2'
53
+ cache_augment_fn: null
54
+ cache_replay_name: image_dataloader
55
+ cache_size: '32'
56
+ concat_size: '1'
57
+ dataset:
58
+ _target_: <function get_image_dataset at 0x7f55d7c9fa30>
59
+ len_t5: '512'
60
+ resolution: '512'
61
+ t5_dim: '1024'
62
+ num_workers: '8'
63
+ pin_memory: 'True'
64
+ shuffle: 'False'
65
+ use_cache: 'False'
66
+ webdataset: 'False'
67
+ ratio: '1'
68
+ video_data:
69
+ dataloader:
70
+ _target_: <function get_cached_replay_dataloader at 0x7f55d7c9f490>
71
+ batch_size: '1'
72
+ cache_augment_fn: null
73
+ cache_replay_name: video_dataloader
74
+ cache_size: '32'
75
+ concat_size: '1'
76
+ dataset:
77
+ _target_: <function get_video_dataset at 0x7f55d7c9fe20>
78
+ len_t5: '512'
79
+ num_video_frames: '136'
80
+ resolution: '512'
81
+ t5_dim: '1024'
82
+ num_workers: '8'
83
+ pin_memory: 'True'
84
+ shuffle: 'False'
85
+ use_cache: 'False'
86
+ webdataset: 'False'
87
+ ratio: '1'
88
+ defaults:
89
+ - _self_
90
+ - data_train: mock
91
+ - data_val: mock
92
+ - optimizer: fusedadamw
93
+ - scheduler: lambdalinear
94
+ - model: ddp
95
+ - callbacks: basic
96
+ - net: null
97
+ - conditioner: video_prediction_control_conditioner
98
+ - ema: power
99
+ - tokenizer: wan2pt1_tokenizer
100
+ - checkpoint: s3
101
+ - ckpt_type: dummy
102
+ - experiment: null
103
+ job:
104
+ cluster: null
105
+ group: vid2vid_2B_control
106
+ name: vid2vid_2B_control_720p_t24_control_layer4_cr1pt1_embedding_rectified_flow
107
+ project: cosmos_transfer2
108
+ wandb_mode: online
109
+ model:
110
+ _recursive_: 'False'
111
+ _target_: <class 'cosmos_transfer2._src.transfer2.models.vid2vid_model_control_vace_rectified_flow.ControlVideo2WorldModelRectifiedFlow'>
112
+ config:
113
+ base_load_from: null
114
+ conditional_frame_timestep: -1.0
115
+ conditional_frames_probs:
116
+ 0: 0.4
117
+ 1: 0.4
118
+ 2: 0.2
119
+ conditioner:
120
+ _target_: <class 'cosmos_transfer2._src.transfer2.configs.vid2vid_transfer.defaults.conditioner.ControlVideo2WorldConditioner'>
121
+ control_input_depth:
122
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
123
+ dropout_rate: '0.0'
124
+ dtype: null
125
+ input_key: control_input_depth
126
+ output_key: control_input_depth
127
+ control_input_depth_mask:
128
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
129
+ dropout_rate: '0.0'
130
+ dtype: null
131
+ input_key: control_input_depth_mask
132
+ output_key: control_input_depth_mask
133
+ control_input_edge:
134
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
135
+ dropout_rate: '0.0'
136
+ dtype: null
137
+ input_key: control_input_edge
138
+ output_key: control_input_edge
139
+ control_input_edge_mask:
140
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
141
+ dropout_rate: '0.0'
142
+ dtype: null
143
+ input_key: control_input_edge_mask
144
+ output_key: control_input_edge_mask
145
+ control_input_inpaint:
146
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
147
+ dropout_rate: '0.0'
148
+ dtype: null
149
+ input_key: control_input_inpaint
150
+ output_key: control_input_inpaint
151
+ control_input_inpaint_mask:
152
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
153
+ dropout_rate: '0.0'
154
+ dtype: null
155
+ input_key: control_input_inpaint_mask
156
+ output_key: control_input_inpaint_mask
157
+ control_input_seg:
158
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
159
+ dropout_rate: '0.0'
160
+ dtype: null
161
+ input_key: control_input_seg
162
+ output_key: control_input_seg
163
+ control_input_seg_mask:
164
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
165
+ dropout_rate: '0.0'
166
+ dtype: null
167
+ input_key: control_input_seg_mask
168
+ output_key: control_input_seg_mask
169
+ control_input_vis:
170
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
171
+ dropout_rate: '0.0'
172
+ dtype: null
173
+ input_key: control_input_vis
174
+ output_key: control_input_vis
175
+ control_input_vis_mask:
176
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
177
+ dropout_rate: '0.0'
178
+ dtype: null
179
+ input_key: control_input_vis_mask
180
+ output_key: control_input_vis_mask
181
+ fps:
182
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
183
+ dropout_rate: '0.0'
184
+ dtype: null
185
+ input_key: fps
186
+ output_key: fps
187
+ padding_mask:
188
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.ReMapkey'>
189
+ dropout_rate: '0.0'
190
+ dtype: null
191
+ input_key: padding_mask
192
+ output_key: padding_mask
193
+ text:
194
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.TextAttr'>
195
+ credential_path: credentials/s3_training.secret
196
+ dropout_rate: '0.2'
197
+ empty_string_embeddings_path: s3://bucket/predict2_assets/reason1_empty_string_embeddings.pt
198
+ input_key:
199
+ - t5_text_embeddings
200
+ use_empty_string: 'False'
201
+ use_video_condition:
202
+ _target_: <class 'cosmos_transfer2._src.predict2.conditioner.BooleanFlag'>
203
+ dropout_rate: '0.0'
204
+ input_key: fps
205
+ output_key: use_video_condition
206
+ conditioning_strategy: frame_replace
207
+ copy_weight_strategy: first_n
208
+ denoise_replace_gt_frames: true
209
+ ema:
210
+ enabled: false
211
+ iteration_shift: 0
212
+ rate: 0.1
213
+ fsdp_shard_size: 1
214
+ high_sigma_ratio: 0.05
215
+ high_sigma_timesteps_max: 1000
216
+ high_sigma_timesteps_min: 980
217
+ hint_keys: edge_vis_depth_seg
218
+ init_lora_weights: true
219
+ input_caption_key: ai_caption
220
+ input_data_key: video
221
+ input_image_key: images
222
+ lora_alpha: 32
223
+ lora_rank: 32
224
+ lora_target_modules: q_proj,k_proj,v_proj,output_proj,mlp.layer1,mlp.layer2
225
+ max_num_conditional_frames: 2
226
+ min_num_conditional_frames: 0
227
+ net:
228
+ _target_: <class 'cosmos_transfer2._src.transfer2.networks.minimal_v4_lvg_dit_control_vace.MinimalV4LVGControlVaceDiT'>
229
+ adaln_lora_dim: '256'
230
+ atten_backend: minimal_a2a
231
+ concat_padding_mask: 'True'
232
+ condition_strategy: spaced
233
+ crossattn_emb_channels: '1024'
234
+ crossattn_proj_in_channels: '100352'
235
+ extra_per_block_abs_pos_emb: 'False'
236
+ in_channels: '16'
237
+ max_frames: '128'
238
+ max_img_h: '240'
239
+ max_img_w: '240'
240
+ mlp_ratio: '4.0'
241
+ model_channels: '2048'
242
+ num_blocks: '28'
243
+ num_control_branches: '4'
244
+ num_heads: '16'
245
+ num_max_modalities: '8'
246
+ out_channels: '16'
247
+ patch_spatial: '2'
248
+ patch_temporal: '1'
249
+ pos_emb_cls: rope3d
250
+ pos_emb_interpolation: crop
251
+ pos_emb_learnable: 'True'
252
+ rope_enable_fps_modulation: 'False'
253
+ rope_h_extrapolation_ratio: '3.0'
254
+ rope_t_extrapolation_ratio: '1.0'
255
+ rope_w_extrapolation_ratio: '3.0'
256
+ sac_config:
257
+ every_n_blocks: 1
258
+ mode: predict2_2b_720_aggressive
259
+ separate_embedders: 'False'
260
+ spatial_compression_factor: '8'
261
+ timestep_scale: '0.001'
262
+ use_adaln_lora: 'True'
263
+ use_after_proj_for_multi_branch: 'False'
264
+ use_crossattn_projection: 'True'
265
+ use_cuda_graphs: 'False'
266
+ use_input_hint_block: 'False'
267
+ use_wan_fp32_strategy: 'True'
268
+ vace_block_every_n: '7'
269
+ vace_has_mask: 'False'
270
+ precision: bfloat16
271
+ resolution: '720'
272
+ shift: 5
273
+ state_ch: 16
274
+ state_t: 24
275
+ text_encoder_class: reason1p1_7B
276
+ text_encoder_config:
277
+ ckpt_path: s3://bucket/cosmos_reasoning1/sft_exp700/sft_exp721-1_qwen7b_tl_721_5vs5_s3_balanced_n32_resume_16k/checkpoints/iter_000016000/model/
278
+ compute_online: true
279
+ embedding_concat_strategy: full_concat
280
+ model_config:
281
+ _target_: <class 'cosmos_transfer2._src.predict2.text_encoders.reason1.QwenVLBaseModel'>
282
+ model_config:
283
+ _target_: cosmos_transfer2._src.reason1.configs.default.model_config_qwen.QwenModelConfig
284
+ activation_checkpoint:
285
+ mode: selective
286
+ models: vlm
287
+ selective_ac_option: op
288
+ add_answer_tag: 'True'
289
+ add_cross_attention: 'False'
290
+ add_image_start_end_tag: 'False'
291
+ add_tile_tag: 'False'
292
+ architectures:
293
+ - Qwen2_5_VLForConditionalGeneration
294
+ attention_dropout: '0.0'
295
+ attn_implementation: flash_attention_2
296
+ attn_implementation_autoset: 'True'
297
+ aux_loss_coeff: '0.0'
298
+ bad_words_ids: null
299
+ begin_suppress_tokens: null
300
+ bos_token_id: '151643'
301
+ cache_dir: null
302
+ checkpoint:
303
+ async_mode: disabled
304
+ create_seed_checkpoint: false
305
+ enable_checkpoint: false
306
+ export_dtype: float32
307
+ folder: checkpoint
308
+ interval: 500
309
+ interval_type: steps
310
+ model_weights_only: false
311
+ chunk_size_feed_forward: '0'
312
+ ckpt_dir: null
313
+ ckpt_path: null
314
+ comm:
315
+ init_timeout_seconds: 300
316
+ trace_buf_size: 20000
317
+ train_timeout_seconds: 100
318
+ cp_size: null
319
+ cross_attention_hidden_size: null
320
+ decoder_start_token_id: null
321
+ deterministic: 'False'
322
+ diversity_penalty: '0.0'
323
+ do_sample: 'False'
324
+ early_stopping: 'False'
325
+ encoder_no_repeat_ngram_size: '0'
326
+ eos_token_id: '151645'
327
+ ep_size: null
328
+ experimental:
329
+ enable_async_tensor_parallel: false
330
+ enable_compiled_autograd: false
331
+ pipeline_parallel_degree: 1
332
+ exponential_decay_length_penalty: null
333
+ finetuning_task: null
334
+ float8:
335
+ enable_float8_linear: false
336
+ forced_bos_token_id: null
337
+ forced_eos_token_id: null
338
+ freeze_llm: 'False'
339
+ freeze_mm_projector: 'False'
340
+ freeze_vision_encoder: 'False'
341
+ fsdp_enabled: 'False'
342
+ hidden_act: silu
343
+ hidden_size: '3584'
344
+ id2label:
345
+ 0: LABEL_0
346
+ 1: LABEL_1
347
+ image_token_id: '151655'
348
+ initializer_range: '0.02'
349
+ intermediate_size: '18944'
350
+ is_decoder: 'False'
351
+ is_encoder_decoder: 'False'
352
+ label2id:
353
+ LABEL_0: '0'
354
+ LABEL_1: '1'
355
+ length_penalty: '1.0'
356
+ loss_per_token: 'True'
357
+ max_batch_size: '1'
358
+ max_length: '20'
359
+ max_position_embeddings: '128000'
360
+ max_seq_len: '128000'
361
+ max_window_layers: '28'
362
+ min_length: '0'
363
+ mm_projector: null
364
+ model_type: qwen2_5_vl
365
+ name_or_path: Qwen/Qwen2.5-VL-7B-Instruct
366
+ no_repeat_ngram_size: '0'
367
+ num_attention_heads: '28'
368
+ num_beam_groups: '1'
369
+ num_beams: '1'
370
+ num_hidden_layers: '28'
371
+ num_key_value_heads: '4'
372
+ num_return_sequences: '1'
373
+ num_tiles: '1'
374
+ optimizer:
375
+ early_step_in_backward: false
376
+ end_lr: 2.5e-05
377
+ fused: false
378
+ init_lr: 1.0e-05
379
+ lr: 0.0003
380
+ lr_multiplier_llm: 1.0
381
+ lr_multiplier_mm_projector: 1.0
382
+ lr_multiplier_vision_encoder: 0.1
383
+ name: AdamW
384
+ output_attentions: 'False'
385
+ output_hidden_states: 'True'
386
+ output_scores: 'False'
387
+ pad_token_id: null
388
+ precision: bfloat16
389
+ prefix: null
390
+ prepend_padding: 'False'
391
+ problem_type: null
392
+ pruned_heads: _Nothing.NOTHING
393
+ remove_invalid_values: 'False'
394
+ repetition_penalty: '1.0'
395
+ return_dict: 'True'
396
+ return_dict_in_generate: 'False'
397
+ rms_norm_eps: 1e-06
398
+ rope_scaling:
399
+ mrope_section:
400
+ - '16'
401
+ - '24'
402
+ - '24'
403
+ rope_type: default
404
+ type: default
405
+ rope_theta: '1000000.0'
406
+ s3_credential_path: credentials/pbss_dir.secret
407
+ seed: '0'
408
+ sep_token_id: null
409
+ sliding_window: '32768'
410
+ suppress_tokens: null
411
+ task_specific_params: null
412
+ temperature: '1.0'
413
+ tf_legacy_loss: 'False'
414
+ tie_encoder_decoder: 'False'
415
+ tie_word_embeddings: 'False'
416
+ tile_tag_type: space_separated
417
+ tokenizer_class: null
418
+ tokenizer_type: Qwen/Qwen2.5-VL-7B-Instruct
419
+ top_k: '50'
420
+ top_p: '1.0'
421
+ torch_dtype: bfloat16
422
+ torchscript: 'False'
423
+ training:
424
+ compile: false
425
+ context_parallel_degree: 1
426
+ data_parallel_replicate_degree: 1
427
+ data_parallel_shard_degree: -1
428
+ disable_loss_parallel: false
429
+ enable_cpu_offload: false
430
+ fsdp_reshard_after_forward: default
431
+ mixed_precision_param: bfloat16
432
+ mixed_precision_reduce: float32
433
+ steps: 400000
434
+ tensor_parallel_degree: 1
435
+ use_cosine_decay: false
436
+ use_linear_decay: true
437
+ warmup_steps: 1000
438
+ training_seq_len: '4096'
439
+ transformers_version: 4.51.0.dev0
440
+ typical_p: '1.0'
441
+ use_bfloat16: 'False'
442
+ use_cache: 'False'
443
+ use_fsdp2: 'True'
444
+ use_return_dict: 'True'
445
+ use_rope_from_torchtitan: 'False'
446
+ use_sliding_window: 'False'
447
+ video_token_id: '151656'
448
+ vision_config:
449
+ _target_: cosmos_transfer2._src.reason1.configs.default.model_config_qwen.QwenVisionConfig
450
+ add_cross_attention: 'False'
451
+ architectures: null
452
+ attn_implementation: flash_attention_2
453
+ attn_implementation_autoset: 'True'
454
+ bad_words_ids: null
455
+ begin_suppress_tokens: null
456
+ bos_token_id: null
457
+ chunk_size_feed_forward: '0'
458
+ cross_attention_hidden_size: null
459
+ decoder_start_token_id: null
460
+ depth: '32'
461
+ diversity_penalty: '0.0'
462
+ do_sample: 'False'
463
+ early_stopping: 'False'
464
+ embed_dim: null
465
+ encoder_no_repeat_ngram_size: '0'
466
+ eos_token_id: null
467
+ exponential_decay_length_penalty: null
468
+ finetuning_task: null
469
+ forced_bos_token_id: null
470
+ forced_eos_token_id: null
471
+ fullatt_block_indexes:
472
+ - '7'
473
+ - '15'
474
+ - '23'
475
+ - '31'
476
+ hidden_act: silu
477
+ hidden_size: '1280'
478
+ id2label:
479
+ 0: LABEL_0
480
+ 1: LABEL_1
481
+ in_channels: '3'
482
+ in_chans: '3'
483
+ intermediate_size: '3420'
484
+ is_decoder: 'False'
485
+ is_encoder_decoder: 'False'
486
+ label2id:
487
+ LABEL_0: '0'
488
+ LABEL_1: '1'
489
+ length_penalty: '1.0'
490
+ max_length: '20'
491
+ min_length: '0'
492
+ mlp_ratio: null
493
+ model_type: qwen2_5_vl
494
+ name_or_path: ''
495
+ no_repeat_ngram_size: '0'
496
+ num_beam_groups: '1'
497
+ num_beams: '1'
498
+ num_heads: '16'
499
+ num_return_sequences: '1'
500
+ out_hidden_size: '3584'
501
+ output_attentions: 'False'
502
+ output_hidden_states: 'False'
503
+ output_scores: 'False'
504
+ pad_token_id: null
505
+ patch_size: '14'
506
+ prefix: null
507
+ problem_type: null
508
+ pruned_heads: _Nothing.NOTHING
509
+ remove_invalid_values: 'False'
510
+ repetition_penalty: '1.0'
511
+ return_dict: 'True'
512
+ return_dict_in_generate: 'False'
513
+ sep_token_id: null
514
+ spatial_merge_size: '2'
515
+ spatial_patch_size: '14'
516
+ suppress_tokens: null
517
+ task_specific_params: null
518
+ temperature: '1.0'
519
+ temporal_patch_size: '2'
520
+ tf_legacy_loss: 'False'
521
+ tie_encoder_decoder: 'False'
522
+ tie_word_embeddings: 'True'
523
+ tokenizer_class: null
524
+ tokens_per_second: '2'
525
+ top_k: '50'
526
+ top_p: '1.0'
527
+ torch_dtype: bfloat16
528
+ torchscript: 'False'
529
+ typical_p: '1.0'
530
+ use_bfloat16: 'False'
531
+ window_size: '112'
532
+ vision_encoder: openai/clip-vit-base-patch32
533
+ vision_encoder_config:
534
+ depth_init: true
535
+ dim: 1024
536
+ ffn_dim_multiplier: null
537
+ head_dim: null
538
+ hidden_act: null
539
+ hidden_dim: 4096
540
+ image_size: 1024
541
+ image_token_id: null
542
+ multiple_of: null
543
+ n_heads: 16
544
+ n_kv_heads: null
545
+ n_layers: 24
546
+ norm_eps: 1.0e-05
547
+ norm_type: rmsnorm
548
+ num_channels: 3
549
+ patch_size: 16
550
+ proj_bias: null
551
+ qkv_bias: null
552
+ rope_theta: 10000.0
553
+ use_cache: false
554
+ use_rope_from_torchtitan: false
555
+ vision_encoder_in_channels: '3'
556
+ vision_end_token_id: '151653'
557
+ vision_start_token_id: '151652'
558
+ vision_token_id: '151654'
559
+ vocab_size: '152064'
560
+ z_loss_coeff: '0.0'
561
+ tokenizer:
562
+ _target_: <function build_tokenizer at 0x7f55dc37ba30>
563
+ cache_dir: null
564
+ tokenizer_type: Qwen/Qwen2.5-VL-7B-Instruct
565
+ n_layers_per_group: 5
566
+ s3_credential_path: credentials/s3_checkpoint.secret
567
+ tokenizer:
568
+ _target_: <class 'cosmos_transfer2._src.predict2.tokenizers.wan2pt1.Wan2pt1VAEInterface'>
569
+ chunk_duration: '81'
570
+ load_mean_std: 'False'
571
+ name: wan2pt1_tokenizer
572
+ temporal_window: '16'
573
+ train_time_distribution: logitnormal
574
+ train_time_weight: reweighting
575
+ use_dora: false
576
+ use_dynamic_shift: false
577
+ use_high_sigma_strategy: false
578
+ use_kerras_sigma_at_inference: false
579
+ use_lora: false
580
+ use_reference_image: false
581
+ use_torch_compile: false
582
+ model_parallel:
583
+ _cpu_offloading_context: null
584
+ async_tensor_model_parallel_allreduce: false
585
+ autocast_dtype: torch.float32
586
+ barrier_with_L1_time: true
587
+ batch_p2p_comm: true
588
+ batch_p2p_sync: true
589
+ bf16: false
590
+ context_parallel_size: 8
591
+ cpu_offloading: false
592
+ cpu_offloading_activations: true
593
+ cpu_offloading_double_buffering: false
594
+ cpu_offloading_num_layers: 0
595
+ cpu_offloading_weights: true
596
+ cross_entropy_fusion_impl: native
597
+ cross_entropy_loss_fusion: false
598
+ deallocate_pipeline_outputs: false
599
+ defer_embedding_wgrad_compute: false
600
+ delay_wgrad_compute: false
601
+ deterministic_mode: false
602
+ enable_autocast: false
603
+ expert_model_parallel_size: 1
604
+ expert_tensor_parallel_size: 1
605
+ finalize_model_grads_func: null
606
+ fp16: false
607
+ grad_scale_func: null
608
+ grad_sync_func: null
609
+ gradient_accumulation_fusion: false
610
+ hierarchical_context_parallel_sizes: null
611
+ microbatch_group_size_per_vp_stage: 1
612
+ moe_extended_tp: false
613
+ no_sync_func: null
614
+ num_microbatches_with_partial_activation_checkpoints: null
615
+ overlap_moe_expert_parallel_comm: false
616
+ overlap_p2p_comm: false
617
+ overlap_p2p_comm_warmup_flush: false
618
+ param_sync_func: null
619
+ params_dtype: torch.float32
620
+ perform_initialization: true
621
+ pipeline_dtype: null
622
+ pipeline_model_parallel_comm_backend: null
623
+ pipeline_model_parallel_size: 1
624
+ sequence_parallel: false
625
+ tensor_model_parallel_size: 1
626
+ timers: null
627
+ tp_comm_atomic_ag: false
628
+ tp_comm_atomic_rs: false
629
+ tp_comm_bootstrap_backend: nccl
630
+ tp_comm_bulk_dgrad: true
631
+ tp_comm_bulk_wgrad: true
632
+ tp_comm_overlap: false
633
+ tp_comm_overlap_ag: true
634
+ tp_comm_overlap_disable_fc1: false
635
+ tp_comm_overlap_disable_qkv: false
636
+ tp_comm_overlap_rs: true
637
+ tp_comm_overlap_rs_dgrad: false
638
+ tp_comm_split_ag: true
639
+ tp_comm_split_rs: true
640
+ use_cpu_initialization: false
641
+ use_ring_exchange_p2p: false
642
+ use_te_rng_tracker: false
643
+ variable_seq_lengths: false
644
+ virtual_pipeline_model_parallel_size: null
645
+ wgrad_deferral_limit: 0
646
+ optimizer:
647
+ _target_: <function get_base_optimizer at 0x7f55d7dac4c0>
648
+ betas:
649
+ - '0.9'
650
+ - '0.999'
651
+ eps: 1e-08
652
+ fused: 'True'
653
+ lr: '8.63e-05'
654
+ model: null
655
+ optim_type: adamw
656
+ weight_decay: '0.001'
657
+ scheduler:
658
+ _target_: <class 'cosmos_transfer2._src.imaginaire.functional.lr_scheduler.LambdaLinearScheduler'>
659
+ cycle_lengths:
660
+ - '100000'
661
+ f_max:
662
+ - '0.5'
663
+ f_min:
664
+ - '0.2'
665
+ f_start:
666
+ - 1e-06
667
+ verbosity_interval: '0'
668
+ warm_up_steps:
669
+ - '100'
670
+ trainer:
671
+ callbacks:
672
+ compile_tokenizer:
673
+ _target_: <class 'cosmos_transfer2._src.predict2.callbacks.compile_tokenizer.CompileTokenizer'>
674
+ compile_after_iterations: '4'
675
+ dynamic: 'False'
676
+ enabled: 'True'
677
+ dataloader_speed:
678
+ _target_: <class 'cosmos_transfer2._src.predict2.callbacks.dataloading_monitor.DetailedDataLoadingSpeedMonitor'>
679
+ every_n: '200'
680
+ save_s3: 'True'
681
+ step_size: '1'
682
+ device_monitor:
683
+ _target_: <class 'cosmos_transfer2._src.predict2.callbacks.device_monitor.DeviceMonitor'>
684
+ every_n: '200'
685
+ log_memory_detail: 'True'
686
+ save_s3: 'True'
687
+ step_size: '1'
688
+ upload_every_n_mul: '10'
689
+ every_n_sample_ema:
690
+ _target_: <class 'cosmos_transfer2._src.transfer2.callbacks.every_n_draw_sample.EveryNDrawSample'>
691
+ every_n: '5000'
692
+ fix_batch_fp: null
693
+ fps: '16'
694
+ guidance:
695
+ - '0'
696
+ - '3'
697
+ - '7'
698
+ is_ema: 'True'
699
+ is_sample: 'True'
700
+ is_x0: 'False'
701
+ n_sample_to_save: '128'
702
+ n_viz_sample: '3'
703
+ n_x0_level: '4'
704
+ num_sampling_step: '35'
705
+ save_s3: 'True'
706
+ show_all_frames: 'False'
707
+ step_size: '1'
708
+ use_negative_prompt: 'False'
709
+ every_n_sample_reg:
710
+ _target_: <class 'cosmos_transfer2._src.transfer2.callbacks.every_n_draw_sample.EveryNDrawSample'>
711
+ every_n: '5000'
712
+ fix_batch_fp: null
713
+ fps: '16'
714
+ guidance:
715
+ - '0'
716
+ - '3'
717
+ - '7'
718
+ is_ema: 'False'
719
+ is_sample: 'True'
720
+ is_x0: 'False'
721
+ n_sample_to_save: '128'
722
+ n_viz_sample: '3'
723
+ n_x0_level: '4'
724
+ num_sampling_step: '35'
725
+ save_s3: 'True'
726
+ show_all_frames: 'False'
727
+ step_size: '1'
728
+ use_negative_prompt: 'False'
729
+ frame_loss_log:
730
+ _target_: <class 'cosmos_transfer2._src.transfer2.callbacks.frame_loss_log.FrameLossLog'>
731
+ logging_iter_multipler: '1'
732
+ save_logging_iter_multipler: '10'
733
+ save_s3: 'True'
734
+ grad_clip:
735
+ _target_: <class 'cosmos_transfer2._src.predict2.callbacks.grad_clip.GradClip'>
736
+ clip_norm: '0.1'
737
+ force_finite: 'True'
738
+ heart_beat:
739
+ _target_: <class 'cosmos_transfer2._src.predict2.callbacks.heart_beat.HeartBeat'>
740
+ every_n: '10'
741
+ save_s3: 'True'
742
+ step_size: '1'
743
+ update_interval_in_minute: '20'
744
+ iter_speed:
745
+ _target_: <class 'cosmos_transfer2._src.predict2.callbacks.iter_speed.IterSpeed'>
746
+ every_n: '100'
747
+ hit_thres: '300'
748
+ save_s3: 'True'
749
+ save_s3_every_log_n: '10'
750
+ load_base_model:
751
+ _target_: <class 'cosmos_transfer2._src.transfer2.configs.vid2vid_transfer.defaults.callbacks.LoadBaseModel'>
752
+ config: null
753
+ trainer: null
754
+ low_prec:
755
+ _target_: <class 'cosmos_transfer2._src.imaginaire.utils.callback.LowPrecisionCallback'>
756
+ config: null
757
+ trainer: null
758
+ update_iter: '1'
759
+ manual_gc:
760
+ _target_: <class 'cosmos_transfer2._src.imaginaire.callbacks.manual_gc.ManualGarbageCollection'>
761
+ every_n: '200'
762
+ warm_up: '5'
763
+ wandb:
764
+ _target_: <class 'cosmos_transfer2._src.predict2.callbacks.wandb_log.WandbCallback'>
765
+ logging_iter_multipler: '1'
766
+ save_logging_iter_multipler: '10'
767
+ save_s3: 'True'
768
+ wandb_10x:
769
+ _target_: <class 'cosmos_transfer2._src.predict2.callbacks.wandb_log.WandbCallback'>
770
+ logging_iter_multipler: '10'
771
+ save_logging_iter_multipler: '1'
772
+ save_s3: 'True'
773
+ compile_config:
774
+ recompile_limit: '8'
775
+ use_duck_shape: 'True'
776
+ cudnn:
777
+ benchmark: 'True'
778
+ deterministic: 'False'
779
+ ddp:
780
+ broadcast_buffers: 'True'
781
+ find_unused_parameters: 'False'
782
+ static_graph: 'True'
783
+ distributed_parallelism: fsdp
784
+ grad_accum_iter: '1'
785
+ grad_scaler_args:
786
+ enabled: 'False'
787
+ logging_iter: '200'
788
+ max_iter: '100000'
789
+ max_val_iter: null
790
+ memory_format: torch.preserve_format
791
+ profiling:
792
+ enable_memory_snapshot: 'False'
793
+ enable_profiling: 'False'
794
+ profile_freq: '1'
795
+ profile_memory: 'False'
796
+ record_shape: 'False'
797
+ save_s3: 'False'
798
+ target_ranks:
799
+ - '0'
800
+ - '1'
801
+ - '2'
802
+ - '3'
803
+ - '4'
804
+ - '5'
805
+ - '6'
806
+ - '7'
807
+ with_modules: 'True'
808
+ with_stack: 'True'
809
+ run_validation: 'False'
810
+ run_validation_on_start: 'False'
811
+ seed: '0'
812
+ straggler_detection:
813
+ analyze_backward: 'True'
814
+ analyze_dataloading: 'True'
815
+ analyze_forward: 'True'
816
+ analyze_optimizer: 'True'
817
+ enabled: 'True'
818
+ max_diff: '1.5'
819
+ profile_freq: '1'
820
+ raise_error: 'True'
821
+ report_freq: '100'
822
+ timeout_period: '999999999'
823
+ type: <class 'cosmos_transfer2._src.imaginaire.trainer.ImaginaireTrainer'>
824
+ validation_iter: '100'
825
+ upload_reproducible_setup: 'True'
multicontrol_cookbook_grid/sunny/background/background/console.log ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [06-26 07:35:45|INFO|cosmos_transfer2/inference.py:146:__init__] Found 3 hint keys across all samples
2
+ [06-26 07:35:45|WARNING|cosmos_transfer2/inference.py:148:__init__] Loading the multicontrol model. Multicontrol inference is not strictly equal to single control
3
+ [06-26 07:35:45|INFO|cosmos_transfer2/inference.py:156:__init__] Saved config to /scratch/ssaha/cosmos-transfer2.5/outputs/multicontrol_cookbook_grid/sunny/background/background/config.yaml
4
+ [06-26 07:35:45|INFO|cosmos_transfer2/inference.py:163:generate] Generating 1 samples: ['sunny_background_background']
5
+ [06-26 07:35:45|INFO|cosmos_transfer2/inference.py:167:generate] [1/1] Processing sample sunny_background_background
6
+ [06-26 07:35:45|INFO|cosmos_transfer2/inference.py:208:_generate_sample] Saved arguments to /scratch/ssaha/cosmos-transfer2.5/outputs/multicontrol_cookbook_grid/sunny/background/background/sunny_background_background.json
7
+ [06-26 07:35:45|WARNING|cosmos_transfer2/inference.py:239:_generate_sample] Guardrail checks on prompt are disabled
8
+ [06-26 07:35:45|INFO|cosmos_transfer2/inference.py:242:_generate_sample] Processing the following paths: {'edge': '/scratch/ssaha/cosmos-transfer2.5/outputs/multicontrol_cookbook_grid/_edges/sunny_edge.mp4', 'edge_mask': None, 'edge_mask_prompt': None, 'vis': None, 'vis_mask': None, 'vis_mask_prompt': None, 'seg': '/scratch/ssaha/cosmos-transfer2.5/SceneDriveBench/output/priority_from_right/run_000/videos/semseg_front.mp4', 'seg_mask': '/scratch/ssaha/cosmos-transfer2.5/outputs/multicontrol_cookbook_grid/_masks/sunny/background_mask.mp4', 'seg_mask_prompt': None}
9
+ [06-26 07:49:05|INFO|cosmos_transfer2/inference.py:311:_generate_sample] edge control video saved to /scratch/ssaha/cosmos-transfer2.5/outputs/multicontrol_cookbook_grid/sunny/background/background/sunny_background_background_control_edge.mp4
10
+ [06-26 07:49:06|INFO|cosmos_transfer2/inference.py:311:_generate_sample] vis control video saved to /scratch/ssaha/cosmos-transfer2.5/outputs/multicontrol_cookbook_grid/sunny/background/background/sunny_background_background_control_vis.mp4
11
+ [06-26 07:49:06|INFO|cosmos_transfer2/inference.py:311:_generate_sample] seg control video saved to /scratch/ssaha/cosmos-transfer2.5/outputs/multicontrol_cookbook_grid/sunny/background/background/sunny_background_background_control_seg.mp4
12
+ [06-26 07:49:06|WARNING|cosmos_transfer2/inference.py:335:_generate_sample] Guardrail checks on video are disabled
13
+ [06-26 07:49:08|SUCCESS|cosmos_transfer2/inference.py:343:_generate_sample] Generated video saved to /scratch/ssaha/cosmos-transfer2.5/outputs/multicontrol_cookbook_grid/sunny/background/background/sunny_background_background.mp4
multicontrol_cookbook_grid/sunny/background/background/debug.log ADDED
The diff for this file is too large to render. See raw diff