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:41f56464adc70dae57125145736b494790c89e17ff5171ba498611965579d46d
|
| 3 |
+
size 77007
|
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:
|
|
@@ -89,11 +89,11 @@ dataloader_train:
|
|
| 89 |
val_ratio: null
|
| 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'
|
|
@@ -168,11 +168,11 @@ dataloader_val:
|
|
| 168 |
val_ratio: null
|
| 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 0x7b8b98c5a950>
|
| 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: '0'
|
| 60 |
+
persistent_workers: 'False'
|
| 61 |
pin_memory: 'True'
|
| 62 |
pin_memory_device: ''
|
| 63 |
+
prefetch_factor: null
|
| 64 |
sampler:
|
| 65 |
_target_: <class 'cosmos_predict2.data.resumable_sampler.ResumableDistributedSampler'>
|
| 66 |
dataset:
|
|
|
|
| 89 |
val_ratio: null
|
| 90 |
video_backend: pyav
|
| 91 |
num_replicas:
|
| 92 |
+
_target_: <function get_data_parallel_world_size at 0x7b8dff895120>
|
| 93 |
partial_data_parallel: 'False'
|
| 94 |
with_context_parallel: 'False'
|
| 95 |
rank:
|
| 96 |
+
_target_: <function get_data_parallel_rank at 0x7b8dff895240>
|
| 97 |
partial_data_parallel: 'False'
|
| 98 |
with_context_parallel: 'False'
|
| 99 |
seed: '0'
|
|
|
|
| 168 |
val_ratio: null
|
| 169 |
video_backend: pyav
|
| 170 |
num_replicas:
|
| 171 |
+
_target_: <function get_data_parallel_world_size at 0x7b8dff895120>
|
| 172 |
partial_data_parallel: 'False'
|
| 173 |
with_context_parallel: 'False'
|
| 174 |
rank:
|
| 175 |
+
_target_: <function get_data_parallel_rank at 0x7b8dff895240>
|
| 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 0x7b8b98c5a950>
|
| 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 0x7b8b8276f6d0>
|
| 418 |
betas:
|
| 419 |
- '0.9'
|
| 420 |
- '0.99'
|
action_decoder/chain/w2a_so101_task1_slow_100ep_lora32_iter2500_75m_2gpu/stdout.log
CHANGED
|
@@ -95,3 +95,197 @@
|
|
| 95 |
[05-20 02:45:28|INFO|imaginaire/trainer.py:388:validate] Validating at iteration 0...
|
| 96 |
[05-20 02:46:08|INFO|imaginaire/trainer.py:193:train] Initial validation done.
|
| 97 |
[05-20 02:46:13|WARNING|imaginaire/utils/distributed.py:284:ddp_sync_grad] DDP static_graph=True is incompatible with sync_grad(). Performance will be reduced.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 95 |
[05-20 02:45:28|INFO|imaginaire/trainer.py:388:validate] Validating at iteration 0...
|
| 96 |
[05-20 02:46:08|INFO|imaginaire/trainer.py:193:train] Initial validation done.
|
| 97 |
[05-20 02:46:13|WARNING|imaginaire/utils/distributed.py:284:ddp_sync_grad] DDP static_graph=True is incompatible with sync_grad(). Performance will be reduced.
|
| 98 |
+
[05-20 11:48:57|INFO|imaginaire/trainer.py:116:__init__] Config:
|
| 99 |
+
* 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 0x779a85552a70>}, '_target_': 'cosmos_predict2.models.world2action_model.World2ActionModelConfig'}, '_target_': <class 'cosmos_predict2.models.world2action_model.World2ActionModel'>}
|
| 100 |
+
* 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'}
|
| 101 |
+
* 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 0x779a6ed6b6d0>}
|
| 102 |
+
* 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'>}
|
| 103 |
+
* data_config: {'config_name': 'so101_lerobot', '_target_': <function get_data_config at 0x779a85552a70>}
|
| 104 |
+
* video_dataset_train: None
|
| 105 |
+
* video_dataset_val: None
|
| 106 |
+
* 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 0x779cebe89120>}, 'rank': {'with_context_parallel': False, 'partial_data_parallel': False, '_target_': <function get_data_parallel_rank at 0x779cebe89240>}, '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'>}
|
| 107 |
+
* 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 0x779cebe89120>}, 'rank': {'with_context_parallel': False, 'partial_data_parallel': False, '_target_': <function get_data_parallel_rank at 0x779cebe89240>}, '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'>}
|
| 108 |
+
* job:
|
| 109 |
+
* project: vam
|
| 110 |
+
* group: so101
|
| 111 |
+
* name: w2a_so101_task1_slow_100ep_lora32_iter2500_75m_2gpu
|
| 112 |
+
* trainer:
|
| 113 |
+
* type: <class 'imaginaire.trainer.ImaginaireTrainer'>
|
| 114 |
+
* 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'>}}
|
| 115 |
+
* distributed_parallelism: ddp
|
| 116 |
+
* ddp:
|
| 117 |
+
* find_unused_parameters: False
|
| 118 |
+
* static_graph: True
|
| 119 |
+
* broadcast_buffers: True
|
| 120 |
+
* cudnn:
|
| 121 |
+
* deterministic: False
|
| 122 |
+
* benchmark: True
|
| 123 |
+
* seed: 0
|
| 124 |
+
* grad_scaler_args: {'enabled': False}
|
| 125 |
+
* max_iter: 8000
|
| 126 |
+
* max_val_iter: 16
|
| 127 |
+
* logging_iter: 1000
|
| 128 |
+
* run_validation: True
|
| 129 |
+
* validation_iter: 100
|
| 130 |
+
* timeout_period: 999999999
|
| 131 |
+
* memory_format: torch.preserve_format
|
| 132 |
+
* grad_accum_iter: 8
|
| 133 |
+
* profiling:
|
| 134 |
+
* enable_profiling: False
|
| 135 |
+
* enable_memory_snapshot: False
|
| 136 |
+
* profile_freq: 1
|
| 137 |
+
* first_n_rank: 4
|
| 138 |
+
* record_shape: True
|
| 139 |
+
* profile_memory: True
|
| 140 |
+
* with_stack: True
|
| 141 |
+
* with_modules: True
|
| 142 |
+
* 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)
|
| 143 |
+
* checkpoint:
|
| 144 |
+
* type: {'callbacks': None, '_target_': <class 'cosmos_predict2.checkpointer.Checkpointer'>}
|
| 145 |
+
* dcp_async_mode_enabled: False
|
| 146 |
+
* save_iter: 100
|
| 147 |
+
* load_path:
|
| 148 |
+
* load_training_state: False
|
| 149 |
+
* only_load_scheduler_state: False
|
| 150 |
+
* strict_resume: True
|
| 151 |
+
* jit:
|
| 152 |
+
* enabled: False
|
| 153 |
+
* input_shape: None
|
| 154 |
+
* device: cuda
|
| 155 |
+
* dtype: bfloat16
|
| 156 |
+
* strict: True
|
| 157 |
+
* verbose: True
|
| 158 |
+
* keys_not_to_resume: []
|
| 159 |
+
* broadcast_via_filesystem: False
|
| 160 |
+
* load_ema_to_reg: False
|
| 161 |
+
* dcp_allow_mismatched_size: False
|
| 162 |
+
* 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}]
|
| 163 |
+
[05-20 11:48:57|WARNING|imaginaire/utils/misc.py:127:print_environ_variables] Environment variable TORCH_HOME not set!
|
| 164 |
+
[05-20 11:48:57|WARNING|imaginaire/utils/misc.py:127:print_environ_variables] Environment variable IMAGINAIRE_OUTPUT_ROOT not set!
|
| 165 |
+
[05-20 11:48:57|INFO|imaginaire/utils/misc.py:139:set_random_seed] Using random seed 0.
|
| 166 |
+
[05-20 11:48:57|CRITICAL|imaginaire/utils/callback.py:77:__init__] Instantiating callback ema: {'config': None, 'trainer': None, '_target_': <class 'imaginaire.utils.callback.EMAModelCallback'>}
|
| 167 |
+
[05-20 11:48:57|CRITICAL|imaginaire/utils/callback.py:77:__init__] Instantiating callback progress_bar: {'config': None, 'trainer': None, '_target_': <class 'imaginaire.utils.callback.ProgressBarCallback'>}
|
| 168 |
+
[05-20 11:48:57|CRITICAL|imaginaire/utils/callback.py:77:__init__] Instantiating callback low_prec: {'config': None, 'trainer': None, 'update_iter': 1, '_target_': <class 'imaginaire.utils.callback.LowPrecisionCallback'>}
|
| 169 |
+
[05-20 11:48:57|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'>}
|
| 170 |
+
[05-20 11:48:57|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'>}
|
| 171 |
+
[05-20 11:48:57|CRITICAL|imaginaire/utils/callback.py:77:__init__] Instantiating callback manual_gc: {'warm_up': 5, 'every_n': 5, '_target_': <class 'imaginaire.callbacks.manual_gc.ManualGarbageCollection'>}
|
| 172 |
+
[05-20 11:48:57|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'>}
|
| 173 |
+
[05-20 11:48:57|CRITICAL|imaginaire/utils/callback.py:77:__init__] Instantiating callback wandb: {'mode': None, '_target_': <class 'cosmos_predict2.callbacks.wandb_logger.WandBLogger'>}
|
| 174 |
+
[05-20 11:48:59|CRITICAL|cosmos_predict2/models/world2action_model.py:106:__init__] Using mean loss reduce with loss scale 10.0
|
| 175 |
+
[05-20 11:48:59|WARNING|cosmos_predict2/pipelines/world2action.py:71:from_config] precision torch.bfloat16
|
| 176 |
+
[05-20 11:48:59|WARNING|cosmos_predict2/pipelines/world2action.py:101:from_config] dit_path not provided, initializing DiT with random weights
|
| 177 |
+
[05-20 11:48:59|WARNING|cosmos_predict2/pipelines/video2world.py:277:from_config] precision torch.bfloat16
|
| 178 |
+
[05-20 11:49:00|INFO|cosmos_predict2/tokenizers/tokenizer.py:687:_video_vae] Loading /home/shadeform/pdt-mimic/mimic-video/model/checkpoints/video_backbone//tokenizer/tokenizer.pth
|
| 179 |
+
[05-20 11:49:00|SUCCESS|cosmos_predict2/tokenizers/tokenizer.py:689:_video_vae] Successfully loaded /home/shadeform/pdt-mimic/mimic-video/model/checkpoints/video_backbone//tokenizer/tokenizer.pth
|
| 180 |
+
[05-20 11:49:00|INFO|imaginaire/utils/distributed.py:430:sync_model_states] Synchronizing model states from rank 0 to all ranks in process group [0, 1].
|
| 181 |
+
[05-20 11:49:00|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
|
| 182 |
+
[05-20 11:49:04|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
|
| 183 |
+
[05-20 11:49:05|INFO|cosmos_predict2/models/world2action_model.py:148:__init__] Total parameters: 2.04B, Frozen parameters: 1,956,413,440, Trainable parameters: 80,859,000
|
| 184 |
+
[05-20 11:49:05|INFO|cosmos_predict2/models/world2action_model.py:167:__init__] FSDP (Fully Sharded Data Parallel) is disabled.
|
| 185 |
+
[05-20 11:49:05|CRITICAL|cosmos_predict2/utils/optim_instantiate_dtensor.py:49:get_base_optimizer] total num parameters : 80,859,000
|
| 186 |
+
[05-20 11:49:05|WARNING|cosmos_predict2/utils/fused_adam_dtensor.py:103:__init__] FusedAdam master_weights: True capturable: True
|
| 187 |
+
[05-20 11:49:05|INFO|cosmos_predict2/checkpointer.py:288:load] Training from scratch.
|
| 188 |
+
[05-20 11:49:05|INFO|imaginaire/utils/misc.py:266:wrapper] Time spent on checkpoint loading: 0.0002 seconds
|
| 189 |
+
[05-20 11:49:05|CRITICAL|imaginaire/trainer.py:179:train] Distributed parallelism mode: ddp
|
| 190 |
+
[05-20 11:49:06|INFO|imaginaire/trainer.py:187:train] Starting training...
|
| 191 |
+
[05-20 11:49:06|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
|
| 192 |
+
[05-20 11:49:08|INFO|imaginaire/trainer.py:388:validate] Validating at iteration 0...
|
| 193 |
+
[05-20 11:49:49|INFO|imaginaire/trainer.py:193:train] Initial validation done.
|
| 194 |
+
[05-20 11:49:51|WARNING|imaginaire/utils/distributed.py:284:ddp_sync_grad] DDP static_graph=True is incompatible with sync_grad(). Performance will be reduced.
|
| 195 |
+
[05-20 11:51:40|INFO|imaginaire/trainer.py:116:__init__] Config:
|
| 196 |
+
* 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 0x7b8b98c5a950>}, '_target_': 'cosmos_predict2.models.world2action_model.World2ActionModelConfig'}, '_target_': <class 'cosmos_predict2.models.world2action_model.World2ActionModel'>}
|
| 197 |
+
* 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'}
|
| 198 |
+
* 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 0x7b8b8276f6d0>}
|
| 199 |
+
* 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'>}
|
| 200 |
+
* data_config: {'config_name': 'so101_lerobot', '_target_': <function get_data_config at 0x7b8b98c5a950>}
|
| 201 |
+
* video_dataset_train: None
|
| 202 |
+
* video_dataset_val: None
|
| 203 |
+
* 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 0x7b8dff895120>}, 'rank': {'with_context_parallel': False, 'partial_data_parallel': False, '_target_': <function get_data_parallel_rank at 0x7b8dff895240>}, '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'>}
|
| 204 |
+
* 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 0x7b8dff895120>}, 'rank': {'with_context_parallel': False, 'partial_data_parallel': False, '_target_': <function get_data_parallel_rank at 0x7b8dff895240>}, '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'>}
|
| 205 |
+
* job:
|
| 206 |
+
* project: vam
|
| 207 |
+
* group: so101
|
| 208 |
+
* name: w2a_so101_task1_slow_100ep_lora32_iter2500_75m_2gpu
|
| 209 |
+
* trainer:
|
| 210 |
+
* type: <class 'imaginaire.trainer.ImaginaireTrainer'>
|
| 211 |
+
* 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'>}}
|
| 212 |
+
* distributed_parallelism: ddp
|
| 213 |
+
* ddp:
|
| 214 |
+
* find_unused_parameters: False
|
| 215 |
+
* static_graph: True
|
| 216 |
+
* broadcast_buffers: True
|
| 217 |
+
* cudnn:
|
| 218 |
+
* deterministic: False
|
| 219 |
+
* benchmark: True
|
| 220 |
+
* seed: 0
|
| 221 |
+
* grad_scaler_args: {'enabled': False}
|
| 222 |
+
* max_iter: 8000
|
| 223 |
+
* max_val_iter: 16
|
| 224 |
+
* logging_iter: 1000
|
| 225 |
+
* run_validation: True
|
| 226 |
+
* validation_iter: 100
|
| 227 |
+
* timeout_period: 999999999
|
| 228 |
+
* memory_format: torch.preserve_format
|
| 229 |
+
* grad_accum_iter: 8
|
| 230 |
+
* profiling:
|
| 231 |
+
* enable_profiling: False
|
| 232 |
+
* enable_memory_snapshot: False
|
| 233 |
+
* profile_freq: 1
|
| 234 |
+
* first_n_rank: 4
|
| 235 |
+
* record_shape: True
|
| 236 |
+
* profile_memory: True
|
| 237 |
+
* with_stack: True
|
| 238 |
+
* with_modules: True
|
| 239 |
+
* 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)
|
| 240 |
+
* checkpoint:
|
| 241 |
+
* type: {'callbacks': None, '_target_': <class 'cosmos_predict2.checkpointer.Checkpointer'>}
|
| 242 |
+
* dcp_async_mode_enabled: False
|
| 243 |
+
* save_iter: 100
|
| 244 |
+
* load_path:
|
| 245 |
+
* load_training_state: False
|
| 246 |
+
* only_load_scheduler_state: False
|
| 247 |
+
* strict_resume: True
|
| 248 |
+
* jit:
|
| 249 |
+
* enabled: False
|
| 250 |
+
* input_shape: None
|
| 251 |
+
* device: cuda
|
| 252 |
+
* dtype: bfloat16
|
| 253 |
+
* strict: True
|
| 254 |
+
* verbose: True
|
| 255 |
+
* keys_not_to_resume: []
|
| 256 |
+
* broadcast_via_filesystem: False
|
| 257 |
+
* load_ema_to_reg: False
|
| 258 |
+
* dcp_allow_mismatched_size: False
|
| 259 |
+
* 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}]
|
| 260 |
+
[05-20 11:51:40|WARNING|imaginaire/utils/misc.py:127:print_environ_variables] Environment variable TORCH_HOME not set!
|
| 261 |
+
[05-20 11:51:40|WARNING|imaginaire/utils/misc.py:127:print_environ_variables] Environment variable IMAGINAIRE_OUTPUT_ROOT not set!
|
| 262 |
+
[05-20 11:51:40|INFO|imaginaire/utils/misc.py:139:set_random_seed] Using random seed 0.
|
| 263 |
+
[05-20 11:51:40|CRITICAL|imaginaire/utils/callback.py:77:__init__] Instantiating callback ema: {'config': None, 'trainer': None, '_target_': <class 'imaginaire.utils.callback.EMAModelCallback'>}
|
| 264 |
+
[05-20 11:51:40|CRITICAL|imaginaire/utils/callback.py:77:__init__] Instantiating callback progress_bar: {'config': None, 'trainer': None, '_target_': <class 'imaginaire.utils.callback.ProgressBarCallback'>}
|
| 265 |
+
[05-20 11:51:40|CRITICAL|imaginaire/utils/callback.py:77:__init__] Instantiating callback low_prec: {'config': None, 'trainer': None, 'update_iter': 1, '_target_': <class 'imaginaire.utils.callback.LowPrecisionCallback'>}
|
| 266 |
+
[05-20 11:51:40|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'>}
|
| 267 |
+
[05-20 11:51:40|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'>}
|
| 268 |
+
[05-20 11:51:40|CRITICAL|imaginaire/utils/callback.py:77:__init__] Instantiating callback manual_gc: {'warm_up': 5, 'every_n': 5, '_target_': <class 'imaginaire.callbacks.manual_gc.ManualGarbageCollection'>}
|
| 269 |
+
[05-20 11:51:40|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'>}
|
| 270 |
+
[05-20 11:51:40|CRITICAL|imaginaire/utils/callback.py:77:__init__] Instantiating callback wandb: {'mode': None, '_target_': <class 'cosmos_predict2.callbacks.wandb_logger.WandBLogger'>}
|
| 271 |
+
[05-20 11:51:42|CRITICAL|cosmos_predict2/models/world2action_model.py:106:__init__] Using mean loss reduce with loss scale 10.0
|
| 272 |
+
[05-20 11:51:42|WARNING|cosmos_predict2/pipelines/world2action.py:71:from_config] precision torch.bfloat16
|
| 273 |
+
[05-20 11:51:42|WARNING|cosmos_predict2/pipelines/world2action.py:101:from_config] dit_path not provided, initializing DiT with random weights
|
| 274 |
+
[05-20 11:51:42|WARNING|cosmos_predict2/pipelines/video2world.py:277:from_config] precision torch.bfloat16
|
| 275 |
+
[05-20 11:51:43|INFO|cosmos_predict2/tokenizers/tokenizer.py:687:_video_vae] Loading /home/shadeform/pdt-mimic/mimic-video/model/checkpoints/video_backbone//tokenizer/tokenizer.pth
|
| 276 |
+
[05-20 11:51:43|SUCCESS|cosmos_predict2/tokenizers/tokenizer.py:689:_video_vae] Successfully loaded /home/shadeform/pdt-mimic/mimic-video/model/checkpoints/video_backbone//tokenizer/tokenizer.pth
|
| 277 |
+
[05-20 11:51:43|INFO|imaginaire/utils/distributed.py:430:sync_model_states] Synchronizing model states from rank 0 to all ranks in process group [0, 1].
|
| 278 |
+
[05-20 11:51:43|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
|
| 279 |
+
[05-20 11:51:48|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
|
| 280 |
+
[05-20 11:51:48|INFO|cosmos_predict2/models/world2action_model.py:148:__init__] Total parameters: 2.04B, Frozen parameters: 1,956,413,440, Trainable parameters: 80,859,000
|
| 281 |
+
[05-20 11:51:48|INFO|cosmos_predict2/models/world2action_model.py:167:__init__] FSDP (Fully Sharded Data Parallel) is disabled.
|
| 282 |
+
[05-20 11:51:49|CRITICAL|cosmos_predict2/utils/optim_instantiate_dtensor.py:49:get_base_optimizer] total num parameters : 80,859,000
|
| 283 |
+
[05-20 11:51:49|WARNING|cosmos_predict2/utils/fused_adam_dtensor.py:103:__init__] FusedAdam master_weights: True capturable: True
|
| 284 |
+
[05-20 11:51:49|INFO|cosmos_predict2/checkpointer.py:288:load] Training from scratch.
|
| 285 |
+
[05-20 11:51:49|INFO|imaginaire/utils/misc.py:266:wrapper] Time spent on checkpoint loading: 0.0003 seconds
|
| 286 |
+
[05-20 11:51:49|CRITICAL|imaginaire/trainer.py:179:train] Distributed parallelism mode: ddp
|
| 287 |
+
[05-20 11:51:49|INFO|imaginaire/trainer.py:187:train] Starting training...
|
| 288 |
+
[05-20 11:51:49|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
|
| 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.
|