Divyanshudiv commited on
Commit
786d431
·
verified ·
1 Parent(s): 3b30b6c

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. edge_threshold_grid/_edges/rainy/edge_bg0.1_rm0.5.mp4 +3 -0
  2. edge_threshold_grid/_edges/rainy/edge_bg0.1_rm1.mp4 +3 -0
  3. edge_threshold_grid/_edges/rainy/edge_bg0.5_rm1.mp4 +3 -0
  4. edge_threshold_grid/_edges/sunny/edge_bg0.1_rm0.5.mp4 +3 -0
  5. edge_threshold_grid/_edges/sunny/edge_bg0.1_rm1.mp4 +3 -0
  6. edge_threshold_grid/_edges/sunny/edge_bg0.5_rm1.mp4 +3 -0
  7. edge_threshold_grid/_masks/rainy/Building_mask.mp4 +3 -0
  8. edge_threshold_grid/_masks/rainy/weather_mask.mp4 +3 -0
  9. edge_threshold_grid/_masks/sunny/Building_mask.mp4 +3 -0
  10. edge_threshold_grid/_masks/sunny/weather_mask.mp4 +3 -0
  11. edge_threshold_grid/rainy/Building/2b_step35_bg0.1_rm0.5/config.yaml +882 -0
  12. edge_threshold_grid/rainy/Building/2b_step35_bg0.1_rm0.5/console.log +18 -0
  13. edge_threshold_grid/rainy/Building/2b_step35_bg0.1_rm0.5/debug.log +0 -0
  14. edge_threshold_grid/rainy/Building/2b_step35_bg0.1_rm0.5/rainy_Building_2b_step35_bg0.1_rm0.5.json +1 -0
  15. edge_threshold_grid/rainy/Building/2b_step35_bg0.1_rm0.5/rainy_Building_2b_step35_bg0.1_rm0.5.mp4 +3 -0
  16. edge_threshold_grid/rainy/Building/2b_step35_bg0.1_rm0.5/rainy_Building_2b_step35_bg0.1_rm0.5.txt +1 -0
  17. edge_threshold_grid/rainy/Building/2b_step35_bg0.1_rm0.5/rainy_Building_2b_step35_bg0.1_rm0.5_control_edge.mp4 +3 -0
  18. edge_threshold_grid/rainy/Building/2b_step35_bg0.1_rm0.5/spec.json +13 -0
  19. edge_threshold_grid/rainy/Building/2b_step35_bg0.1_rm1/config.yaml +882 -0
  20. edge_threshold_grid/rainy/Building/2b_step35_bg0.1_rm1/console.log +18 -0
  21. edge_threshold_grid/rainy/Building/2b_step35_bg0.1_rm1/debug.log +0 -0
  22. edge_threshold_grid/rainy/Building/2b_step35_bg0.1_rm1/rainy_Building_2b_step35_bg0.1_rm1.json +1 -0
  23. edge_threshold_grid/rainy/Building/2b_step35_bg0.1_rm1/rainy_Building_2b_step35_bg0.1_rm1.mp4 +3 -0
  24. edge_threshold_grid/rainy/Building/2b_step35_bg0.1_rm1/rainy_Building_2b_step35_bg0.1_rm1.txt +1 -0
  25. edge_threshold_grid/rainy/Building/2b_step35_bg0.1_rm1/rainy_Building_2b_step35_bg0.1_rm1_control_edge.mp4 +3 -0
  26. edge_threshold_grid/rainy/Building/2b_step35_bg0.1_rm1/spec.json +13 -0
  27. edge_threshold_grid/rainy/Building/2b_step35_bg0.5_rm1/config.yaml +882 -0
  28. edge_threshold_grid/rainy/Building/2b_step35_bg0.5_rm1/console.log +18 -0
  29. edge_threshold_grid/rainy/Building/2b_step35_bg0.5_rm1/debug.log +0 -0
  30. edge_threshold_grid/rainy/Building/2b_step35_bg0.5_rm1/rainy_Building_2b_step35_bg0.5_rm1.json +1 -0
  31. edge_threshold_grid/rainy/Building/2b_step35_bg0.5_rm1/rainy_Building_2b_step35_bg0.5_rm1.mp4 +3 -0
  32. edge_threshold_grid/rainy/Building/2b_step35_bg0.5_rm1/rainy_Building_2b_step35_bg0.5_rm1.txt +1 -0
  33. edge_threshold_grid/rainy/Building/2b_step35_bg0.5_rm1/rainy_Building_2b_step35_bg0.5_rm1_control_edge.mp4 +3 -0
  34. edge_threshold_grid/rainy/Building/2b_step35_bg0.5_rm1/spec.json +13 -0
  35. edge_threshold_grid/rainy/Building/2b_step35_masked_bg0.1_rm0.5/config.yaml +882 -0
  36. edge_threshold_grid/rainy/Building/2b_step35_masked_bg0.1_rm0.5/console.log +18 -0
  37. edge_threshold_grid/rainy/Building/2b_step35_masked_bg0.1_rm0.5/debug.log +0 -0
  38. edge_threshold_grid/rainy/Building/2b_step35_masked_bg0.1_rm0.5/rainy_Building_2b_step35_masked_bg0.1_rm0.5.json +1 -0
  39. edge_threshold_grid/rainy/Building/2b_step35_masked_bg0.1_rm0.5/rainy_Building_2b_step35_masked_bg0.1_rm0.5.mp4 +3 -0
  40. edge_threshold_grid/rainy/Building/2b_step35_masked_bg0.1_rm0.5/rainy_Building_2b_step35_masked_bg0.1_rm0.5.txt +1 -0
  41. edge_threshold_grid/rainy/Building/2b_step35_masked_bg0.1_rm0.5/rainy_Building_2b_step35_masked_bg0.1_rm0.5_control_edge.mp4 +3 -0
  42. edge_threshold_grid/rainy/Building/2b_step35_masked_bg0.1_rm0.5/spec.json +14 -0
  43. edge_threshold_grid/rainy/Building/2b_step35_masked_bg0.1_rm1/config.yaml +882 -0
  44. edge_threshold_grid/rainy/Building/2b_step35_masked_bg0.1_rm1/console.log +18 -0
  45. edge_threshold_grid/rainy/Building/2b_step35_masked_bg0.1_rm1/debug.log +0 -0
  46. edge_threshold_grid/rainy/Building/2b_step35_masked_bg0.1_rm1/rainy_Building_2b_step35_masked_bg0.1_rm1.json +1 -0
  47. edge_threshold_grid/rainy/Building/2b_step35_masked_bg0.1_rm1/rainy_Building_2b_step35_masked_bg0.1_rm1.mp4 +3 -0
  48. edge_threshold_grid/rainy/Building/2b_step35_masked_bg0.1_rm1/rainy_Building_2b_step35_masked_bg0.1_rm1.txt +1 -0
  49. edge_threshold_grid/rainy/Building/2b_step35_masked_bg0.1_rm1/rainy_Building_2b_step35_masked_bg0.1_rm1_control_edge.mp4 +3 -0
  50. edge_threshold_grid/rainy/Building/2b_step35_masked_bg0.1_rm1/spec.json +14 -0
edge_threshold_grid/_edges/rainy/edge_bg0.1_rm0.5.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e857de5159eea1fc35e88e350efc9539ae3d4090d92aa4ff49326186c32ed4a4
3
+ size 1539257
edge_threshold_grid/_edges/rainy/edge_bg0.1_rm1.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ce45863db79912ad8a96e630f23184f85e8aced2cacdaf3e367d63e4769fc2a5
3
+ size 1663561
edge_threshold_grid/_edges/rainy/edge_bg0.5_rm1.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e80b7285b3a679976aa8d6fb604c5c293ca20a635fee82de9d3b66f82f9a79e5
3
+ size 1720921
edge_threshold_grid/_edges/sunny/edge_bg0.1_rm0.5.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:70ee5563476a9cd31b2f7b6da6e73ffdbefc21f79b4cf91650476ef0582a2b26
3
+ size 1084068
edge_threshold_grid/_edges/sunny/edge_bg0.1_rm1.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:06651f21105721e4b779fda00d09f7080e2abf73587ec093ebd82d2d372a17d7
3
+ size 1173523
edge_threshold_grid/_edges/sunny/edge_bg0.5_rm1.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a47328aa1e14e3850dc5e320e25c46b6807f86b35ee4f3755c19c35499ea5737
3
+ size 1222816
edge_threshold_grid/_masks/rainy/Building_mask.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1421ad5729128043f0f11fb600c0b7cc5af9d11dcea6d1d313951a722d284b5c
3
+ size 903737
edge_threshold_grid/_masks/rainy/weather_mask.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8fb3e7ac0c5bf48a320e82d156dada5d85325689edca3a3d39a6b4874915443b
3
+ size 1439409
edge_threshold_grid/_masks/sunny/Building_mask.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:293abe321d590f3e77d7cb2612d6744a7833971d7b22ca36073b0a932a302d0b
3
+ size 265959
edge_threshold_grid/_masks/sunny/weather_mask.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d7a83c2b0bd8cc6837aabaeba3e4552578743016008004429772238a5d043b0a
3
+ size 497925
edge_threshold_grid/rainy/Building/2b_step35_bg0.1_rm0.5/config.yaml ADDED
@@ -0,0 +1,882 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ checkpoint:
2
+ broadcast_via_filesystem: 'False'
3
+ dcp_async_mode_enabled: 'False'
4
+ enable_gcs_patch_in_boto3: 'False'
5
+ jit:
6
+ device: cuda
7
+ dtype: bfloat16
8
+ enabled: 'False'
9
+ input_shape: null
10
+ strict: 'True'
11
+ keys_not_to_resume: []
12
+ keys_to_skip_loading: []
13
+ load_ema_to_reg: 'False'
14
+ load_from_object_store:
15
+ bucket: bucket
16
+ credentials: credentials/s3_checkpoint.secret
17
+ enabled: 'True'
18
+ load_path: s3://bucket/cosmos_transfer2/vid2vid_2B_control/edge_720p_t24or1_spaced_layer4_cr1pt1_sdev2_lowsigma0.05_uniform_hqv3p1_20250714_64N_rectified_flow_refimdrop0pt5/checkpoints/iter_000032000
19
+ load_training_state: 'False'
20
+ only_load_scheduler_state: 'False'
21
+ save_iter: '1000'
22
+ save_to_object_store:
23
+ bucket: bucket
24
+ credentials: credentials/s3_checkpoint.secret
25
+ enabled: 'True'
26
+ strict_resume: 'False'
27
+ type:
28
+ _target_: <class 'cosmos_transfer2._src.predict2.checkpointer.dcp.DistributedCheckpointer'>
29
+ callbacks: null
30
+ disable_async: 'False'
31
+ verbose: 'True'
32
+ dataloader_train:
33
+ dataloaders:
34
+ image_data:
35
+ ratio: '0'
36
+ video_data:
37
+ dataloader:
38
+ batch_size: '1'
39
+ cache_augment_fn: functools.partial(<function duplicate_batches_random at
40
+ 0x7ff13e1a32e0>, 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
+ 0x7ff13e1a32e0>, 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 0x7ff13e1a3400>
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 0x7ff13e1a39a0>
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 0x7ff13e1a3400>
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 0x7ff13e1a3d90>
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 0x7ff1428839a0>
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 0x7ff13e2c85e0>
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'
edge_threshold_grid/rainy/Building/2b_step35_bg0.1_rm0.5/console.log ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [06-22 01:18:17|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:297:download] Downloading checkpoint Wan2.1/vae(685afcaa-4de2-42fe-b7b9-69f7a2dee4d8)
2
+ [06-22 01:18:17|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:165:_hf_download] uvx 'hf>=1.3.5' download nvidia/Cosmos-Predict2.5-2B --repo-type model --revision f176dc95b4a70f53ce01c4b302851595e7322b00 tokenizer.pth
3
+ [06-22 01:18:21|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:297:download] Downloading checkpoint Qwen/Qwen2.5-VL-7B-Instruct(7219c6c7-f878-4137-bbdb-76842ea85e70)
4
+ [06-22 01:18:21|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:165:_hf_download] uvx 'hf>=1.3.5' download nvidia/Cosmos-Reason1-7B --repo-type model --revision 3210bec0495fdc7a8d3dbb8d58da5711eab4b423 --include '*'
5
+ [06-22 01:18:22|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:297:download] Downloading checkpoint nvidia/Cosmos-Reason1.1-7B(cb3e3ffa-7b08-4c34-822d-61c7aa31a14f)
6
+ [06-22 01:18:22|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:165:_hf_download] uvx 'hf>=1.3.5' download nvidia/Cosmos-Reason1-7B --repo-type model --revision 3210bec0495fdc7a8d3dbb8d58da5711eab4b423 --include '*'
7
+ [06-22 01:18:26|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:297:download] Downloading checkpoint nvidia/Cosmos-Transfer2.5-2B/general/edge(61f5694b-0ad5-4ecd-8ad7-c8545627d125)
8
+ [06-22 01:18:26|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:165:_hf_download] uvx 'hf>=1.3.5' download nvidia/Cosmos-Transfer2.5-2B --repo-type model --revision b67b64abda3801a9aceddbff2bdb86126c06db74 general/edge/61f5694b-0ad5-4ecd-8ad7-c8545627d125_ema_bf16.pt
9
+ [06-22 01:18:28|INFO|cosmos_transfer2/inference.py:146:__init__] Found 1 hint keys across all samples
10
+ [06-22 01:18:28|INFO|cosmos_transfer2/inference.py:156:__init__] Saved config to /scratch/ssaha/cosmos-transfer2.5/outputs/edge_threshold_grid/rainy/Building/2b_step35_bg0.1_rm0.5/config.yaml
11
+ [06-22 01:18:28|INFO|cosmos_transfer2/inference.py:163:generate] Generating 1 samples: ['rainy_Building_2b_step35_bg0.1_rm0.5']
12
+ [06-22 01:18:28|INFO|cosmos_transfer2/inference.py:167:generate] [1/1] Processing sample rainy_Building_2b_step35_bg0.1_rm0.5
13
+ [06-22 01:18:28|INFO|cosmos_transfer2/inference.py:208:_generate_sample] Saved arguments to /scratch/ssaha/cosmos-transfer2.5/outputs/edge_threshold_grid/rainy/Building/2b_step35_bg0.1_rm0.5/rainy_Building_2b_step35_bg0.1_rm0.5.json
14
+ [06-22 01:18:28|WARNING|cosmos_transfer2/inference.py:239:_generate_sample] Guardrail checks on prompt are disabled
15
+ [06-22 01:18:28|INFO|cosmos_transfer2/inference.py:242:_generate_sample] Processing the following paths: {'edge': '/scratch/ssaha/cosmos-transfer2.5/outputs/edge_threshold_grid/_edges/rainy/edge_bg0.1_rm0.5.mp4', 'edge_mask': None, 'edge_mask_prompt': None}
16
+ [06-22 01:28:59|INFO|cosmos_transfer2/inference.py:311:_generate_sample] edge control video saved to /scratch/ssaha/cosmos-transfer2.5/outputs/edge_threshold_grid/rainy/Building/2b_step35_bg0.1_rm0.5/rainy_Building_2b_step35_bg0.1_rm0.5_control_edge.mp4
17
+ [06-22 01:28:59|WARNING|cosmos_transfer2/inference.py:335:_generate_sample] Guardrail checks on video are disabled
18
+ [06-22 01:29:01|SUCCESS|cosmos_transfer2/inference.py:343:_generate_sample] Generated video saved to /scratch/ssaha/cosmos-transfer2.5/outputs/edge_threshold_grid/rainy/Building/2b_step35_bg0.1_rm0.5/rainy_Building_2b_step35_bg0.1_rm0.5.mp4
edge_threshold_grid/rainy/Building/2b_step35_bg0.1_rm0.5/debug.log ADDED
The diff for this file is too large to render. See raw diff
 
edge_threshold_grid/rainy/Building/2b_step35_bg0.1_rm0.5/rainy_Building_2b_step35_bg0.1_rm0.5.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"name":"rainy_Building_2b_step35_bg0.1_rm0.5","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/edge_threshold_grid/_edges/rainy/edge_bg0.1_rm0.5.mp4","control_weight":1.0,"mask_path":null,"mask_prompt":null,"preset_edge_threshold":"medium"},"depth":null,"vis":null,"seg":null,"guided_generation_mask":null,"guided_generation_step_threshold":25,"guided_generation_foreground_labels":null}
edge_threshold_grid/rainy/Building/2b_step35_bg0.1_rm0.5/rainy_Building_2b_step35_bg0.1_rm0.5.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:787b4e5e81d13fe80381282c84d2d20bbcf29ff8f879b309f8f45117d5d5af81
3
+ size 2093903
edge_threshold_grid/rainy/Building/2b_step35_bg0.1_rm0.5/rainy_Building_2b_step35_bg0.1_rm0.5.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ The video shows an urban intersection captured from a vehicle-mounted camera 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.
edge_threshold_grid/rainy/Building/2b_step35_bg0.1_rm0.5/rainy_Building_2b_step35_bg0.1_rm0.5_control_edge.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3b13dda75a5cbf5da04e23bb5065f322fbb4eaa90ab11b6843fc65867ba80d54
3
+ size 1241555
edge_threshold_grid/rainy/Building/2b_step35_bg0.1_rm0.5/spec.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "rainy_Building_2b_step35_bg0.1_rm0.5",
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/edge_threshold_grid/_edges/rainy/edge_bg0.1_rm0.5.mp4",
10
+ "control_weight": 1.0
11
+ },
12
+ "negative_prompt": "The video captures a game playing, with bad crappy graphics and cartoonish frames. It represents a recording of old outdated games. The lighting looks very fake. The textures are very raw and basic. The geometries are very primitive. The images are very pixelated and of poor CG quality. There are many subtitles in the footage. Overall, the video is unrealistic at all. Modern glass towers, plain concrete blocks, melted or warped facades, floating disconnected structures."
13
+ }
edge_threshold_grid/rainy/Building/2b_step35_bg0.1_rm1/config.yaml ADDED
@@ -0,0 +1,882 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ checkpoint:
2
+ broadcast_via_filesystem: 'False'
3
+ dcp_async_mode_enabled: 'False'
4
+ enable_gcs_patch_in_boto3: 'False'
5
+ jit:
6
+ device: cuda
7
+ dtype: bfloat16
8
+ enabled: 'False'
9
+ input_shape: null
10
+ strict: 'True'
11
+ keys_not_to_resume: []
12
+ keys_to_skip_loading: []
13
+ load_ema_to_reg: 'False'
14
+ load_from_object_store:
15
+ bucket: bucket
16
+ credentials: credentials/s3_checkpoint.secret
17
+ enabled: 'True'
18
+ load_path: s3://bucket/cosmos_transfer2/vid2vid_2B_control/edge_720p_t24or1_spaced_layer4_cr1pt1_sdev2_lowsigma0.05_uniform_hqv3p1_20250714_64N_rectified_flow_refimdrop0pt5/checkpoints/iter_000032000
19
+ load_training_state: 'False'
20
+ only_load_scheduler_state: 'False'
21
+ save_iter: '1000'
22
+ save_to_object_store:
23
+ bucket: bucket
24
+ credentials: credentials/s3_checkpoint.secret
25
+ enabled: 'True'
26
+ strict_resume: 'False'
27
+ type:
28
+ _target_: <class 'cosmos_transfer2._src.predict2.checkpointer.dcp.DistributedCheckpointer'>
29
+ callbacks: null
30
+ disable_async: 'False'
31
+ verbose: 'True'
32
+ dataloader_train:
33
+ dataloaders:
34
+ image_data:
35
+ ratio: '0'
36
+ video_data:
37
+ dataloader:
38
+ batch_size: '1'
39
+ cache_augment_fn: functools.partial(<function duplicate_batches_random at
40
+ 0x7f7258fe32e0>, 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
+ 0x7f7258fe32e0>, 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 0x7f7258fe3400>
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 0x7f7258fe39a0>
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 0x7f7258fe3400>
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 0x7f7258fe3d90>
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 0x7f725d4cb9a0>
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 0x7f7259108430>
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'
edge_threshold_grid/rainy/Building/2b_step35_bg0.1_rm1/console.log ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [06-22 01:29:18|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:297:download] Downloading checkpoint Wan2.1/vae(685afcaa-4de2-42fe-b7b9-69f7a2dee4d8)
2
+ [06-22 01:29:18|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:165:_hf_download] uvx 'hf>=1.3.5' download nvidia/Cosmos-Predict2.5-2B --repo-type model --revision f176dc95b4a70f53ce01c4b302851595e7322b00 tokenizer.pth
3
+ [06-22 01:29:23|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:297:download] Downloading checkpoint Qwen/Qwen2.5-VL-7B-Instruct(7219c6c7-f878-4137-bbdb-76842ea85e70)
4
+ [06-22 01:29:23|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:165:_hf_download] uvx 'hf>=1.3.5' download nvidia/Cosmos-Reason1-7B --repo-type model --revision 3210bec0495fdc7a8d3dbb8d58da5711eab4b423 --include '*'
5
+ [06-22 01:29:24|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:297:download] Downloading checkpoint nvidia/Cosmos-Reason1.1-7B(cb3e3ffa-7b08-4c34-822d-61c7aa31a14f)
6
+ [06-22 01:29:24|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:165:_hf_download] uvx 'hf>=1.3.5' download nvidia/Cosmos-Reason1-7B --repo-type model --revision 3210bec0495fdc7a8d3dbb8d58da5711eab4b423 --include '*'
7
+ [06-22 01:29:28|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:297:download] Downloading checkpoint nvidia/Cosmos-Transfer2.5-2B/general/edge(61f5694b-0ad5-4ecd-8ad7-c8545627d125)
8
+ [06-22 01:29:28|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:165:_hf_download] uvx 'hf>=1.3.5' download nvidia/Cosmos-Transfer2.5-2B --repo-type model --revision b67b64abda3801a9aceddbff2bdb86126c06db74 general/edge/61f5694b-0ad5-4ecd-8ad7-c8545627d125_ema_bf16.pt
9
+ [06-22 01:29:29|INFO|cosmos_transfer2/inference.py:146:__init__] Found 1 hint keys across all samples
10
+ [06-22 01:29:29|INFO|cosmos_transfer2/inference.py:156:__init__] Saved config to /scratch/ssaha/cosmos-transfer2.5/outputs/edge_threshold_grid/rainy/Building/2b_step35_bg0.1_rm1/config.yaml
11
+ [06-22 01:29:29|INFO|cosmos_transfer2/inference.py:163:generate] Generating 1 samples: ['rainy_Building_2b_step35_bg0.1_rm1']
12
+ [06-22 01:29:29|INFO|cosmos_transfer2/inference.py:167:generate] [1/1] Processing sample rainy_Building_2b_step35_bg0.1_rm1
13
+ [06-22 01:29:29|INFO|cosmos_transfer2/inference.py:208:_generate_sample] Saved arguments to /scratch/ssaha/cosmos-transfer2.5/outputs/edge_threshold_grid/rainy/Building/2b_step35_bg0.1_rm1/rainy_Building_2b_step35_bg0.1_rm1.json
14
+ [06-22 01:29:29|WARNING|cosmos_transfer2/inference.py:239:_generate_sample] Guardrail checks on prompt are disabled
15
+ [06-22 01:29:29|INFO|cosmos_transfer2/inference.py:242:_generate_sample] Processing the following paths: {'edge': '/scratch/ssaha/cosmos-transfer2.5/outputs/edge_threshold_grid/_edges/rainy/edge_bg0.1_rm1.mp4', 'edge_mask': None, 'edge_mask_prompt': None}
16
+ [06-22 01:40:00|INFO|cosmos_transfer2/inference.py:311:_generate_sample] edge control video saved to /scratch/ssaha/cosmos-transfer2.5/outputs/edge_threshold_grid/rainy/Building/2b_step35_bg0.1_rm1/rainy_Building_2b_step35_bg0.1_rm1_control_edge.mp4
17
+ [06-22 01:40:00|WARNING|cosmos_transfer2/inference.py:335:_generate_sample] Guardrail checks on video are disabled
18
+ [06-22 01:40:02|SUCCESS|cosmos_transfer2/inference.py:343:_generate_sample] Generated video saved to /scratch/ssaha/cosmos-transfer2.5/outputs/edge_threshold_grid/rainy/Building/2b_step35_bg0.1_rm1/rainy_Building_2b_step35_bg0.1_rm1.mp4
edge_threshold_grid/rainy/Building/2b_step35_bg0.1_rm1/debug.log ADDED
The diff for this file is too large to render. See raw diff
 
edge_threshold_grid/rainy/Building/2b_step35_bg0.1_rm1/rainy_Building_2b_step35_bg0.1_rm1.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"name":"rainy_Building_2b_step35_bg0.1_rm1","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/edge_threshold_grid/_edges/rainy/edge_bg0.1_rm1.mp4","control_weight":1.0,"mask_path":null,"mask_prompt":null,"preset_edge_threshold":"medium"},"depth":null,"vis":null,"seg":null,"guided_generation_mask":null,"guided_generation_step_threshold":25,"guided_generation_foreground_labels":null}
edge_threshold_grid/rainy/Building/2b_step35_bg0.1_rm1/rainy_Building_2b_step35_bg0.1_rm1.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1f090a2909c597e034c973e2099eb245abc8c2943c5cc2d80a85fe8a71db41f6
3
+ size 2959859
edge_threshold_grid/rainy/Building/2b_step35_bg0.1_rm1/rainy_Building_2b_step35_bg0.1_rm1.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.
edge_threshold_grid/rainy/Building/2b_step35_bg0.1_rm1/rainy_Building_2b_step35_bg0.1_rm1_control_edge.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5689de03a096a68f31321e1b2204a440dfaf1aa3732f57704ab3ead58223ec3d
3
+ size 1585184
edge_threshold_grid/rainy/Building/2b_step35_bg0.1_rm1/spec.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "rainy_Building_2b_step35_bg0.1_rm1",
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/edge_threshold_grid/_edges/rainy/edge_bg0.1_rm1.mp4",
10
+ "control_weight": 1.0
11
+ },
12
+ "negative_prompt": "The video captures a game playing, with bad crappy graphics and cartoonish frames. It represents a recording of old outdated games. The lighting looks very fake. The textures are very raw and basic. The geometries are very primitive. The images are very pixelated and of poor CG quality. There are many subtitles in the footage. Overall, the video is unrealistic at all. Modern glass towers, plain concrete blocks, melted or warped facades, floating disconnected structures."
13
+ }
edge_threshold_grid/rainy/Building/2b_step35_bg0.5_rm1/config.yaml ADDED
@@ -0,0 +1,882 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ checkpoint:
2
+ broadcast_via_filesystem: 'False'
3
+ dcp_async_mode_enabled: 'False'
4
+ enable_gcs_patch_in_boto3: 'False'
5
+ jit:
6
+ device: cuda
7
+ dtype: bfloat16
8
+ enabled: 'False'
9
+ input_shape: null
10
+ strict: 'True'
11
+ keys_not_to_resume: []
12
+ keys_to_skip_loading: []
13
+ load_ema_to_reg: 'False'
14
+ load_from_object_store:
15
+ bucket: bucket
16
+ credentials: credentials/s3_checkpoint.secret
17
+ enabled: 'True'
18
+ load_path: s3://bucket/cosmos_transfer2/vid2vid_2B_control/edge_720p_t24or1_spaced_layer4_cr1pt1_sdev2_lowsigma0.05_uniform_hqv3p1_20250714_64N_rectified_flow_refimdrop0pt5/checkpoints/iter_000032000
19
+ load_training_state: 'False'
20
+ only_load_scheduler_state: 'False'
21
+ save_iter: '1000'
22
+ save_to_object_store:
23
+ bucket: bucket
24
+ credentials: credentials/s3_checkpoint.secret
25
+ enabled: 'True'
26
+ strict_resume: 'False'
27
+ type:
28
+ _target_: <class 'cosmos_transfer2._src.predict2.checkpointer.dcp.DistributedCheckpointer'>
29
+ callbacks: null
30
+ disable_async: 'False'
31
+ verbose: 'True'
32
+ dataloader_train:
33
+ dataloaders:
34
+ image_data:
35
+ ratio: '0'
36
+ video_data:
37
+ dataloader:
38
+ batch_size: '1'
39
+ cache_augment_fn: functools.partial(<function duplicate_batches_random at
40
+ 0x7f6b79ee7250>, 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
+ 0x7f6b79ee7250>, 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 0x7f6b79ee7370>
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 0x7f6b79ee7910>
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 0x7f6b79ee7370>
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 0x7f6b79ee7d00>
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 0x7f6b7e3c3910>
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 0x7f6b7a0083a0>
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'
edge_threshold_grid/rainy/Building/2b_step35_bg0.5_rm1/console.log ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [06-22 01:40:19|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:297:download] Downloading checkpoint Wan2.1/vae(685afcaa-4de2-42fe-b7b9-69f7a2dee4d8)
2
+ [06-22 01:40:19|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:165:_hf_download] uvx 'hf>=1.3.5' download nvidia/Cosmos-Predict2.5-2B --repo-type model --revision f176dc95b4a70f53ce01c4b302851595e7322b00 tokenizer.pth
3
+ [06-22 01:40:23|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:297:download] Downloading checkpoint Qwen/Qwen2.5-VL-7B-Instruct(7219c6c7-f878-4137-bbdb-76842ea85e70)
4
+ [06-22 01:40:23|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:165:_hf_download] uvx 'hf>=1.3.5' download nvidia/Cosmos-Reason1-7B --repo-type model --revision 3210bec0495fdc7a8d3dbb8d58da5711eab4b423 --include '*'
5
+ [06-22 01:40:24|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:297:download] Downloading checkpoint nvidia/Cosmos-Reason1.1-7B(cb3e3ffa-7b08-4c34-822d-61c7aa31a14f)
6
+ [06-22 01:40:24|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:165:_hf_download] uvx 'hf>=1.3.5' download nvidia/Cosmos-Reason1-7B --repo-type model --revision 3210bec0495fdc7a8d3dbb8d58da5711eab4b423 --include '*'
7
+ [06-22 01:40:28|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:297:download] Downloading checkpoint nvidia/Cosmos-Transfer2.5-2B/general/edge(61f5694b-0ad5-4ecd-8ad7-c8545627d125)
8
+ [06-22 01:40:28|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:165:_hf_download] uvx 'hf>=1.3.5' download nvidia/Cosmos-Transfer2.5-2B --repo-type model --revision b67b64abda3801a9aceddbff2bdb86126c06db74 general/edge/61f5694b-0ad5-4ecd-8ad7-c8545627d125_ema_bf16.pt
9
+ [06-22 01:40:29|INFO|cosmos_transfer2/inference.py:146:__init__] Found 1 hint keys across all samples
10
+ [06-22 01:40:29|INFO|cosmos_transfer2/inference.py:156:__init__] Saved config to /scratch/ssaha/cosmos-transfer2.5/outputs/edge_threshold_grid/rainy/Building/2b_step35_bg0.5_rm1/config.yaml
11
+ [06-22 01:40:29|INFO|cosmos_transfer2/inference.py:163:generate] Generating 1 samples: ['rainy_Building_2b_step35_bg0.5_rm1']
12
+ [06-22 01:40:29|INFO|cosmos_transfer2/inference.py:167:generate] [1/1] Processing sample rainy_Building_2b_step35_bg0.5_rm1
13
+ [06-22 01:40:29|INFO|cosmos_transfer2/inference.py:208:_generate_sample] Saved arguments to /scratch/ssaha/cosmos-transfer2.5/outputs/edge_threshold_grid/rainy/Building/2b_step35_bg0.5_rm1/rainy_Building_2b_step35_bg0.5_rm1.json
14
+ [06-22 01:40:29|WARNING|cosmos_transfer2/inference.py:239:_generate_sample] Guardrail checks on prompt are disabled
15
+ [06-22 01:40:29|INFO|cosmos_transfer2/inference.py:242:_generate_sample] Processing the following paths: {'edge': '/scratch/ssaha/cosmos-transfer2.5/outputs/edge_threshold_grid/_edges/rainy/edge_bg0.5_rm1.mp4', 'edge_mask': None, 'edge_mask_prompt': None}
16
+ [06-22 01:51:05|INFO|cosmos_transfer2/inference.py:311:_generate_sample] edge control video saved to /scratch/ssaha/cosmos-transfer2.5/outputs/edge_threshold_grid/rainy/Building/2b_step35_bg0.5_rm1/rainy_Building_2b_step35_bg0.5_rm1_control_edge.mp4
17
+ [06-22 01:51:05|WARNING|cosmos_transfer2/inference.py:335:_generate_sample] Guardrail checks on video are disabled
18
+ [06-22 01:51:07|SUCCESS|cosmos_transfer2/inference.py:343:_generate_sample] Generated video saved to /scratch/ssaha/cosmos-transfer2.5/outputs/edge_threshold_grid/rainy/Building/2b_step35_bg0.5_rm1/rainy_Building_2b_step35_bg0.5_rm1.mp4
edge_threshold_grid/rainy/Building/2b_step35_bg0.5_rm1/debug.log ADDED
The diff for this file is too large to render. See raw diff
 
edge_threshold_grid/rainy/Building/2b_step35_bg0.5_rm1/rainy_Building_2b_step35_bg0.5_rm1.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"name":"rainy_Building_2b_step35_bg0.5_rm1","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/edge_threshold_grid/_edges/rainy/edge_bg0.5_rm1.mp4","control_weight":1.0,"mask_path":null,"mask_prompt":null,"preset_edge_threshold":"medium"},"depth":null,"vis":null,"seg":null,"guided_generation_mask":null,"guided_generation_step_threshold":25,"guided_generation_foreground_labels":null}
edge_threshold_grid/rainy/Building/2b_step35_bg0.5_rm1/rainy_Building_2b_step35_bg0.5_rm1.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f7394988648ee1a65d750419b0f476caa9ab59ac2fecd6276230360a8aa6e2b5
3
+ size 3266591
edge_threshold_grid/rainy/Building/2b_step35_bg0.5_rm1/rainy_Building_2b_step35_bg0.5_rm1.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.
edge_threshold_grid/rainy/Building/2b_step35_bg0.5_rm1/rainy_Building_2b_step35_bg0.5_rm1_control_edge.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:08253b4d4d44f21313d6885eefa19ba4ba9a28b8fda86604481fcb7cd784756f
3
+ size 1735420
edge_threshold_grid/rainy/Building/2b_step35_bg0.5_rm1/spec.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "rainy_Building_2b_step35_bg0.5_rm1",
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/edge_threshold_grid/_edges/rainy/edge_bg0.5_rm1.mp4",
10
+ "control_weight": 1.0
11
+ },
12
+ "negative_prompt": "The video captures a game playing, with bad crappy graphics and cartoonish frames. It represents a recording of old outdated games. The lighting looks very fake. The textures are very raw and basic. The geometries are very primitive. The images are very pixelated and of poor CG quality. There are many subtitles in the footage. Overall, the video is unrealistic at all. Modern glass towers, plain concrete blocks, melted or warped facades, floating disconnected structures."
13
+ }
edge_threshold_grid/rainy/Building/2b_step35_masked_bg0.1_rm0.5/config.yaml ADDED
@@ -0,0 +1,882 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ checkpoint:
2
+ broadcast_via_filesystem: 'False'
3
+ dcp_async_mode_enabled: 'False'
4
+ enable_gcs_patch_in_boto3: 'False'
5
+ jit:
6
+ device: cuda
7
+ dtype: bfloat16
8
+ enabled: 'False'
9
+ input_shape: null
10
+ strict: 'True'
11
+ keys_not_to_resume: []
12
+ keys_to_skip_loading: []
13
+ load_ema_to_reg: 'False'
14
+ load_from_object_store:
15
+ bucket: bucket
16
+ credentials: credentials/s3_checkpoint.secret
17
+ enabled: 'True'
18
+ load_path: s3://bucket/cosmos_transfer2/vid2vid_2B_control/edge_720p_t24or1_spaced_layer4_cr1pt1_sdev2_lowsigma0.05_uniform_hqv3p1_20250714_64N_rectified_flow_refimdrop0pt5/checkpoints/iter_000032000
19
+ load_training_state: 'False'
20
+ only_load_scheduler_state: 'False'
21
+ save_iter: '1000'
22
+ save_to_object_store:
23
+ bucket: bucket
24
+ credentials: credentials/s3_checkpoint.secret
25
+ enabled: 'True'
26
+ strict_resume: 'False'
27
+ type:
28
+ _target_: <class 'cosmos_transfer2._src.predict2.checkpointer.dcp.DistributedCheckpointer'>
29
+ callbacks: null
30
+ disable_async: 'False'
31
+ verbose: 'True'
32
+ dataloader_train:
33
+ dataloaders:
34
+ image_data:
35
+ ratio: '0'
36
+ video_data:
37
+ dataloader:
38
+ batch_size: '1'
39
+ cache_augment_fn: functools.partial(<function duplicate_batches_random at
40
+ 0x7f7fef5e7370>, 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
+ 0x7f7fef5e7370>, 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 0x7f7fef5e7490>
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 0x7f7fef5e7a30>
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 0x7f7fef5e7490>
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 0x7f7fef5e7e20>
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 0x7f7ff3ad3a30>
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 0x7f7fef6f44c0>
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'
edge_threshold_grid/rainy/Building/2b_step35_masked_bg0.1_rm0.5/console.log ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [06-22 01:53:51|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:297:download] Downloading checkpoint Wan2.1/vae(685afcaa-4de2-42fe-b7b9-69f7a2dee4d8)
2
+ [06-22 01:53:51|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:165:_hf_download] uvx 'hf>=1.3.5' download nvidia/Cosmos-Predict2.5-2B --repo-type model --revision f176dc95b4a70f53ce01c4b302851595e7322b00 tokenizer.pth
3
+ [06-22 01:55:28|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:297:download] Downloading checkpoint Qwen/Qwen2.5-VL-7B-Instruct(7219c6c7-f878-4137-bbdb-76842ea85e70)
4
+ [06-22 01:55:28|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:165:_hf_download] uvx 'hf>=1.3.5' download nvidia/Cosmos-Reason1-7B --repo-type model --revision 3210bec0495fdc7a8d3dbb8d58da5711eab4b423 --include '*'
5
+ [06-22 01:55:29|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:297:download] Downloading checkpoint nvidia/Cosmos-Reason1.1-7B(cb3e3ffa-7b08-4c34-822d-61c7aa31a14f)
6
+ [06-22 01:55:29|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:165:_hf_download] uvx 'hf>=1.3.5' download nvidia/Cosmos-Reason1-7B --repo-type model --revision 3210bec0495fdc7a8d3dbb8d58da5711eab4b423 --include '*'
7
+ [06-22 01:55:33|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:297:download] Downloading checkpoint nvidia/Cosmos-Transfer2.5-2B/general/edge(61f5694b-0ad5-4ecd-8ad7-c8545627d125)
8
+ [06-22 01:55:33|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:165:_hf_download] uvx 'hf>=1.3.5' download nvidia/Cosmos-Transfer2.5-2B --repo-type model --revision b67b64abda3801a9aceddbff2bdb86126c06db74 general/edge/61f5694b-0ad5-4ecd-8ad7-c8545627d125_ema_bf16.pt
9
+ [06-22 01:55:34|INFO|cosmos_transfer2/inference.py:146:__init__] Found 1 hint keys across all samples
10
+ [06-22 01:55:34|INFO|cosmos_transfer2/inference.py:156:__init__] Saved config to /scratch/ssaha/cosmos-transfer2.5/outputs/edge_threshold_grid/rainy/Building/2b_step35_masked_bg0.1_rm0.5/config.yaml
11
+ [06-22 01:55:34|INFO|cosmos_transfer2/inference.py:163:generate] Generating 1 samples: ['rainy_Building_2b_step35_masked_bg0.1_rm0.5']
12
+ [06-22 01:55:34|INFO|cosmos_transfer2/inference.py:167:generate] [1/1] Processing sample rainy_Building_2b_step35_masked_bg0.1_rm0.5
13
+ [06-22 01:55:34|INFO|cosmos_transfer2/inference.py:208:_generate_sample] Saved arguments to /scratch/ssaha/cosmos-transfer2.5/outputs/edge_threshold_grid/rainy/Building/2b_step35_masked_bg0.1_rm0.5/rainy_Building_2b_step35_masked_bg0.1_rm0.5.json
14
+ [06-22 01:55:34|WARNING|cosmos_transfer2/inference.py:239:_generate_sample] Guardrail checks on prompt are disabled
15
+ [06-22 01:55:34|INFO|cosmos_transfer2/inference.py:242:_generate_sample] Processing the following paths: {'edge': '/scratch/ssaha/cosmos-transfer2.5/outputs/edge_threshold_grid/_edges/rainy/edge_bg0.1_rm0.5.mp4', 'edge_mask': '/scratch/ssaha/cosmos-transfer2.5/outputs/edge_threshold_grid/_masks/rainy/Building_mask.mp4', 'edge_mask_prompt': None}
16
+ [06-22 02:06:06|INFO|cosmos_transfer2/inference.py:311:_generate_sample] edge control video saved to /scratch/ssaha/cosmos-transfer2.5/outputs/edge_threshold_grid/rainy/Building/2b_step35_masked_bg0.1_rm0.5/rainy_Building_2b_step35_masked_bg0.1_rm0.5_control_edge.mp4
17
+ [06-22 02:06:06|WARNING|cosmos_transfer2/inference.py:335:_generate_sample] Guardrail checks on video are disabled
18
+ [06-22 02:06:08|SUCCESS|cosmos_transfer2/inference.py:343:_generate_sample] Generated video saved to /scratch/ssaha/cosmos-transfer2.5/outputs/edge_threshold_grid/rainy/Building/2b_step35_masked_bg0.1_rm0.5/rainy_Building_2b_step35_masked_bg0.1_rm0.5.mp4
edge_threshold_grid/rainy/Building/2b_step35_masked_bg0.1_rm0.5/debug.log ADDED
The diff for this file is too large to render. See raw diff
 
edge_threshold_grid/rainy/Building/2b_step35_masked_bg0.1_rm0.5/rainy_Building_2b_step35_masked_bg0.1_rm0.5.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"name":"rainy_Building_2b_step35_masked_bg0.1_rm0.5","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/edge_threshold_grid/_edges/rainy/edge_bg0.1_rm0.5.mp4","control_weight":1.0,"mask_path":"/scratch/ssaha/cosmos-transfer2.5/outputs/edge_threshold_grid/_masks/rainy/Building_mask.mp4","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}
edge_threshold_grid/rainy/Building/2b_step35_masked_bg0.1_rm0.5/rainy_Building_2b_step35_masked_bg0.1_rm0.5.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cbc0b360e7121c9603caa0581f2f5e4fcd8455a47d88d3cccc82ab27887acf30
3
+ size 1890501
edge_threshold_grid/rainy/Building/2b_step35_masked_bg0.1_rm0.5/rainy_Building_2b_step35_masked_bg0.1_rm0.5.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.
edge_threshold_grid/rainy/Building/2b_step35_masked_bg0.1_rm0.5/rainy_Building_2b_step35_masked_bg0.1_rm0.5_control_edge.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:443ce4eea89df366b0029d9d3f3dc666f6863d802e1ac2d9a52b5d5bc9d723a6
3
+ size 738646
edge_threshold_grid/rainy/Building/2b_step35_masked_bg0.1_rm0.5/spec.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "rainy_Building_2b_step35_masked_bg0.1_rm0.5",
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/edge_threshold_grid/_edges/rainy/edge_bg0.1_rm0.5.mp4",
10
+ "control_weight": 1.0,
11
+ "mask_path": "/scratch/ssaha/cosmos-transfer2.5/outputs/edge_threshold_grid/_masks/rainy/Building_mask.mp4"
12
+ },
13
+ "negative_prompt": "The video captures a game playing, with bad crappy graphics and cartoonish frames. It represents a recording of old outdated games. The lighting looks very fake. The textures are very raw and basic. The geometries are very primitive. The images are very pixelated and of poor CG quality. There are many subtitles in the footage. Overall, the video is unrealistic at all. Modern glass towers, plain concrete blocks, melted or warped facades, floating disconnected structures."
14
+ }
edge_threshold_grid/rainy/Building/2b_step35_masked_bg0.1_rm1/config.yaml ADDED
@@ -0,0 +1,882 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ checkpoint:
2
+ broadcast_via_filesystem: 'False'
3
+ dcp_async_mode_enabled: 'False'
4
+ enable_gcs_patch_in_boto3: 'False'
5
+ jit:
6
+ device: cuda
7
+ dtype: bfloat16
8
+ enabled: 'False'
9
+ input_shape: null
10
+ strict: 'True'
11
+ keys_not_to_resume: []
12
+ keys_to_skip_loading: []
13
+ load_ema_to_reg: 'False'
14
+ load_from_object_store:
15
+ bucket: bucket
16
+ credentials: credentials/s3_checkpoint.secret
17
+ enabled: 'True'
18
+ load_path: s3://bucket/cosmos_transfer2/vid2vid_2B_control/edge_720p_t24or1_spaced_layer4_cr1pt1_sdev2_lowsigma0.05_uniform_hqv3p1_20250714_64N_rectified_flow_refimdrop0pt5/checkpoints/iter_000032000
19
+ load_training_state: 'False'
20
+ only_load_scheduler_state: 'False'
21
+ save_iter: '1000'
22
+ save_to_object_store:
23
+ bucket: bucket
24
+ credentials: credentials/s3_checkpoint.secret
25
+ enabled: 'True'
26
+ strict_resume: 'False'
27
+ type:
28
+ _target_: <class 'cosmos_transfer2._src.predict2.checkpointer.dcp.DistributedCheckpointer'>
29
+ callbacks: null
30
+ disable_async: 'False'
31
+ verbose: 'True'
32
+ dataloader_train:
33
+ dataloaders:
34
+ image_data:
35
+ ratio: '0'
36
+ video_data:
37
+ dataloader:
38
+ batch_size: '1'
39
+ cache_augment_fn: functools.partial(<function duplicate_batches_random at
40
+ 0x7fe1608572e0>, 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
+ 0x7fe1608572e0>, 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 0x7fe160857400>
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 0x7fe1608579a0>
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 0x7fe160857400>
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 0x7fe160857d90>
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 0x7fe164f439a0>
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 0x7fe160958430>
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'
edge_threshold_grid/rainy/Building/2b_step35_masked_bg0.1_rm1/console.log ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [06-22 02:06:25|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:297:download] Downloading checkpoint Wan2.1/vae(685afcaa-4de2-42fe-b7b9-69f7a2dee4d8)
2
+ [06-22 02:06:25|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:165:_hf_download] uvx 'hf>=1.3.5' download nvidia/Cosmos-Predict2.5-2B --repo-type model --revision f176dc95b4a70f53ce01c4b302851595e7322b00 tokenizer.pth
3
+ [06-22 02:08:04|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:297:download] Downloading checkpoint Qwen/Qwen2.5-VL-7B-Instruct(7219c6c7-f878-4137-bbdb-76842ea85e70)
4
+ [06-22 02:08:04|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:165:_hf_download] uvx 'hf>=1.3.5' download nvidia/Cosmos-Reason1-7B --repo-type model --revision 3210bec0495fdc7a8d3dbb8d58da5711eab4b423 --include '*'
5
+ [06-22 02:08:05|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:297:download] Downloading checkpoint nvidia/Cosmos-Reason1.1-7B(cb3e3ffa-7b08-4c34-822d-61c7aa31a14f)
6
+ [06-22 02:08:05|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:165:_hf_download] uvx 'hf>=1.3.5' download nvidia/Cosmos-Reason1-7B --repo-type model --revision 3210bec0495fdc7a8d3dbb8d58da5711eab4b423 --include '*'
7
+ [06-22 02:08:13|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:297:download] Downloading checkpoint nvidia/Cosmos-Transfer2.5-2B/general/edge(61f5694b-0ad5-4ecd-8ad7-c8545627d125)
8
+ [06-22 02:08:13|INFO|cosmos_transfer2/_src/imaginaire/utils/checkpoint_db.py:165:_hf_download] uvx 'hf>=1.3.5' download nvidia/Cosmos-Transfer2.5-2B --repo-type model --revision b67b64abda3801a9aceddbff2bdb86126c06db74 general/edge/61f5694b-0ad5-4ecd-8ad7-c8545627d125_ema_bf16.pt
9
+ [06-22 02:08:15|INFO|cosmos_transfer2/inference.py:146:__init__] Found 1 hint keys across all samples
10
+ [06-22 02:08:15|INFO|cosmos_transfer2/inference.py:156:__init__] Saved config to /scratch/ssaha/cosmos-transfer2.5/outputs/edge_threshold_grid/rainy/Building/2b_step35_masked_bg0.1_rm1/config.yaml
11
+ [06-22 02:08:15|INFO|cosmos_transfer2/inference.py:163:generate] Generating 1 samples: ['rainy_Building_2b_step35_masked_bg0.1_rm1']
12
+ [06-22 02:08:15|INFO|cosmos_transfer2/inference.py:167:generate] [1/1] Processing sample rainy_Building_2b_step35_masked_bg0.1_rm1
13
+ [06-22 02:08:15|INFO|cosmos_transfer2/inference.py:208:_generate_sample] Saved arguments to /scratch/ssaha/cosmos-transfer2.5/outputs/edge_threshold_grid/rainy/Building/2b_step35_masked_bg0.1_rm1/rainy_Building_2b_step35_masked_bg0.1_rm1.json
14
+ [06-22 02:08:15|WARNING|cosmos_transfer2/inference.py:239:_generate_sample] Guardrail checks on prompt are disabled
15
+ [06-22 02:08:15|INFO|cosmos_transfer2/inference.py:242:_generate_sample] Processing the following paths: {'edge': '/scratch/ssaha/cosmos-transfer2.5/outputs/edge_threshold_grid/_edges/rainy/edge_bg0.1_rm1.mp4', 'edge_mask': '/scratch/ssaha/cosmos-transfer2.5/outputs/edge_threshold_grid/_masks/rainy/Building_mask.mp4', 'edge_mask_prompt': None}
16
+ [06-22 02:18:57|INFO|cosmos_transfer2/inference.py:311:_generate_sample] edge control video saved to /scratch/ssaha/cosmos-transfer2.5/outputs/edge_threshold_grid/rainy/Building/2b_step35_masked_bg0.1_rm1/rainy_Building_2b_step35_masked_bg0.1_rm1_control_edge.mp4
17
+ [06-22 02:18:57|WARNING|cosmos_transfer2/inference.py:335:_generate_sample] Guardrail checks on video are disabled
18
+ [06-22 02:18:59|SUCCESS|cosmos_transfer2/inference.py:343:_generate_sample] Generated video saved to /scratch/ssaha/cosmos-transfer2.5/outputs/edge_threshold_grid/rainy/Building/2b_step35_masked_bg0.1_rm1/rainy_Building_2b_step35_masked_bg0.1_rm1.mp4
edge_threshold_grid/rainy/Building/2b_step35_masked_bg0.1_rm1/debug.log ADDED
The diff for this file is too large to render. See raw diff
 
edge_threshold_grid/rainy/Building/2b_step35_masked_bg0.1_rm1/rainy_Building_2b_step35_masked_bg0.1_rm1.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"name":"rainy_Building_2b_step35_masked_bg0.1_rm1","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/edge_threshold_grid/_edges/rainy/edge_bg0.1_rm1.mp4","control_weight":1.0,"mask_path":"/scratch/ssaha/cosmos-transfer2.5/outputs/edge_threshold_grid/_masks/rainy/Building_mask.mp4","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}
edge_threshold_grid/rainy/Building/2b_step35_masked_bg0.1_rm1/rainy_Building_2b_step35_masked_bg0.1_rm1.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:29aa6aa619b2aa55f2b5bddbac685437206efc6aa983ab5dcadbe95b75b30307
3
+ size 1647785
edge_threshold_grid/rainy/Building/2b_step35_masked_bg0.1_rm1/rainy_Building_2b_step35_masked_bg0.1_rm1.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.
edge_threshold_grid/rainy/Building/2b_step35_masked_bg0.1_rm1/rainy_Building_2b_step35_masked_bg0.1_rm1_control_edge.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1df186a7561c7f7ea389a13b86d2c92d140febb2bdc7445f430dde7568973ce1
3
+ size 891463
edge_threshold_grid/rainy/Building/2b_step35_masked_bg0.1_rm1/spec.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "rainy_Building_2b_step35_masked_bg0.1_rm1",
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/edge_threshold_grid/_edges/rainy/edge_bg0.1_rm1.mp4",
10
+ "control_weight": 1.0,
11
+ "mask_path": "/scratch/ssaha/cosmos-transfer2.5/outputs/edge_threshold_grid/_masks/rainy/Building_mask.mp4"
12
+ },
13
+ "negative_prompt": "The video captures a game playing, with bad crappy graphics and cartoonish frames. It represents a recording of old outdated games. The lighting looks very fake. The textures are very raw and basic. The geometries are very primitive. The images are very pixelated and of poor CG quality. There are many subtitles in the footage. Overall, the video is unrealistic at all. Modern glass towers, plain concrete blocks, melted or warped facades, floating disconnected structures."
14
+ }