Upload folder using huggingface_hub
Browse files
action_decoder/chain/w2a_so101_task1_slow_100ep_lora32_iter2500_75m_2gpu/config.pkl
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cd1aa9cd4b26feaceb1541c9fbea6a9d437a02e66a17c13ca84cce01df4bea94
|
| 3 |
+
size 77071
|
action_decoder/chain/w2a_so101_task1_slow_100ep_lora32_iter2500_75m_2gpu/config.yaml
CHANGED
|
@@ -20,7 +20,7 @@ checkpoint:
|
|
| 20 |
callbacks: null
|
| 21 |
verbose: 'True'
|
| 22 |
data_config:
|
| 23 |
-
_target_: <function get_data_config at
|
| 24 |
config_name: so101_lerobot
|
| 25 |
dataloader_train:
|
| 26 |
_target_: <class 'torch.utils.data.dataloader.DataLoader'>
|
|
@@ -56,11 +56,11 @@ dataloader_train:
|
|
| 56 |
generator: null
|
| 57 |
in_order: 'True'
|
| 58 |
multiprocessing_context: null
|
| 59 |
-
num_workers: '
|
| 60 |
-
persistent_workers: '
|
| 61 |
pin_memory: 'True'
|
| 62 |
pin_memory_device: ''
|
| 63 |
-
prefetch_factor:
|
| 64 |
sampler:
|
| 65 |
_target_: <class 'cosmos_predict2.data.resumable_sampler.ResumableDistributedSampler'>
|
| 66 |
dataset:
|
|
@@ -78,7 +78,7 @@ dataloader_train:
|
|
| 78 |
lowdim_target_fps: '30.0'
|
| 79 |
num_val_episodes: '1'
|
| 80 |
obs_image_horizon: '5'
|
| 81 |
-
repo_id: push-that-thing/
|
| 82 |
root: null
|
| 83 |
seed: '42'
|
| 84 |
state_key: observation.state
|
|
@@ -86,14 +86,14 @@ dataloader_train:
|
|
| 86 |
target_fps: '5.0'
|
| 87 |
tolerance_s: '0.04'
|
| 88 |
train: 'True'
|
| 89 |
-
val_ratio:
|
| 90 |
video_backend: pyav
|
| 91 |
num_replicas:
|
| 92 |
-
_target_: <function get_data_parallel_world_size at
|
| 93 |
partial_data_parallel: 'False'
|
| 94 |
with_context_parallel: 'False'
|
| 95 |
rank:
|
| 96 |
-
_target_: <function get_data_parallel_rank at
|
| 97 |
partial_data_parallel: 'False'
|
| 98 |
with_context_parallel: 'False'
|
| 99 |
seed: '0'
|
|
@@ -157,7 +157,7 @@ dataloader_val:
|
|
| 157 |
lowdim_target_fps: '30.0'
|
| 158 |
num_val_episodes: '1'
|
| 159 |
obs_image_horizon: '5'
|
| 160 |
-
repo_id: push-that-thing/
|
| 161 |
root: null
|
| 162 |
seed: '42'
|
| 163 |
state_key: observation.state
|
|
@@ -165,14 +165,14 @@ dataloader_val:
|
|
| 165 |
target_fps: '5.0'
|
| 166 |
tolerance_s: '0.04'
|
| 167 |
train: 'False'
|
| 168 |
-
val_ratio:
|
| 169 |
video_backend: pyav
|
| 170 |
num_replicas:
|
| 171 |
-
_target_: <function get_data_parallel_world_size at
|
| 172 |
partial_data_parallel: 'False'
|
| 173 |
with_context_parallel: 'False'
|
| 174 |
rank:
|
| 175 |
-
_target_: <function get_data_parallel_rank at
|
| 176 |
partial_data_parallel: 'False'
|
| 177 |
with_context_parallel: 'False'
|
| 178 |
seed: '0'
|
|
@@ -208,7 +208,7 @@ model:
|
|
| 208 |
_target_: cosmos_predict2.models.world2action_model.World2ActionModelConfig
|
| 209 |
action_dit_path: ''
|
| 210 |
data_config:
|
| 211 |
-
_target_: <function get_data_config at
|
| 212 |
config_name: so101_lerobot
|
| 213 |
ema:
|
| 214 |
enabled: false
|
|
@@ -414,7 +414,7 @@ model_parallel:
|
|
| 414 |
virtual_pipeline_model_parallel_size: null
|
| 415 |
wgrad_deferral_limit: 0
|
| 416 |
optimizer:
|
| 417 |
-
_target_: <function get_base_optimizer at
|
| 418 |
betas:
|
| 419 |
- '0.9'
|
| 420 |
- '0.99'
|
|
|
|
| 20 |
callbacks: null
|
| 21 |
verbose: 'True'
|
| 22 |
data_config:
|
| 23 |
+
_target_: <function get_data_config at 0x7bc16c762950>
|
| 24 |
config_name: so101_lerobot
|
| 25 |
dataloader_train:
|
| 26 |
_target_: <class 'torch.utils.data.dataloader.DataLoader'>
|
|
|
|
| 56 |
generator: null
|
| 57 |
in_order: 'True'
|
| 58 |
multiprocessing_context: null
|
| 59 |
+
num_workers: '8'
|
| 60 |
+
persistent_workers: 'True'
|
| 61 |
pin_memory: 'True'
|
| 62 |
pin_memory_device: ''
|
| 63 |
+
prefetch_factor: '8'
|
| 64 |
sampler:
|
| 65 |
_target_: <class 'cosmos_predict2.data.resumable_sampler.ResumableDistributedSampler'>
|
| 66 |
dataset:
|
|
|
|
| 78 |
lowdim_target_fps: '30.0'
|
| 79 |
num_val_episodes: '1'
|
| 80 |
obs_image_horizon: '5'
|
| 81 |
+
repo_id: push-that-thing/task_1_slow
|
| 82 |
root: null
|
| 83 |
seed: '42'
|
| 84 |
state_key: observation.state
|
|
|
|
| 86 |
target_fps: '5.0'
|
| 87 |
tolerance_s: '0.04'
|
| 88 |
train: 'True'
|
| 89 |
+
val_ratio: '0.05'
|
| 90 |
video_backend: pyav
|
| 91 |
num_replicas:
|
| 92 |
+
_target_: <function get_data_parallel_world_size at 0x7bc3d3399120>
|
| 93 |
partial_data_parallel: 'False'
|
| 94 |
with_context_parallel: 'False'
|
| 95 |
rank:
|
| 96 |
+
_target_: <function get_data_parallel_rank at 0x7bc3d3399240>
|
| 97 |
partial_data_parallel: 'False'
|
| 98 |
with_context_parallel: 'False'
|
| 99 |
seed: '0'
|
|
|
|
| 157 |
lowdim_target_fps: '30.0'
|
| 158 |
num_val_episodes: '1'
|
| 159 |
obs_image_horizon: '5'
|
| 160 |
+
repo_id: push-that-thing/task_1_slow
|
| 161 |
root: null
|
| 162 |
seed: '42'
|
| 163 |
state_key: observation.state
|
|
|
|
| 165 |
target_fps: '5.0'
|
| 166 |
tolerance_s: '0.04'
|
| 167 |
train: 'False'
|
| 168 |
+
val_ratio: '0.05'
|
| 169 |
video_backend: pyav
|
| 170 |
num_replicas:
|
| 171 |
+
_target_: <function get_data_parallel_world_size at 0x7bc3d3399120>
|
| 172 |
partial_data_parallel: 'False'
|
| 173 |
with_context_parallel: 'False'
|
| 174 |
rank:
|
| 175 |
+
_target_: <function get_data_parallel_rank at 0x7bc3d3399240>
|
| 176 |
partial_data_parallel: 'False'
|
| 177 |
with_context_parallel: 'False'
|
| 178 |
seed: '0'
|
|
|
|
| 208 |
_target_: cosmos_predict2.models.world2action_model.World2ActionModelConfig
|
| 209 |
action_dit_path: ''
|
| 210 |
data_config:
|
| 211 |
+
_target_: <function get_data_config at 0x7bc16c762950>
|
| 212 |
config_name: so101_lerobot
|
| 213 |
ema:
|
| 214 |
enabled: false
|
|
|
|
| 414 |
virtual_pipeline_model_parallel_size: null
|
| 415 |
wgrad_deferral_limit: 0
|
| 416 |
optimizer:
|
| 417 |
+
_target_: <function get_base_optimizer at 0x7bc1561775b0>
|
| 418 |
betas:
|
| 419 |
- '0.9'
|
| 420 |
- '0.99'
|
action_decoder/chain/w2a_so101_task1_slow_100ep_lora32_iter2500_75m_2gpu/stdout.log
CHANGED
|
@@ -289,3 +289,199 @@
|
|
| 289 |
[05-20 11:51:53|INFO|imaginaire/trainer.py:388:validate] Validating at iteration 0...
|
| 290 |
[05-20 11:52:36|INFO|imaginaire/trainer.py:193:train] Initial validation done.
|
| 291 |
[05-20 11:52:38|WARNING|imaginaire/utils/distributed.py:284:ddp_sync_grad] DDP static_graph=True is incompatible with sync_grad(). Performance will be reduced.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 289 |
[05-20 11:51:53|INFO|imaginaire/trainer.py:388:validate] Validating at iteration 0...
|
| 290 |
[05-20 11:52:36|INFO|imaginaire/trainer.py:193:train] Initial validation done.
|
| 291 |
[05-20 11:52:38|WARNING|imaginaire/utils/distributed.py:284:ddp_sync_grad] DDP static_graph=True is incompatible with sync_grad(). Performance will be reduced.
|
| 292 |
+
[05-20 11:53:51|INFO|imaginaire/trainer.py:116:__init__] Config:
|
| 293 |
+
* model: {'config': {'validation_mode': 'loss_only', 'train_architecture': 'base', 'lora_rank': 16, 'lora_alpha': 16, 'lora_target_modules': 'q_proj,k_proj,v_proj,output_proj,mlp.layer1,mlp.layer2', 'init_lora_weights': True, 'precision': 'bfloat16', 'loss_reduce': 'mean', 'loss_scale': 10.0, 'ema': {'enabled': False, 'rate': 0.1, 'iteration_shift': 0}, 'action_dit_path': '', 'video_dit_path': '/home/shadeform/pdt-mimic/mimic-video/model/checkpoints/video_backbone/v2w_push_combined_lora_rank32_lr1.778e-04_bsz32_iter_000002500_fused.pt', 'pipe_config': {'precision': 'bfloat16', 'scheduler': {'alpha': 1.0, 'beta': 1.0, 'num_denoising_steps': 10}, 'net': {'max_horizon': 91, 'in_channels': 6, 'out_channels': 6, 'model_channels': 512, 'num_blocks': 12, 'num_heads': 8, 'mlp_ratio': 4.0, 'atten_backend': 'flash_attn_no_cp', 'crossattn_emb_channels': 2048, 'use_adaln_lora': True, 'adaln_lora_dim': 128, 'pair_timestep_feature_rank': 512, 'sac_config': {'mode': 'none', 'every_n_blocks': 1}, '_target_': <class 'cosmos_predict2.models.world2action_dit.World2ActionDIT'>}, 'ema': {'enabled': False, 'rate': 0.1, 'iteration_shift': 0}, '_target_': 'cosmos_predict2.configs.config_world2action.World2ActionPipelineConfig', 'xattn_layer_idx': 20}, 'video_pipe_config': {'adjust_video_noise': True, 'conditioner': {'fps': {'output_key': 'fps', 'dropout_rate': 0.0, 'dtype': None, 'input_key': 'fps', '_target_': <class 'cosmos_predict2.conditioner.ReMapkey'>}, 'padding_mask': {'output_key': 'padding_mask', 'dropout_rate': 0.0, 'dtype': None, 'input_key': 'padding_mask', '_target_': <class 'cosmos_predict2.conditioner.ReMapkey'>}, 'text': {'dropout_rate': 0.0, 'input_key': ['obs/language_embedding'], '_target_': <class 'cosmos_predict2.conditioner.TextAttr'>}, 'use_video_condition': {'output_key': 'use_video_condition', 'dropout_rate': 0.0, 'input_key': 'fps', '_target_': <class 'cosmos_predict2.conditioner.BooleanFlag'>}, '_target_': <class 'cosmos_predict2.conditioner.VideoConditioner'>}, 'conditioning_strategy': 'frame_replace', 'min_num_conditional_frames': 1, 'max_num_conditional_frames': 2, 'sigma_conditional': 0.0001, 'net': {'max_img_h': 240, 'max_img_w': 240, 'max_frames': 128, 'in_channels': 16, 'out_channels': 16, 'patch_spatial': 2, 'patch_temporal': 1, 'concat_padding_mask': True, 'model_channels': 2048, 'num_blocks': 28, 'num_heads': 16, 'atten_backend': 'minimal_a2a', 'pos_emb_cls': 'rope3d', 'pos_emb_learnable': True, 'pos_emb_interpolation': 'crop', 'use_adaln_lora': True, 'adaln_lora_dim': 256, 'rope_h_extrapolation_ratio': 3.0, 'rope_w_extrapolation_ratio': 3.0, 'rope_t_extrapolation_ratio': 1.0, 'extra_per_block_abs_pos_emb': False, 'rope_enable_fps_modulation': False, 'sac_config': {'mode': 'predict2_2b_720', 'every_n_blocks': 1, '_target_': 'cosmos_predict2.models.text2image_dit.SACConfig'}, '_target_': <class 'cosmos_predict2.models.video2world_dit.MinimalV1LVGDiT'>}, 'tokenizer': {'chunk_duration': 81, 'load_mean_std': False, 'temporal_window': 16, 'name': 'tokenizer', 'vae_pth': '/home/shadeform/pdt-mimic/mimic-video/model/checkpoints/video_backbone//tokenizer/tokenizer.pth', '_target_': <class 'cosmos_predict2.tokenizers.tokenizer.TokenizerInterface'>}, 'guardrail_config': {'checkpoint_dir': '/home/shadeform/pdt-mimic/mimic-video/model/checkpoints', 'offload_model_to_cpu': True, 'enabled': False}, 'precision': 'bfloat16', 'rectified_flow_t_scaling_factor': 1.0, 'rectified_flow_loss_weight_uniform': True, 'resize_online': False, 'resolution': '480', 'ema': {'enabled': False, 'rate': 0.1, 'iteration_shift': 0, '_target_': 'cosmos_predict2.configs.defaults.ema.EMAConfig'}, 'sigma_data': 1.0, 'state_ch': 16, 'state_t': 16, 'text_encoder': {'cls': <TextEncoderClass.T5: 't5'>, 't5': {'ckpt_path': '/home/shadeform/pdt-mimic/mimic-video/model/checkpoints/text_encoder/t5-11b', 'num_tokens': 512, 'embed_dim': 1024}}, 'input_video_key': 'video', 'input_image_key': 'images', 'timestamps': {'nfe': 35, 't_min': 0.002, 't_max': 80.0, 'order': 7.0, 'is_forward': False}}, 'fsdp_shard_size': 0, 'data_config': {'config_name': 'so101_lerobot', '_target_': <function get_data_config at 0x72d7c0362a70>}, '_target_': 'cosmos_predict2.models.world2action_model.World2ActionModelConfig'}, '_target_': <class 'cosmos_predict2.models.world2action_model.World2ActionModel'>}
|
| 294 |
+
* world2action_pipe: {'precision': 'bfloat16', 'scheduler': {'alpha': 1.0, 'beta': 1.0, 'num_denoising_steps': 10}, 'net': {'max_horizon': 91, 'in_channels': 6, 'out_channels': 6, 'model_channels': 512, 'num_blocks': 12, 'num_heads': 8, 'mlp_ratio': 4.0, 'atten_backend': 'flash_attn_no_cp', 'crossattn_emb_channels': 2048, 'use_adaln_lora': True, 'adaln_lora_dim': 128, 'pair_timestep_feature_rank': 512, 'sac_config': {'mode': 'none', 'every_n_blocks': 1}, '_target_': <class 'cosmos_predict2.models.world2action_dit.World2ActionDIT'>}, 'ema': {'enabled': False, 'rate': 0.1, 'iteration_shift': 0}, '_target_': 'cosmos_predict2.configs.config_world2action.World2ActionPipelineConfig'}
|
| 295 |
+
* optimizer: {'optim_type': 'fusedadam', 'model': None, 'lr': 9.999999999999999e-05, 'weight_decay': 0.1, 'betas': [0.9, 0.99], 'eps': 1e-08, 'master_weights': True, 'capturable': True, '_target_': <function get_base_optimizer at 0x72d7a9d6f640>}
|
| 296 |
+
* scheduler: {'verbosity_interval': 0, 'warm_up_steps': [1000], 'cycle_lengths': [500000], 'f_start': [1e-06], 'f_max': [1], 'f_min': [0.2], '_target_': <class 'cosmos_predict2.functional.lr_scheduler.LambdaLinearScheduler'>}
|
| 297 |
+
* data_config: {'config_name': 'so101_lerobot', '_target_': <function get_data_config at 0x72d7c0362a70>}
|
| 298 |
+
* video_dataset_train: None
|
| 299 |
+
* video_dataset_val: None
|
| 300 |
+
* dataloader_train: {'batch_size': 2, 'shuffle': None, 'sampler': {'seed': 0, 'dataset': {'root': None, 'image_key': 'observation.images.front', 'state_key': 'observation.state', 'action_key': 'action', 'obs_image_horizon': 5, 'action_image_horizon': 56, 'action_lowdim_horizon': 90, 'target_fps': 5.0, 'lowdim_target_fps': 30.0, 'action_shift_s': 0.2, 'image_resize': [480, 640], 'language_embeddings_path': None, 't5_encoder_ckpt': None, 'num_val_episodes': 1, 'val_ratio': None, 'seed': 42, 'train': True, 'cache_dir': None, 'video_backend': 'pyav', 'tolerance_s': 0.04, 'repo_id': 'push-that-thing/task_1', '_target_': <class 'cosmos_predict2.data.action.dataset_lerobot.LeRobotDataset'>}, 'num_replicas': {'with_context_parallel': False, 'partial_data_parallel': False, '_target_': <function get_data_parallel_world_size at 0x72da26e91120>}, 'rank': {'with_context_parallel': False, 'partial_data_parallel': False, '_target_': <function get_data_parallel_rank at 0x72da26e91240>}, 'shuffle': True, '_target_': <class 'cosmos_predict2.data.resumable_sampler.ResumableDistributedSampler'>}, 'batch_sampler': None, 'num_workers': 0, 'collate_fn': None, 'pin_memory': True, 'drop_last': True, 'timeout': 0, 'worker_init_fn': None, 'multiprocessing_context': None, 'generator': None, 'prefetch_factor': None, 'persistent_workers': False, 'pin_memory_device': '', 'in_order': True, 'dataset': {'root': None, 'image_key': 'observation.images.front', 'state_key': 'observation.state', 'action_key': 'action', 'obs_image_horizon': 5, 'action_image_horizon': 56, 'action_lowdim_horizon': 90, 'target_fps': 5.0, 'lowdim_target_fps': 30.0, 'action_shift_s': 0.2, 'image_resize': [480, 640], 'language_embeddings_path': None, 't5_encoder_ckpt': None, 'num_val_episodes': 1, 'val_ratio': 0.05, 'seed': 42, 'train': True, 'cache_dir': None, 'video_backend': 'pyav', 'tolerance_s': 0.04, 'repo_id': 'push-that-thing/task_1_slow', '_target_': <class 'cosmos_predict2.data.action.dataset_lerobot.LeRobotDataset'>}, '_target_': <class 'torch.utils.data.dataloader.DataLoader'>}
|
| 301 |
+
* dataloader_val: {'batch_size': 1, 'shuffle': None, 'sampler': {'seed': 0, 'dataset': {'root': None, 'image_key': 'observation.images.front', 'state_key': 'observation.state', 'action_key': 'action', 'obs_image_horizon': 5, 'action_image_horizon': 56, 'action_lowdim_horizon': 90, 'target_fps': 5.0, 'lowdim_target_fps': 30.0, 'action_shift_s': 0.2, 'image_resize': [480, 640], 'language_embeddings_path': None, 't5_encoder_ckpt': None, 'num_val_episodes': 1, 'val_ratio': None, 'seed': 42, 'train': False, 'cache_dir': None, 'video_backend': 'pyav', 'tolerance_s': 0.04, 'repo_id': 'push-that-thing/task_1', '_target_': <class 'cosmos_predict2.data.action.dataset_lerobot.LeRobotDataset'>}, 'num_replicas': {'with_context_parallel': False, 'partial_data_parallel': False, '_target_': <function get_data_parallel_world_size at 0x72da26e91120>}, 'rank': {'with_context_parallel': False, 'partial_data_parallel': False, '_target_': <function get_data_parallel_rank at 0x72da26e91240>}, 'shuffle': False, '_target_': <class 'cosmos_predict2.data.resumable_sampler.ResumableDistributedSampler'>}, 'batch_sampler': None, 'num_workers': 0, 'collate_fn': None, 'pin_memory': False, 'drop_last': False, 'timeout': 0, 'worker_init_fn': None, 'multiprocessing_context': None, 'generator': None, 'prefetch_factor': None, 'persistent_workers': False, 'pin_memory_device': '', 'in_order': True, 'dataset': {'root': None, 'image_key': 'observation.images.front', 'state_key': 'observation.state', 'action_key': 'action', 'obs_image_horizon': 5, 'action_image_horizon': 56, 'action_lowdim_horizon': 90, 'target_fps': 5.0, 'lowdim_target_fps': 30.0, 'action_shift_s': 0.2, 'image_resize': [480, 640], 'language_embeddings_path': None, 't5_encoder_ckpt': None, 'num_val_episodes': 1, 'val_ratio': 0.05, 'seed': 42, 'train': False, 'cache_dir': None, 'video_backend': 'pyav', 'tolerance_s': 0.04, 'repo_id': 'push-that-thing/task_1_slow', '_target_': <class 'cosmos_predict2.data.action.dataset_lerobot.LeRobotDataset'>}, '_target_': <class 'torch.utils.data.dataloader.DataLoader'>}
|
| 302 |
+
* job:
|
| 303 |
+
* project: vam
|
| 304 |
+
* group: so101
|
| 305 |
+
* name: w2a_so101_task1_slow_100ep_lora32_iter2500_75m_2gpu
|
| 306 |
+
* trainer:
|
| 307 |
+
* type: <class 'imaginaire.trainer.ImaginaireTrainer'>
|
| 308 |
+
* callbacks: {'ema': {'config': None, 'trainer': None, '_target_': <class 'imaginaire.utils.callback.EMAModelCallback'>}, 'progress_bar': {'config': None, 'trainer': None, '_target_': <class 'imaginaire.utils.callback.ProgressBarCallback'>}, 'low_prec': {'config': None, 'trainer': None, 'update_iter': 1, '_target_': <class 'imaginaire.utils.callback.LowPrecisionCallback'>}, 'iter_speed': {'hit_thres': 5, 'every_n': 1000, '_target_': <class 'cosmos_predict2.callbacks.iter_speed.IterSpeed'>}, 'device_monitor': {'every_n': 1000, 'step_size': 1, 'log_memory_detail': True, '_target_': <class 'cosmos_predict2.callbacks.device_monitor.DeviceMonitor'>}, 'manual_gc': {'warm_up': 5, 'every_n': 5, '_target_': <class 'imaginaire.callbacks.manual_gc.ManualGarbageCollection'>}, 'grad_clip': {'clip_norm': 10.0, 'force_finite': True, 'log_wandb': False, '_target_': <class 'cosmos_predict2.callbacks.grad_clip.GradClip'>}, 'wandb': {'mode': None, '_target_': <class 'cosmos_predict2.callbacks.wandb_logger.WandBLogger'>}}
|
| 309 |
+
* distributed_parallelism: ddp
|
| 310 |
+
* ddp:
|
| 311 |
+
* find_unused_parameters: False
|
| 312 |
+
* static_graph: True
|
| 313 |
+
* broadcast_buffers: True
|
| 314 |
+
* cudnn:
|
| 315 |
+
* deterministic: False
|
| 316 |
+
* benchmark: True
|
| 317 |
+
* seed: 0
|
| 318 |
+
* grad_scaler_args: {'enabled': False}
|
| 319 |
+
* max_iter: 8000
|
| 320 |
+
* max_val_iter: 16
|
| 321 |
+
* logging_iter: 1000
|
| 322 |
+
* run_validation: True
|
| 323 |
+
* validation_iter: 100
|
| 324 |
+
* timeout_period: 999999999
|
| 325 |
+
* memory_format: torch.preserve_format
|
| 326 |
+
* grad_accum_iter: 8
|
| 327 |
+
* profiling:
|
| 328 |
+
* enable_profiling: False
|
| 329 |
+
* enable_memory_snapshot: False
|
| 330 |
+
* profile_freq: 1
|
| 331 |
+
* first_n_rank: 4
|
| 332 |
+
* record_shape: True
|
| 333 |
+
* profile_memory: True
|
| 334 |
+
* with_stack: True
|
| 335 |
+
* with_modules: True
|
| 336 |
+
* model_parallel: ModelParallelConfig(tensor_model_parallel_size=1, pipeline_model_parallel_comm_backend=None, pipeline_model_parallel_size=1, virtual_pipeline_model_parallel_size=None, sequence_parallel=False, context_parallel_size=1, hierarchical_context_parallel_sizes=None, expert_model_parallel_size=1, expert_tensor_parallel_size=1, moe_extended_tp=False, perform_initialization=True, use_cpu_initialization=False, fp16=False, bf16=False, params_dtype=torch.float32, timers=None, finalize_model_grads_func=None, grad_scale_func=None, no_sync_func=None, grad_sync_func=None, param_sync_func=None, deterministic_mode=False, enable_autocast=False, autocast_dtype=torch.float32, num_microbatches_with_partial_activation_checkpoints=None, gradient_accumulation_fusion=False, async_tensor_model_parallel_allreduce=False, use_te_rng_tracker=False, tp_comm_overlap=False, tp_comm_bulk_wgrad=True, tp_comm_bulk_dgrad=True, tp_comm_overlap_ag=True, tp_comm_overlap_rs=True, tp_comm_overlap_rs_dgrad=False, tp_comm_split_ag=True, tp_comm_atomic_ag=False, tp_comm_split_rs=True, tp_comm_atomic_rs=False, cross_entropy_loss_fusion=False, cross_entropy_fusion_impl='native', tp_comm_overlap_disable_qkv=False, tp_comm_overlap_disable_fc1=False, tp_comm_bootstrap_backend='nccl', pipeline_dtype=None, variable_seq_lengths=False, overlap_p2p_comm=False, batch_p2p_comm=True, batch_p2p_sync=True, use_ring_exchange_p2p=False, deallocate_pipeline_outputs=False, defer_embedding_wgrad_compute=False, wgrad_deferral_limit=0, pipeline_model_parallel_split_rank=None, overlap_p2p_comm_warmup_flush=False, microbatch_group_size_per_vp_stage=1, cpu_offloading=False, cpu_offloading_num_layers=0, _cpu_offloading_context=None, cpu_offloading_activations=False, cpu_offloading_weights=False, barrier_with_L1_time=True)
|
| 337 |
+
* checkpoint:
|
| 338 |
+
* type: {'callbacks': None, '_target_': <class 'cosmos_predict2.checkpointer.Checkpointer'>}
|
| 339 |
+
* dcp_async_mode_enabled: False
|
| 340 |
+
* save_iter: 100
|
| 341 |
+
* load_path:
|
| 342 |
+
* load_training_state: False
|
| 343 |
+
* only_load_scheduler_state: False
|
| 344 |
+
* strict_resume: True
|
| 345 |
+
* jit:
|
| 346 |
+
* enabled: False
|
| 347 |
+
* input_shape: None
|
| 348 |
+
* device: cuda
|
| 349 |
+
* dtype: bfloat16
|
| 350 |
+
* strict: True
|
| 351 |
+
* verbose: True
|
| 352 |
+
* keys_not_to_resume: []
|
| 353 |
+
* broadcast_via_filesystem: False
|
| 354 |
+
* load_ema_to_reg: False
|
| 355 |
+
* dcp_allow_mismatched_size: False
|
| 356 |
+
* defaults: ['_self_', {'data_config': None}, {'video_dataset_train': None}, {'video_dataset_val': None}, {'dataloader_train': None}, {'dataloader_val': None}, {'world2action_pipe': None}, {'optimizer': 'fusedadamw'}, {'scheduler': 'constant'}, {'model': None}, {'callbacks': ['basic']}, {'net': None}, {'ema': None}, {'checkpoint': None}, {'ckpt_type': None}, {'experiment': None}]
|
| 357 |
+
[05-20 11:53:51|WARNING|imaginaire/utils/misc.py:127:print_environ_variables] Environment variable TORCH_HOME not set!
|
| 358 |
+
[05-20 11:53:51|WARNING|imaginaire/utils/misc.py:127:print_environ_variables] Environment variable IMAGINAIRE_OUTPUT_ROOT not set!
|
| 359 |
+
[05-20 11:53:51|INFO|imaginaire/utils/misc.py:139:set_random_seed] Using random seed 0.
|
| 360 |
+
[05-20 11:53:51|CRITICAL|imaginaire/utils/callback.py:77:__init__] Instantiating callback ema: {'config': None, 'trainer': None, '_target_': <class 'imaginaire.utils.callback.EMAModelCallback'>}
|
| 361 |
+
[05-20 11:53:51|CRITICAL|imaginaire/utils/callback.py:77:__init__] Instantiating callback progress_bar: {'config': None, 'trainer': None, '_target_': <class 'imaginaire.utils.callback.ProgressBarCallback'>}
|
| 362 |
+
[05-20 11:53:51|CRITICAL|imaginaire/utils/callback.py:77:__init__] Instantiating callback low_prec: {'config': None, 'trainer': None, 'update_iter': 1, '_target_': <class 'imaginaire.utils.callback.LowPrecisionCallback'>}
|
| 363 |
+
[05-20 11:53:51|CRITICAL|imaginaire/utils/callback.py:77:__init__] Instantiating callback iter_speed: {'hit_thres': 5, 'every_n': 1000, '_target_': <class 'cosmos_predict2.callbacks.iter_speed.IterSpeed'>}
|
| 364 |
+
[05-20 11:53:51|CRITICAL|imaginaire/utils/callback.py:77:__init__] Instantiating callback device_monitor: {'every_n': 1000, 'step_size': 1, 'log_memory_detail': True, '_target_': <class 'cosmos_predict2.callbacks.device_monitor.DeviceMonitor'>}
|
| 365 |
+
[05-20 11:53:51|CRITICAL|imaginaire/utils/callback.py:77:__init__] Instantiating callback manual_gc: {'warm_up': 5, 'every_n': 5, '_target_': <class 'imaginaire.callbacks.manual_gc.ManualGarbageCollection'>}
|
| 366 |
+
[05-20 11:53:51|CRITICAL|imaginaire/utils/callback.py:77:__init__] Instantiating callback grad_clip: {'clip_norm': 10.0, 'force_finite': True, 'log_wandb': False, '_target_': <class 'cosmos_predict2.callbacks.grad_clip.GradClip'>}
|
| 367 |
+
[05-20 11:53:51|CRITICAL|imaginaire/utils/callback.py:77:__init__] Instantiating callback wandb: {'mode': None, '_target_': <class 'cosmos_predict2.callbacks.wandb_logger.WandBLogger'>}
|
| 368 |
+
[05-20 11:53:55|CRITICAL|cosmos_predict2/models/world2action_model.py:106:__init__] Using mean loss reduce with loss scale 10.0
|
| 369 |
+
[05-20 11:53:55|WARNING|cosmos_predict2/pipelines/world2action.py:71:from_config] precision torch.bfloat16
|
| 370 |
+
[05-20 11:53:55|WARNING|cosmos_predict2/pipelines/world2action.py:101:from_config] dit_path not provided, initializing DiT with random weights
|
| 371 |
+
[05-20 11:53:55|WARNING|cosmos_predict2/pipelines/video2world.py:277:from_config] precision torch.bfloat16
|
| 372 |
+
[05-20 11:53:56|INFO|cosmos_predict2/tokenizers/tokenizer.py:687:_video_vae] Loading /home/shadeform/pdt-mimic/mimic-video/model/checkpoints/video_backbone//tokenizer/tokenizer.pth
|
| 373 |
+
[05-20 11:53:56|SUCCESS|cosmos_predict2/tokenizers/tokenizer.py:689:_video_vae] Successfully loaded /home/shadeform/pdt-mimic/mimic-video/model/checkpoints/video_backbone//tokenizer/tokenizer.pth
|
| 374 |
+
[05-20 11:53:56|INFO|imaginaire/utils/distributed.py:430:sync_model_states] Synchronizing model states from rank 0 to all ranks in process group [0, 1].
|
| 375 |
+
[05-20 11:53:56|INFO|cosmos_predict2/pipelines/video2world.py:335:from_config] Loading DiT from /home/shadeform/pdt-mimic/mimic-video/model/checkpoints/video_backbone/v2w_push_combined_lora_rank32_lr1.778e-04_bsz32_iter_000002500_fused.pt
|
| 376 |
+
[05-20 11:54:02|SUCCESS|cosmos_predict2/pipelines/video2world.py:354:from_config] Successfully loaded DiT from /home/shadeform/pdt-mimic/mimic-video/model/checkpoints/video_backbone/v2w_push_combined_lora_rank32_lr1.778e-04_bsz32_iter_000002500_fused.pt
|
| 377 |
+
[05-20 11:54:02|INFO|cosmos_predict2/models/world2action_model.py:148:__init__] Total parameters: 2.04B, Frozen parameters: 1,956,413,440, Trainable parameters: 80,859,000
|
| 378 |
+
[05-20 11:54:02|INFO|cosmos_predict2/models/world2action_model.py:167:__init__] FSDP (Fully Sharded Data Parallel) is disabled.
|
| 379 |
+
[05-20 11:54:03|CRITICAL|cosmos_predict2/utils/optim_instantiate_dtensor.py:49:get_base_optimizer] total num parameters : 80,859,000
|
| 380 |
+
[05-20 11:54:03|WARNING|cosmos_predict2/utils/fused_adam_dtensor.py:103:__init__] FusedAdam master_weights: True capturable: True
|
| 381 |
+
[05-20 11:54:03|INFO|cosmos_predict2/checkpointer.py:288:load] Training from scratch.
|
| 382 |
+
[05-20 11:54:03|INFO|imaginaire/utils/misc.py:266:wrapper] Time spent on checkpoint loading: 0.0002 seconds
|
| 383 |
+
[05-20 11:54:03|CRITICAL|imaginaire/trainer.py:179:train] Distributed parallelism mode: ddp
|
| 384 |
+
[05-20 11:54:03|INFO|imaginaire/trainer.py:187:train] Starting training...
|
| 385 |
+
[05-20 11:54:03|INFO|cosmos_predict2/callbacks/device_monitor.py:92:on_train_start] DeviceMonitor callback: local_dir: checkpoints/vam/so101/w2a_so101_task1_slow_100ep_lora32_iter2500_75m_2gpu/DeviceMonitor
|
| 386 |
+
[05-20 11:54:07|INFO|imaginaire/trainer.py:388:validate] Validating at iteration 0...
|
| 387 |
+
[05-20 11:54:49|INFO|imaginaire/trainer.py:193:train] Initial validation done.
|
| 388 |
+
[05-20 11:54:51|WARNING|imaginaire/utils/distributed.py:284:ddp_sync_grad] DDP static_graph=True is incompatible with sync_grad(). Performance will be reduced.
|
| 389 |
+
[05-20 11:56:14|INFO|imaginaire/trainer.py:116:__init__] Config:
|
| 390 |
+
* model: {'config': {'validation_mode': 'loss_only', 'train_architecture': 'base', 'lora_rank': 16, 'lora_alpha': 16, 'lora_target_modules': 'q_proj,k_proj,v_proj,output_proj,mlp.layer1,mlp.layer2', 'init_lora_weights': True, 'precision': 'bfloat16', 'loss_reduce': 'mean', 'loss_scale': 10.0, 'ema': {'enabled': False, 'rate': 0.1, 'iteration_shift': 0}, 'action_dit_path': '', 'video_dit_path': '/home/shadeform/pdt-mimic/mimic-video/model/checkpoints/video_backbone/v2w_push_combined_lora_rank32_lr1.778e-04_bsz32_iter_000002500_fused.pt', 'pipe_config': {'precision': 'bfloat16', 'scheduler': {'alpha': 1.0, 'beta': 1.0, 'num_denoising_steps': 10}, 'net': {'max_horizon': 91, 'in_channels': 6, 'out_channels': 6, 'model_channels': 512, 'num_blocks': 12, 'num_heads': 8, 'mlp_ratio': 4.0, 'atten_backend': 'flash_attn_no_cp', 'crossattn_emb_channels': 2048, 'use_adaln_lora': True, 'adaln_lora_dim': 128, 'pair_timestep_feature_rank': 512, 'sac_config': {'mode': 'none', 'every_n_blocks': 1}, '_target_': <class 'cosmos_predict2.models.world2action_dit.World2ActionDIT'>}, 'ema': {'enabled': False, 'rate': 0.1, 'iteration_shift': 0}, '_target_': 'cosmos_predict2.configs.config_world2action.World2ActionPipelineConfig', 'xattn_layer_idx': 20}, 'video_pipe_config': {'adjust_video_noise': True, 'conditioner': {'fps': {'output_key': 'fps', 'dropout_rate': 0.0, 'dtype': None, 'input_key': 'fps', '_target_': <class 'cosmos_predict2.conditioner.ReMapkey'>}, 'padding_mask': {'output_key': 'padding_mask', 'dropout_rate': 0.0, 'dtype': None, 'input_key': 'padding_mask', '_target_': <class 'cosmos_predict2.conditioner.ReMapkey'>}, 'text': {'dropout_rate': 0.0, 'input_key': ['obs/language_embedding'], '_target_': <class 'cosmos_predict2.conditioner.TextAttr'>}, 'use_video_condition': {'output_key': 'use_video_condition', 'dropout_rate': 0.0, 'input_key': 'fps', '_target_': <class 'cosmos_predict2.conditioner.BooleanFlag'>}, '_target_': <class 'cosmos_predict2.conditioner.VideoConditioner'>}, 'conditioning_strategy': 'frame_replace', 'min_num_conditional_frames': 1, 'max_num_conditional_frames': 2, 'sigma_conditional': 0.0001, 'net': {'max_img_h': 240, 'max_img_w': 240, 'max_frames': 128, 'in_channels': 16, 'out_channels': 16, 'patch_spatial': 2, 'patch_temporal': 1, 'concat_padding_mask': True, 'model_channels': 2048, 'num_blocks': 28, 'num_heads': 16, 'atten_backend': 'minimal_a2a', 'pos_emb_cls': 'rope3d', 'pos_emb_learnable': True, 'pos_emb_interpolation': 'crop', 'use_adaln_lora': True, 'adaln_lora_dim': 256, 'rope_h_extrapolation_ratio': 3.0, 'rope_w_extrapolation_ratio': 3.0, 'rope_t_extrapolation_ratio': 1.0, 'extra_per_block_abs_pos_emb': False, 'rope_enable_fps_modulation': False, 'sac_config': {'mode': 'predict2_2b_720', 'every_n_blocks': 1, '_target_': 'cosmos_predict2.models.text2image_dit.SACConfig'}, '_target_': <class 'cosmos_predict2.models.video2world_dit.MinimalV1LVGDiT'>}, 'tokenizer': {'chunk_duration': 81, 'load_mean_std': False, 'temporal_window': 16, 'name': 'tokenizer', 'vae_pth': '/home/shadeform/pdt-mimic/mimic-video/model/checkpoints/video_backbone//tokenizer/tokenizer.pth', '_target_': <class 'cosmos_predict2.tokenizers.tokenizer.TokenizerInterface'>}, 'guardrail_config': {'checkpoint_dir': '/home/shadeform/pdt-mimic/mimic-video/model/checkpoints', 'offload_model_to_cpu': True, 'enabled': False}, 'precision': 'bfloat16', 'rectified_flow_t_scaling_factor': 1.0, 'rectified_flow_loss_weight_uniform': True, 'resize_online': False, 'resolution': '480', 'ema': {'enabled': False, 'rate': 0.1, 'iteration_shift': 0, '_target_': 'cosmos_predict2.configs.defaults.ema.EMAConfig'}, 'sigma_data': 1.0, 'state_ch': 16, 'state_t': 16, 'text_encoder': {'cls': <TextEncoderClass.T5: 't5'>, 't5': {'ckpt_path': '/home/shadeform/pdt-mimic/mimic-video/model/checkpoints/text_encoder/t5-11b', 'num_tokens': 512, 'embed_dim': 1024}}, 'input_video_key': 'video', 'input_image_key': 'images', 'timestamps': {'nfe': 35, 't_min': 0.002, 't_max': 80.0, 'order': 7.0, 'is_forward': False}}, 'fsdp_shard_size': 0, 'data_config': {'config_name': 'so101_lerobot', '_target_': <function get_data_config at 0x7bc16c762950>}, '_target_': 'cosmos_predict2.models.world2action_model.World2ActionModelConfig'}, '_target_': <class 'cosmos_predict2.models.world2action_model.World2ActionModel'>}
|
| 391 |
+
* world2action_pipe: {'precision': 'bfloat16', 'scheduler': {'alpha': 1.0, 'beta': 1.0, 'num_denoising_steps': 10}, 'net': {'max_horizon': 91, 'in_channels': 6, 'out_channels': 6, 'model_channels': 512, 'num_blocks': 12, 'num_heads': 8, 'mlp_ratio': 4.0, 'atten_backend': 'flash_attn_no_cp', 'crossattn_emb_channels': 2048, 'use_adaln_lora': True, 'adaln_lora_dim': 128, 'pair_timestep_feature_rank': 512, 'sac_config': {'mode': 'none', 'every_n_blocks': 1}, '_target_': <class 'cosmos_predict2.models.world2action_dit.World2ActionDIT'>}, 'ema': {'enabled': False, 'rate': 0.1, 'iteration_shift': 0}, '_target_': 'cosmos_predict2.configs.config_world2action.World2ActionPipelineConfig'}
|
| 392 |
+
* optimizer: {'optim_type': 'fusedadam', 'model': None, 'lr': 9.999999999999999e-05, 'weight_decay': 0.1, 'betas': [0.9, 0.99], 'eps': 1e-08, 'master_weights': True, 'capturable': True, '_target_': <function get_base_optimizer at 0x7bc1561775b0>}
|
| 393 |
+
* scheduler: {'verbosity_interval': 0, 'warm_up_steps': [1000], 'cycle_lengths': [500000], 'f_start': [1e-06], 'f_max': [1], 'f_min': [0.2], '_target_': <class 'cosmos_predict2.functional.lr_scheduler.LambdaLinearScheduler'>}
|
| 394 |
+
* data_config: {'config_name': 'so101_lerobot', '_target_': <function get_data_config at 0x7bc16c762950>}
|
| 395 |
+
* video_dataset_train: None
|
| 396 |
+
* video_dataset_val: None
|
| 397 |
+
* dataloader_train: {'batch_size': 2, 'shuffle': None, 'sampler': {'seed': 0, 'dataset': {'root': None, 'image_key': 'observation.images.front', 'state_key': 'observation.state', 'action_key': 'action', 'obs_image_horizon': 5, 'action_image_horizon': 56, 'action_lowdim_horizon': 90, 'target_fps': 5.0, 'lowdim_target_fps': 30.0, 'action_shift_s': 0.2, 'image_resize': [480, 640], 'language_embeddings_path': None, 't5_encoder_ckpt': None, 'num_val_episodes': 1, 'val_ratio': 0.05, 'seed': 42, 'train': True, 'cache_dir': None, 'video_backend': 'pyav', 'tolerance_s': 0.04, 'repo_id': 'push-that-thing/task_1_slow', '_target_': <class 'cosmos_predict2.data.action.dataset_lerobot.LeRobotDataset'>}, 'num_replicas': {'with_context_parallel': False, 'partial_data_parallel': False, '_target_': <function get_data_parallel_world_size at 0x7bc3d3399120>}, 'rank': {'with_context_parallel': False, 'partial_data_parallel': False, '_target_': <function get_data_parallel_rank at 0x7bc3d3399240>}, 'shuffle': True, '_target_': <class 'cosmos_predict2.data.resumable_sampler.ResumableDistributedSampler'>}, 'batch_sampler': None, 'num_workers': 8, 'collate_fn': None, 'pin_memory': True, 'drop_last': True, 'timeout': 0, 'worker_init_fn': None, 'multiprocessing_context': None, 'generator': None, 'prefetch_factor': 8, 'persistent_workers': True, 'pin_memory_device': '', 'in_order': True, 'dataset': {'root': None, 'image_key': 'observation.images.front', 'state_key': 'observation.state', 'action_key': 'action', 'obs_image_horizon': 5, 'action_image_horizon': 56, 'action_lowdim_horizon': 90, 'target_fps': 5.0, 'lowdim_target_fps': 30.0, 'action_shift_s': 0.2, 'image_resize': [480, 640], 'language_embeddings_path': None, 't5_encoder_ckpt': None, 'num_val_episodes': 1, 'val_ratio': 0.05, 'seed': 42, 'train': True, 'cache_dir': None, 'video_backend': 'pyav', 'tolerance_s': 0.04, 'repo_id': 'push-that-thing/task_1_slow', '_target_': <class 'cosmos_predict2.data.action.dataset_lerobot.LeRobotDataset'>}, '_target_': <class 'torch.utils.data.dataloader.DataLoader'>}
|
| 398 |
+
* dataloader_val: {'batch_size': 1, 'shuffle': None, 'sampler': {'seed': 0, 'dataset': {'root': None, 'image_key': 'observation.images.front', 'state_key': 'observation.state', 'action_key': 'action', 'obs_image_horizon': 5, 'action_image_horizon': 56, 'action_lowdim_horizon': 90, 'target_fps': 5.0, 'lowdim_target_fps': 30.0, 'action_shift_s': 0.2, 'image_resize': [480, 640], 'language_embeddings_path': None, 't5_encoder_ckpt': None, 'num_val_episodes': 1, 'val_ratio': 0.05, 'seed': 42, 'train': False, 'cache_dir': None, 'video_backend': 'pyav', 'tolerance_s': 0.04, 'repo_id': 'push-that-thing/task_1_slow', '_target_': <class 'cosmos_predict2.data.action.dataset_lerobot.LeRobotDataset'>}, 'num_replicas': {'with_context_parallel': False, 'partial_data_parallel': False, '_target_': <function get_data_parallel_world_size at 0x7bc3d3399120>}, 'rank': {'with_context_parallel': False, 'partial_data_parallel': False, '_target_': <function get_data_parallel_rank at 0x7bc3d3399240>}, 'shuffle': False, '_target_': <class 'cosmos_predict2.data.resumable_sampler.ResumableDistributedSampler'>}, 'batch_sampler': None, 'num_workers': 0, 'collate_fn': None, 'pin_memory': False, 'drop_last': False, 'timeout': 0, 'worker_init_fn': None, 'multiprocessing_context': None, 'generator': None, 'prefetch_factor': None, 'persistent_workers': False, 'pin_memory_device': '', 'in_order': True, 'dataset': {'root': None, 'image_key': 'observation.images.front', 'state_key': 'observation.state', 'action_key': 'action', 'obs_image_horizon': 5, 'action_image_horizon': 56, 'action_lowdim_horizon': 90, 'target_fps': 5.0, 'lowdim_target_fps': 30.0, 'action_shift_s': 0.2, 'image_resize': [480, 640], 'language_embeddings_path': None, 't5_encoder_ckpt': None, 'num_val_episodes': 1, 'val_ratio': 0.05, 'seed': 42, 'train': False, 'cache_dir': None, 'video_backend': 'pyav', 'tolerance_s': 0.04, 'repo_id': 'push-that-thing/task_1_slow', '_target_': <class 'cosmos_predict2.data.action.dataset_lerobot.LeRobotDataset'>}, '_target_': <class 'torch.utils.data.dataloader.DataLoader'>}
|
| 399 |
+
* job:
|
| 400 |
+
* project: vam
|
| 401 |
+
* group: so101
|
| 402 |
+
* name: w2a_so101_task1_slow_100ep_lora32_iter2500_75m_2gpu
|
| 403 |
+
* trainer:
|
| 404 |
+
* type: <class 'imaginaire.trainer.ImaginaireTrainer'>
|
| 405 |
+
* callbacks: {'ema': {'config': None, 'trainer': None, '_target_': <class 'imaginaire.utils.callback.EMAModelCallback'>}, 'progress_bar': {'config': None, 'trainer': None, '_target_': <class 'imaginaire.utils.callback.ProgressBarCallback'>}, 'low_prec': {'config': None, 'trainer': None, 'update_iter': 1, '_target_': <class 'imaginaire.utils.callback.LowPrecisionCallback'>}, 'iter_speed': {'hit_thres': 5, 'every_n': 1000, '_target_': <class 'cosmos_predict2.callbacks.iter_speed.IterSpeed'>}, 'device_monitor': {'every_n': 1000, 'step_size': 1, 'log_memory_detail': True, '_target_': <class 'cosmos_predict2.callbacks.device_monitor.DeviceMonitor'>}, 'manual_gc': {'warm_up': 5, 'every_n': 5, '_target_': <class 'imaginaire.callbacks.manual_gc.ManualGarbageCollection'>}, 'grad_clip': {'clip_norm': 10.0, 'force_finite': True, 'log_wandb': False, '_target_': <class 'cosmos_predict2.callbacks.grad_clip.GradClip'>}, 'wandb': {'mode': None, '_target_': <class 'cosmos_predict2.callbacks.wandb_logger.WandBLogger'>}}
|
| 406 |
+
* distributed_parallelism: ddp
|
| 407 |
+
* ddp:
|
| 408 |
+
* find_unused_parameters: False
|
| 409 |
+
* static_graph: True
|
| 410 |
+
* broadcast_buffers: True
|
| 411 |
+
* cudnn:
|
| 412 |
+
* deterministic: False
|
| 413 |
+
* benchmark: True
|
| 414 |
+
* seed: 0
|
| 415 |
+
* grad_scaler_args: {'enabled': False}
|
| 416 |
+
* max_iter: 8000
|
| 417 |
+
* max_val_iter: 16
|
| 418 |
+
* logging_iter: 1000
|
| 419 |
+
* run_validation: True
|
| 420 |
+
* validation_iter: 100
|
| 421 |
+
* timeout_period: 999999999
|
| 422 |
+
* memory_format: torch.preserve_format
|
| 423 |
+
* grad_accum_iter: 8
|
| 424 |
+
* profiling:
|
| 425 |
+
* enable_profiling: False
|
| 426 |
+
* enable_memory_snapshot: False
|
| 427 |
+
* profile_freq: 1
|
| 428 |
+
* first_n_rank: 4
|
| 429 |
+
* record_shape: True
|
| 430 |
+
* profile_memory: True
|
| 431 |
+
* with_stack: True
|
| 432 |
+
* with_modules: True
|
| 433 |
+
* model_parallel: ModelParallelConfig(tensor_model_parallel_size=1, pipeline_model_parallel_comm_backend=None, pipeline_model_parallel_size=1, virtual_pipeline_model_parallel_size=None, sequence_parallel=False, context_parallel_size=1, hierarchical_context_parallel_sizes=None, expert_model_parallel_size=1, expert_tensor_parallel_size=1, moe_extended_tp=False, perform_initialization=True, use_cpu_initialization=False, fp16=False, bf16=False, params_dtype=torch.float32, timers=None, finalize_model_grads_func=None, grad_scale_func=None, no_sync_func=None, grad_sync_func=None, param_sync_func=None, deterministic_mode=False, enable_autocast=False, autocast_dtype=torch.float32, num_microbatches_with_partial_activation_checkpoints=None, gradient_accumulation_fusion=False, async_tensor_model_parallel_allreduce=False, use_te_rng_tracker=False, tp_comm_overlap=False, tp_comm_bulk_wgrad=True, tp_comm_bulk_dgrad=True, tp_comm_overlap_ag=True, tp_comm_overlap_rs=True, tp_comm_overlap_rs_dgrad=False, tp_comm_split_ag=True, tp_comm_atomic_ag=False, tp_comm_split_rs=True, tp_comm_atomic_rs=False, cross_entropy_loss_fusion=False, cross_entropy_fusion_impl='native', tp_comm_overlap_disable_qkv=False, tp_comm_overlap_disable_fc1=False, tp_comm_bootstrap_backend='nccl', pipeline_dtype=None, variable_seq_lengths=False, overlap_p2p_comm=False, batch_p2p_comm=True, batch_p2p_sync=True, use_ring_exchange_p2p=False, deallocate_pipeline_outputs=False, defer_embedding_wgrad_compute=False, wgrad_deferral_limit=0, pipeline_model_parallel_split_rank=None, overlap_p2p_comm_warmup_flush=False, microbatch_group_size_per_vp_stage=1, cpu_offloading=False, cpu_offloading_num_layers=0, _cpu_offloading_context=None, cpu_offloading_activations=False, cpu_offloading_weights=False, barrier_with_L1_time=True)
|
| 434 |
+
* checkpoint:
|
| 435 |
+
* type: {'callbacks': None, '_target_': <class 'cosmos_predict2.checkpointer.Checkpointer'>}
|
| 436 |
+
* dcp_async_mode_enabled: False
|
| 437 |
+
* save_iter: 100
|
| 438 |
+
* load_path:
|
| 439 |
+
* load_training_state: False
|
| 440 |
+
* only_load_scheduler_state: False
|
| 441 |
+
* strict_resume: True
|
| 442 |
+
* jit:
|
| 443 |
+
* enabled: False
|
| 444 |
+
* input_shape: None
|
| 445 |
+
* device: cuda
|
| 446 |
+
* dtype: bfloat16
|
| 447 |
+
* strict: True
|
| 448 |
+
* verbose: True
|
| 449 |
+
* keys_not_to_resume: []
|
| 450 |
+
* broadcast_via_filesystem: False
|
| 451 |
+
* load_ema_to_reg: False
|
| 452 |
+
* dcp_allow_mismatched_size: False
|
| 453 |
+
* defaults: ['_self_', {'data_config': None}, {'video_dataset_train': None}, {'video_dataset_val': None}, {'dataloader_train': None}, {'dataloader_val': None}, {'world2action_pipe': None}, {'optimizer': 'fusedadamw'}, {'scheduler': 'constant'}, {'model': None}, {'callbacks': ['basic']}, {'net': None}, {'ema': None}, {'checkpoint': None}, {'ckpt_type': None}, {'experiment': None}]
|
| 454 |
+
[05-20 11:56:14|WARNING|imaginaire/utils/misc.py:127:print_environ_variables] Environment variable TORCH_HOME not set!
|
| 455 |
+
[05-20 11:56:14|WARNING|imaginaire/utils/misc.py:127:print_environ_variables] Environment variable IMAGINAIRE_OUTPUT_ROOT not set!
|
| 456 |
+
[05-20 11:56:14|INFO|imaginaire/utils/misc.py:139:set_random_seed] Using random seed 0.
|
| 457 |
+
[05-20 11:56:14|CRITICAL|imaginaire/utils/callback.py:77:__init__] Instantiating callback ema: {'config': None, 'trainer': None, '_target_': <class 'imaginaire.utils.callback.EMAModelCallback'>}
|
| 458 |
+
[05-20 11:56:14|CRITICAL|imaginaire/utils/callback.py:77:__init__] Instantiating callback progress_bar: {'config': None, 'trainer': None, '_target_': <class 'imaginaire.utils.callback.ProgressBarCallback'>}
|
| 459 |
+
[05-20 11:56:14|CRITICAL|imaginaire/utils/callback.py:77:__init__] Instantiating callback low_prec: {'config': None, 'trainer': None, 'update_iter': 1, '_target_': <class 'imaginaire.utils.callback.LowPrecisionCallback'>}
|
| 460 |
+
[05-20 11:56:14|CRITICAL|imaginaire/utils/callback.py:77:__init__] Instantiating callback iter_speed: {'hit_thres': 5, 'every_n': 1000, '_target_': <class 'cosmos_predict2.callbacks.iter_speed.IterSpeed'>}
|
| 461 |
+
[05-20 11:56:14|CRITICAL|imaginaire/utils/callback.py:77:__init__] Instantiating callback device_monitor: {'every_n': 1000, 'step_size': 1, 'log_memory_detail': True, '_target_': <class 'cosmos_predict2.callbacks.device_monitor.DeviceMonitor'>}
|
| 462 |
+
[05-20 11:56:14|CRITICAL|imaginaire/utils/callback.py:77:__init__] Instantiating callback manual_gc: {'warm_up': 5, 'every_n': 5, '_target_': <class 'imaginaire.callbacks.manual_gc.ManualGarbageCollection'>}
|
| 463 |
+
[05-20 11:56:14|CRITICAL|imaginaire/utils/callback.py:77:__init__] Instantiating callback grad_clip: {'clip_norm': 10.0, 'force_finite': True, 'log_wandb': False, '_target_': <class 'cosmos_predict2.callbacks.grad_clip.GradClip'>}
|
| 464 |
+
[05-20 11:56:14|CRITICAL|imaginaire/utils/callback.py:77:__init__] Instantiating callback wandb: {'mode': None, '_target_': <class 'cosmos_predict2.callbacks.wandb_logger.WandBLogger'>}
|
| 465 |
+
[05-20 11:56:16|CRITICAL|cosmos_predict2/models/world2action_model.py:106:__init__] Using mean loss reduce with loss scale 10.0
|
| 466 |
+
[05-20 11:56:16|WARNING|cosmos_predict2/pipelines/world2action.py:71:from_config] precision torch.bfloat16
|
| 467 |
+
[05-20 11:56:16|WARNING|cosmos_predict2/pipelines/world2action.py:101:from_config] dit_path not provided, initializing DiT with random weights
|
| 468 |
+
[05-20 11:56:16|WARNING|cosmos_predict2/pipelines/video2world.py:277:from_config] precision torch.bfloat16
|
| 469 |
+
[05-20 11:56:17|INFO|cosmos_predict2/tokenizers/tokenizer.py:687:_video_vae] Loading /home/shadeform/pdt-mimic/mimic-video/model/checkpoints/video_backbone//tokenizer/tokenizer.pth
|
| 470 |
+
[05-20 11:56:17|SUCCESS|cosmos_predict2/tokenizers/tokenizer.py:689:_video_vae] Successfully loaded /home/shadeform/pdt-mimic/mimic-video/model/checkpoints/video_backbone//tokenizer/tokenizer.pth
|
| 471 |
+
[05-20 11:56:17|INFO|imaginaire/utils/distributed.py:430:sync_model_states] Synchronizing model states from rank 0 to all ranks in process group [0, 1].
|
| 472 |
+
[05-20 11:56:17|INFO|cosmos_predict2/pipelines/video2world.py:335:from_config] Loading DiT from /home/shadeform/pdt-mimic/mimic-video/model/checkpoints/video_backbone/v2w_push_combined_lora_rank32_lr1.778e-04_bsz32_iter_000002500_fused.pt
|
| 473 |
+
[05-20 11:56:22|SUCCESS|cosmos_predict2/pipelines/video2world.py:354:from_config] Successfully loaded DiT from /home/shadeform/pdt-mimic/mimic-video/model/checkpoints/video_backbone/v2w_push_combined_lora_rank32_lr1.778e-04_bsz32_iter_000002500_fused.pt
|
| 474 |
+
[05-20 11:56:22|INFO|cosmos_predict2/models/world2action_model.py:148:__init__] Total parameters: 2.04B, Frozen parameters: 1,956,413,440, Trainable parameters: 80,859,000
|
| 475 |
+
[05-20 11:56:22|INFO|cosmos_predict2/models/world2action_model.py:167:__init__] FSDP (Fully Sharded Data Parallel) is disabled.
|
| 476 |
+
[05-20 11:56:23|CRITICAL|cosmos_predict2/utils/optim_instantiate_dtensor.py:49:get_base_optimizer] total num parameters : 80,859,000
|
| 477 |
+
[05-20 11:56:23|WARNING|cosmos_predict2/utils/fused_adam_dtensor.py:103:__init__] FusedAdam master_weights: True capturable: True
|
| 478 |
+
[05-20 11:56:23|INFO|cosmos_predict2/checkpointer.py:288:load] Training from scratch.
|
| 479 |
+
[05-20 11:56:23|INFO|imaginaire/utils/misc.py:266:wrapper] Time spent on checkpoint loading: 0.0003 seconds
|
| 480 |
+
[05-20 11:56:23|CRITICAL|imaginaire/trainer.py:179:train] Distributed parallelism mode: ddp
|
| 481 |
+
[05-20 11:56:23|INFO|imaginaire/trainer.py:187:train] Starting training...
|
| 482 |
+
[05-20 11:56:23|INFO|cosmos_predict2/callbacks/device_monitor.py:92:on_train_start] DeviceMonitor callback: local_dir: checkpoints/vam/so101/w2a_so101_task1_slow_100ep_lora32_iter2500_75m_2gpu/DeviceMonitor
|
| 483 |
+
[05-20 11:56:25|INFO|imaginaire/trainer.py:388:validate] Validating at iteration 0...
|
| 484 |
+
[05-20 11:57:07|INFO|imaginaire/trainer.py:193:train] Initial validation done.
|
| 485 |
+
[05-20 11:57:12|WARNING|imaginaire/utils/distributed.py:284:ddp_sync_grad] DDP static_graph=True is incompatible with sync_grad(). Performance will be reduced.
|
| 486 |
+
[05-20 11:57:51|INFO|cosmos_predict2/callbacks/iter_speed.py:51:on_training_step_end] Iteration 1: Hit counter: 1/5 | Loss: 19.7805 | Time: 96.86s
|
| 487 |
+
[05-20 11:58:10|INFO|cosmos_predict2/callbacks/iter_speed.py:51:on_training_step_end] Iteration 2: Hit counter: 2/5 | Loss: 24.3074 | Time: 19.37s
|