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: null
|
| 10 |
+
strict: 'True'
|
| 11 |
+
keep_latest_only: 'False'
|
| 12 |
+
keys_not_to_resume: []
|
| 13 |
+
load_ema_to_reg: 'False'
|
| 14 |
+
load_path: ''
|
| 15 |
+
load_training_state: 'False'
|
| 16 |
+
only_load_scheduler_state: 'False'
|
| 17 |
+
save_iter: '125'
|
| 18 |
+
strict_resume: 'True'
|
| 19 |
+
type:
|
| 20 |
+
_target_: <class 'cosmos_predict2.checkpointer.Checkpointer'>
|
| 21 |
+
callbacks: null
|
| 22 |
+
verbose: 'True'
|
| 23 |
+
data_config:
|
| 24 |
+
_target_: <function get_data_config at 0x7254fc497880>
|
| 25 |
+
config_name: so101_delta_30hz
|
| 26 |
+
dataloader_train:
|
| 27 |
+
_target_: <class 'torch.utils.data.dataloader.DataLoader'>
|
| 28 |
+
batch_sampler: null
|
| 29 |
+
batch_size:
|
| 30 |
+
_target_: <function get_local_batch_size at 0x7254db1afbe0>
|
| 31 |
+
global_bsz: '8'
|
| 32 |
+
collate_fn: null
|
| 33 |
+
dataset:
|
| 34 |
+
_target_: <function get_dataset at 0x7254f73de320>
|
| 35 |
+
data_config:
|
| 36 |
+
_target_: <function get_data_config at 0x7254fc497880>
|
| 37 |
+
config_name: so101_delta_30hz
|
| 38 |
+
is_train: 'True'
|
| 39 |
+
drop_last: 'True'
|
| 40 |
+
generator: null
|
| 41 |
+
in_order: 'False'
|
| 42 |
+
multiprocessing_context: null
|
| 43 |
+
num_workers: '2'
|
| 44 |
+
persistent_workers: 'True'
|
| 45 |
+
pin_memory: 'True'
|
| 46 |
+
pin_memory_device: ''
|
| 47 |
+
prefetch_factor: '8'
|
| 48 |
+
sampler:
|
| 49 |
+
_target_: <class 'cosmos_predict2.data.resumable_sampler.ResumableDistributedSampler'>
|
| 50 |
+
dataset:
|
| 51 |
+
_target_: <function get_dataset at 0x7254f73de320>
|
| 52 |
+
data_config:
|
| 53 |
+
_target_: <function get_data_config at 0x7254fc497880>
|
| 54 |
+
config_name: so101_delta_30hz
|
| 55 |
+
is_train: 'True'
|
| 56 |
+
num_replicas:
|
| 57 |
+
_target_: <function get_data_parallel_world_size at 0x725562ff5120>
|
| 58 |
+
partial_data_parallel: 'False'
|
| 59 |
+
with_context_parallel: 'False'
|
| 60 |
+
rank:
|
| 61 |
+
_target_: <function get_data_parallel_rank at 0x725562ff5240>
|
| 62 |
+
partial_data_parallel: 'False'
|
| 63 |
+
with_context_parallel: 'False'
|
| 64 |
+
seed: '0'
|
| 65 |
+
shuffle: 'True'
|
| 66 |
+
shuffle: null
|
| 67 |
+
timeout: '0'
|
| 68 |
+
worker_init_fn: null
|
| 69 |
+
dataloader_val:
|
| 70 |
+
_target_: <class 'torch.utils.data.dataloader.DataLoader'>
|
| 71 |
+
batch_sampler: null
|
| 72 |
+
batch_size: '1'
|
| 73 |
+
collate_fn: null
|
| 74 |
+
dataset:
|
| 75 |
+
_target_: <function get_dataset at 0x7254f73de320>
|
| 76 |
+
data_config:
|
| 77 |
+
_target_: <function get_data_config at 0x7254fc497880>
|
| 78 |
+
config_name: so101_delta_30hz
|
| 79 |
+
is_train: 'False'
|
| 80 |
+
drop_last: 'False'
|
| 81 |
+
generator: null
|
| 82 |
+
in_order: 'True'
|
| 83 |
+
multiprocessing_context: null
|
| 84 |
+
num_workers: '0'
|
| 85 |
+
persistent_workers: 'False'
|
| 86 |
+
pin_memory: 'False'
|
| 87 |
+
pin_memory_device: ''
|
| 88 |
+
prefetch_factor: null
|
| 89 |
+
sampler:
|
| 90 |
+
_target_: <class 'cosmos_predict2.data.resumable_sampler.ResumableDistributedSampler'>
|
| 91 |
+
dataset:
|
| 92 |
+
_target_: <function get_dataset at 0x7254f73de320>
|
| 93 |
+
data_config:
|
| 94 |
+
_target_: <function get_data_config at 0x7254fc497880>
|
| 95 |
+
config_name: so101_delta_30hz
|
| 96 |
+
is_train: 'False'
|
| 97 |
+
num_replicas:
|
| 98 |
+
_target_: <function get_data_parallel_world_size at 0x725562ff5120>
|
| 99 |
+
partial_data_parallel: 'False'
|
| 100 |
+
with_context_parallel: 'False'
|
| 101 |
+
rank:
|
| 102 |
+
_target_: <function get_data_parallel_rank at 0x725562ff5240>
|
| 103 |
+
partial_data_parallel: 'False'
|
| 104 |
+
with_context_parallel: 'False'
|
| 105 |
+
seed: '0'
|
| 106 |
+
shuffle: 'False'
|
| 107 |
+
shuffle: null
|
| 108 |
+
timeout: '0'
|
| 109 |
+
worker_init_fn: null
|
| 110 |
+
defaults:
|
| 111 |
+
- _self_
|
| 112 |
+
- data_config: null
|
| 113 |
+
- video_dataset_train: null
|
| 114 |
+
- video_dataset_val: null
|
| 115 |
+
- dataloader_train: null
|
| 116 |
+
- dataloader_val: null
|
| 117 |
+
- world2action_pipe: null
|
| 118 |
+
- optimizer: fusedadamw
|
| 119 |
+
- scheduler: constant
|
| 120 |
+
- model: null
|
| 121 |
+
- callbacks:
|
| 122 |
+
- basic
|
| 123 |
+
- net: null
|
| 124 |
+
- ema: null
|
| 125 |
+
- checkpoint: null
|
| 126 |
+
- ckpt_type: null
|
| 127 |
+
- experiment: null
|
| 128 |
+
job:
|
| 129 |
+
group: so101_delta_30hz
|
| 130 |
+
name: w2a_so101_delta_30hz_partial_bridge_init_v2w_bridge_lora_rank256_lr1.778e-04_bsz64_iter_000070043_fused_lr1.000e-04_layer20_bsz8
|
| 131 |
+
project: vam
|
| 132 |
+
model:
|
| 133 |
+
_target_: <class 'cosmos_predict2.models.world2action_model.World2ActionModel'>
|
| 134 |
+
config:
|
| 135 |
+
_target_: cosmos_predict2.models.world2action_model.World2ActionModelConfig
|
| 136 |
+
action_dit_path: /workspace/mimic_video/shared/checkpoints/action_decoder/w2a_bridge_v2w_bridge_lora_rank256_lr1.778e-04_bsz64_iter_000070043_fused_lr1.000e-04_layer20_bsz256_iter_000014112.pt
|
| 137 |
+
allow_partial_action_dit_load: 'True'
|
| 138 |
+
data_config:
|
| 139 |
+
_target_: <function get_data_config at 0x7254fc497880>
|
| 140 |
+
config_name: so101_delta_30hz
|
| 141 |
+
ema:
|
| 142 |
+
enabled: false
|
| 143 |
+
iteration_shift: 0
|
| 144 |
+
rate: 0.1
|
| 145 |
+
fsdp_shard_size: '0'
|
| 146 |
+
init_lora_weights: 'True'
|
| 147 |
+
lora_alpha: '16'
|
| 148 |
+
lora_rank: '16'
|
| 149 |
+
lora_target_modules: q_proj,k_proj,v_proj,output_proj,mlp.layer1,mlp.layer2
|
| 150 |
+
loss_reduce: mean
|
| 151 |
+
loss_scale: '10.0'
|
| 152 |
+
pipe_config:
|
| 153 |
+
_target_: cosmos_predict2.configs.config_world2action.World2ActionPipelineConfig
|
| 154 |
+
ema:
|
| 155 |
+
enabled: false
|
| 156 |
+
iteration_shift: 0
|
| 157 |
+
rate: 0.1
|
| 158 |
+
net:
|
| 159 |
+
_target_: <class 'cosmos_predict2.models.world2action_dit.World2ActionDIT'>
|
| 160 |
+
adaln_lora_dim: '128'
|
| 161 |
+
atten_backend: flash_attn_no_cp
|
| 162 |
+
crossattn_emb_channels: '2048'
|
| 163 |
+
in_channels: '6'
|
| 164 |
+
max_horizon: '91'
|
| 165 |
+
mlp_ratio: '4.0'
|
| 166 |
+
model_channels: '1024'
|
| 167 |
+
num_blocks: '24'
|
| 168 |
+
num_heads: '8'
|
| 169 |
+
out_channels: '6'
|
| 170 |
+
pair_timestep_feature_rank: '1024'
|
| 171 |
+
sac_config:
|
| 172 |
+
every_n_blocks: 1
|
| 173 |
+
mode: none
|
| 174 |
+
use_adaln_lora: 'True'
|
| 175 |
+
precision: bfloat16
|
| 176 |
+
scheduler:
|
| 177 |
+
alpha: 1.0
|
| 178 |
+
beta: 1.0
|
| 179 |
+
num_denoising_steps: 10
|
| 180 |
+
xattn_layer_idx: '20'
|
| 181 |
+
precision: bfloat16
|
| 182 |
+
train_architecture: base
|
| 183 |
+
video_dit_path: /workspace/mimic_video/shared/checkpoints/video_backbone/v2w_bridge_lora_rank256_lr1.778e-04_bsz64_iter_000070043_fused.pt
|
| 184 |
+
video_lora_alpha: '32'
|
| 185 |
+
video_lora_dit_path: /workspace/mimic_video/experiments/so101-multi-object-delta30/checkpoints/video_lora/checkpoints/model/iter_000001000.pt
|
| 186 |
+
video_lora_rank: '256'
|
| 187 |
+
video_lora_target_modules: q_proj,k_proj,v_proj,output_proj,x_embedder.proj.1,linear_1,linear_2,mlp.layer1,mlp.layer2
|
| 188 |
+
video_pipe_config:
|
| 189 |
+
adjust_video_noise: true
|
| 190 |
+
conditioner:
|
| 191 |
+
_target_: <class 'cosmos_predict2.conditioner.VideoConditioner'>
|
| 192 |
+
fps:
|
| 193 |
+
_target_: <class 'cosmos_predict2.conditioner.ReMapkey'>
|
| 194 |
+
dropout_rate: '0.0'
|
| 195 |
+
dtype: null
|
| 196 |
+
input_key: fps
|
| 197 |
+
output_key: fps
|
| 198 |
+
padding_mask:
|
| 199 |
+
_target_: <class 'cosmos_predict2.conditioner.ReMapkey'>
|
| 200 |
+
dropout_rate: '0.0'
|
| 201 |
+
dtype: null
|
| 202 |
+
input_key: padding_mask
|
| 203 |
+
output_key: padding_mask
|
| 204 |
+
text:
|
| 205 |
+
_target_: <class 'cosmos_predict2.conditioner.TextAttr'>
|
| 206 |
+
dropout_rate: '0.0'
|
| 207 |
+
input_key:
|
| 208 |
+
- obs/language_embedding
|
| 209 |
+
use_video_condition:
|
| 210 |
+
_target_: <class 'cosmos_predict2.conditioner.BooleanFlag'>
|
| 211 |
+
dropout_rate: '0.0'
|
| 212 |
+
input_key: fps
|
| 213 |
+
output_key: use_video_condition
|
| 214 |
+
conditioning_strategy: frame_replace
|
| 215 |
+
ema:
|
| 216 |
+
_target_: cosmos_predict2.configs.defaults.ema.EMAConfig
|
| 217 |
+
enabled: 'False'
|
| 218 |
+
iteration_shift: '0'
|
| 219 |
+
rate: '0.1'
|
| 220 |
+
guardrail_config:
|
| 221 |
+
checkpoint_dir: /workspace/mimic_video/shared/checkpoints
|
| 222 |
+
enabled: false
|
| 223 |
+
offload_model_to_cpu: true
|
| 224 |
+
input_image_key: images
|
| 225 |
+
input_video_key: video
|
| 226 |
+
max_num_conditional_frames: 2
|
| 227 |
+
min_num_conditional_frames: 1
|
| 228 |
+
net:
|
| 229 |
+
_target_: <class 'cosmos_predict2.models.video2world_dit.MinimalV1LVGDiT'>
|
| 230 |
+
adaln_lora_dim: '256'
|
| 231 |
+
atten_backend: minimal_a2a
|
| 232 |
+
concat_padding_mask: 'True'
|
| 233 |
+
extra_per_block_abs_pos_emb: 'False'
|
| 234 |
+
in_channels: '16'
|
| 235 |
+
max_frames: '128'
|
| 236 |
+
max_img_h: '240'
|
| 237 |
+
max_img_w: '240'
|
| 238 |
+
model_channels: '2048'
|
| 239 |
+
num_blocks: '28'
|
| 240 |
+
num_heads: '16'
|
| 241 |
+
out_channels: '16'
|
| 242 |
+
patch_spatial: '2'
|
| 243 |
+
patch_temporal: '1'
|
| 244 |
+
pos_emb_cls: rope3d
|
| 245 |
+
pos_emb_interpolation: crop
|
| 246 |
+
pos_emb_learnable: 'True'
|
| 247 |
+
rope_enable_fps_modulation: 'False'
|
| 248 |
+
rope_h_extrapolation_ratio: '3.0'
|
| 249 |
+
rope_t_extrapolation_ratio: '1.0'
|
| 250 |
+
rope_w_extrapolation_ratio: '3.0'
|
| 251 |
+
sac_config:
|
| 252 |
+
_target_: cosmos_predict2.models.text2image_dit.SACConfig
|
| 253 |
+
every_n_blocks: '1'
|
| 254 |
+
mode: predict2_2b_720
|
| 255 |
+
use_adaln_lora: 'True'
|
| 256 |
+
precision: bfloat16
|
| 257 |
+
rectified_flow_loss_weight_uniform: true
|
| 258 |
+
rectified_flow_t_scaling_factor: 1.0
|
| 259 |
+
resize_online: false
|
| 260 |
+
resolution: '480'
|
| 261 |
+
sigma_conditional: 0.0001
|
| 262 |
+
sigma_data: 1.0
|
| 263 |
+
state_ch: 16
|
| 264 |
+
state_t: 16
|
| 265 |
+
text_encoder:
|
| 266 |
+
cls: !!python/object/apply:imaginaire.constants.TextEncoderClass
|
| 267 |
+
- t5
|
| 268 |
+
t5:
|
| 269 |
+
ckpt_path: /workspace/mimic_video/shared/checkpoints/text_encoder/t5-11b
|
| 270 |
+
embed_dim: 1024
|
| 271 |
+
num_tokens: 512
|
| 272 |
+
timestamps:
|
| 273 |
+
is_forward: false
|
| 274 |
+
nfe: 35
|
| 275 |
+
order: 7.0
|
| 276 |
+
t_max: 80.0
|
| 277 |
+
t_min: 0.002
|
| 278 |
+
tokenizer:
|
| 279 |
+
_target_: <class 'cosmos_predict2.tokenizers.tokenizer.TokenizerInterface'>
|
| 280 |
+
chunk_duration: '81'
|
| 281 |
+
load_mean_std: 'False'
|
| 282 |
+
name: tokenizer
|
| 283 |
+
temporal_window: '16'
|
| 284 |
+
vae_pth: /workspace/mimic_video/shared/checkpoints/video_backbone//tokenizer/tokenizer.pth
|
| 285 |
+
model_parallel:
|
| 286 |
+
_cpu_offloading_context: null
|
| 287 |
+
async_tensor_model_parallel_allreduce: false
|
| 288 |
+
autocast_dtype: torch.float32
|
| 289 |
+
barrier_with_L1_time: true
|
| 290 |
+
batch_p2p_comm: true
|
| 291 |
+
batch_p2p_sync: true
|
| 292 |
+
bf16: false
|
| 293 |
+
context_parallel_size: 1
|
| 294 |
+
cpu_offloading: false
|
| 295 |
+
cpu_offloading_activations: false
|
| 296 |
+
cpu_offloading_num_layers: 0
|
| 297 |
+
cpu_offloading_weights: false
|
| 298 |
+
cross_entropy_fusion_impl: native
|
| 299 |
+
cross_entropy_loss_fusion: false
|
| 300 |
+
deallocate_pipeline_outputs: false
|
| 301 |
+
defer_embedding_wgrad_compute: false
|
| 302 |
+
deterministic_mode: false
|
| 303 |
+
enable_autocast: false
|
| 304 |
+
expert_model_parallel_size: 1
|
| 305 |
+
expert_tensor_parallel_size: 1
|
| 306 |
+
finalize_model_grads_func: null
|
| 307 |
+
fp16: false
|
| 308 |
+
grad_scale_func: null
|
| 309 |
+
grad_sync_func: null
|
| 310 |
+
gradient_accumulation_fusion: false
|
| 311 |
+
hierarchical_context_parallel_sizes: null
|
| 312 |
+
microbatch_group_size_per_vp_stage: 1
|
| 313 |
+
moe_extended_tp: false
|
| 314 |
+
no_sync_func: null
|
| 315 |
+
num_microbatches_with_partial_activation_checkpoints: null
|
| 316 |
+
overlap_p2p_comm: false
|
| 317 |
+
overlap_p2p_comm_warmup_flush: false
|
| 318 |
+
param_sync_func: null
|
| 319 |
+
params_dtype: torch.float32
|
| 320 |
+
perform_initialization: true
|
| 321 |
+
pipeline_dtype: null
|
| 322 |
+
pipeline_model_parallel_comm_backend: null
|
| 323 |
+
pipeline_model_parallel_size: 1
|
| 324 |
+
pipeline_model_parallel_split_rank: null
|
| 325 |
+
sequence_parallel: false
|
| 326 |
+
tensor_model_parallel_size: 1
|
| 327 |
+
timers: null
|
| 328 |
+
tp_comm_atomic_ag: false
|
| 329 |
+
tp_comm_atomic_rs: false
|
| 330 |
+
tp_comm_bootstrap_backend: nccl
|
| 331 |
+
tp_comm_bulk_dgrad: true
|
| 332 |
+
tp_comm_bulk_wgrad: true
|
| 333 |
+
tp_comm_overlap: false
|
| 334 |
+
tp_comm_overlap_ag: true
|
| 335 |
+
tp_comm_overlap_disable_fc1: false
|
| 336 |
+
tp_comm_overlap_disable_qkv: false
|
| 337 |
+
tp_comm_overlap_rs: true
|
| 338 |
+
tp_comm_overlap_rs_dgrad: false
|
| 339 |
+
tp_comm_split_ag: true
|
| 340 |
+
tp_comm_split_rs: true
|
| 341 |
+
use_cpu_initialization: false
|
| 342 |
+
use_ring_exchange_p2p: false
|
| 343 |
+
use_te_rng_tracker: false
|
| 344 |
+
variable_seq_lengths: false
|
| 345 |
+
virtual_pipeline_model_parallel_size: null
|
| 346 |
+
wgrad_deferral_limit: 0
|
| 347 |
+
optimizer:
|
| 348 |
+
_target_: <function get_base_optimizer at 0x7254dc38c790>
|
| 349 |
+
betas:
|
| 350 |
+
- '0.9'
|
| 351 |
+
- '0.99'
|
| 352 |
+
capturable: 'True'
|
| 353 |
+
eps: 1e-08
|
| 354 |
+
lr: '0.0001'
|
| 355 |
+
master_weights: 'True'
|
| 356 |
+
model: null
|
| 357 |
+
optim_type: fusedadam
|
| 358 |
+
weight_decay: '0.1'
|
| 359 |
+
scheduler:
|
| 360 |
+
_target_: <class 'cosmos_predict2.functional.lr_scheduler.LambdaLinearScheduler'>
|
| 361 |
+
cycle_lengths:
|
| 362 |
+
- '500000'
|
| 363 |
+
f_max:
|
| 364 |
+
- '1'
|
| 365 |
+
f_min:
|
| 366 |
+
- '0.2'
|
| 367 |
+
f_start:
|
| 368 |
+
- 1e-06
|
| 369 |
+
verbosity_interval: '0'
|
| 370 |
+
warm_up_steps:
|
| 371 |
+
- '1000'
|
| 372 |
+
trainer:
|
| 373 |
+
callbacks:
|
| 374 |
+
device_monitor:
|
| 375 |
+
_target_: <class 'cosmos_predict2.callbacks.device_monitor.DeviceMonitor'>
|
| 376 |
+
every_n: '100'
|
| 377 |
+
log_memory_detail: 'True'
|
| 378 |
+
step_size: '1'
|
| 379 |
+
ema:
|
| 380 |
+
_target_: <class 'imaginaire.utils.callback.EMAModelCallback'>
|
| 381 |
+
config: null
|
| 382 |
+
trainer: null
|
| 383 |
+
grad_clip:
|
| 384 |
+
_target_: <class 'cosmos_predict2.callbacks.grad_clip.GradClip'>
|
| 385 |
+
clip_norm: '10.0'
|
| 386 |
+
force_finite: 'True'
|
| 387 |
+
log_wandb: 'False'
|
| 388 |
+
iter_speed:
|
| 389 |
+
_target_: <class 'cosmos_predict2.callbacks.iter_speed.IterSpeed'>
|
| 390 |
+
every_n: '100'
|
| 391 |
+
hit_thres: '5'
|
| 392 |
+
low_prec:
|
| 393 |
+
_target_: <class 'imaginaire.utils.callback.LowPrecisionCallback'>
|
| 394 |
+
config: null
|
| 395 |
+
trainer: null
|
| 396 |
+
update_iter: '1'
|
| 397 |
+
manual_gc:
|
| 398 |
+
_target_: <class 'imaginaire.callbacks.manual_gc.ManualGarbageCollection'>
|
| 399 |
+
every_n: '5'
|
| 400 |
+
warm_up: '5'
|
| 401 |
+
progress_bar:
|
| 402 |
+
_target_: <class 'imaginaire.utils.callback.ProgressBarCallback'>
|
| 403 |
+
config: null
|
| 404 |
+
trainer: null
|
| 405 |
+
wandb:
|
| 406 |
+
_target_: <class 'imaginaire.utils.callback.WandbCallback'>
|
| 407 |
+
enabled: null
|
| 408 |
+
entity: null
|
| 409 |
+
log_every_n: null
|
| 410 |
+
mode: null
|
| 411 |
+
project: null
|
| 412 |
+
cudnn:
|
| 413 |
+
benchmark: 'True'
|
| 414 |
+
deterministic: 'False'
|
| 415 |
+
ddp:
|
| 416 |
+
broadcast_buffers: 'True'
|
| 417 |
+
find_unused_parameters: 'False'
|
| 418 |
+
static_graph: 'True'
|
| 419 |
+
distributed_parallelism: ddp
|
| 420 |
+
grad_accum_iter: '8'
|
| 421 |
+
grad_scaler_args:
|
| 422 |
+
enabled: 'False'
|
| 423 |
+
logging_iter: '100'
|
| 424 |
+
max_iter: '4000'
|
| 425 |
+
max_val_iter: null
|
| 426 |
+
memory_format: torch.preserve_format
|
| 427 |
+
profiling:
|
| 428 |
+
enable_memory_snapshot: 'False'
|
| 429 |
+
enable_profiling: 'False'
|
| 430 |
+
first_n_rank: '4'
|
| 431 |
+
profile_freq: '1'
|
| 432 |
+
profile_memory: 'True'
|
| 433 |
+
record_shape: 'True'
|
| 434 |
+
with_modules: 'True'
|
| 435 |
+
with_stack: 'True'
|
| 436 |
+
run_validation: 'False'
|
| 437 |
+
seed: '0'
|
| 438 |
+
timeout_period: '999999999'
|
| 439 |
+
type: <class 'imaginaire.trainer.ImaginaireTrainer'>
|
| 440 |
+
validation_iter: '1000'
|
| 441 |
+
video_dataset_train: null
|
| 442 |
+
video_dataset_val: null
|
| 443 |
+
world2action_pipe:
|
| 444 |
+
_target_: cosmos_predict2.configs.config_world2action.World2ActionPipelineConfig
|
| 445 |
+
ema:
|
| 446 |
+
enabled: false
|
| 447 |
+
iteration_shift: 0
|
| 448 |
+
rate: 0.1
|
| 449 |
+
net:
|
| 450 |
+
_target_: <class 'cosmos_predict2.models.world2action_dit.World2ActionDIT'>
|
| 451 |
+
adaln_lora_dim: '128'
|
| 452 |
+
atten_backend: flash_attn_no_cp
|
| 453 |
+
crossattn_emb_channels: '2048'
|
| 454 |
+
in_channels: '6'
|
| 455 |
+
max_horizon: '16'
|
| 456 |
+
mlp_ratio: '4.0'
|
| 457 |
+
model_channels: '1024'
|
| 458 |
+
num_blocks: '24'
|
| 459 |
+
num_heads: '8'
|
| 460 |
+
out_channels: '6'
|
| 461 |
+
pair_timestep_feature_rank: '1024'
|
| 462 |
+
sac_config:
|
| 463 |
+
every_n_blocks: 1
|
| 464 |
+
mode: none
|
| 465 |
+
use_adaln_lora: 'True'
|
| 466 |
+
precision: bfloat16
|
| 467 |
+
scheduler:
|
| 468 |
+
alpha: 1.0
|
| 469 |
+
beta: 1.0
|
| 470 |
+
num_denoising_steps: 10
|