File size: 16,303 Bytes
d8af39a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
2026-05-19 21:56:09,558 INFO    MainThread:107930 [wandb_setup.py:_flush():81] Current SDK version is 0.26.1
2026-05-19 21:56:09,558 INFO    MainThread:107930 [wandb_setup.py:_flush():81] Configure stats pid to 107930
2026-05-19 21:56:09,558 INFO    MainThread:107930 [wandb_setup.py:_flush():81] Loading settings from environment variables
2026-05-19 21:56:09,558 INFO    MainThread:107930 [wandb_init.py:setup_run_log_directory():723] Logging user logs to /scratch/user/yuhwang/artifacts/twoframe/pants_wan22_finetune/pants_b16_9k_20260519_215532/tracker/wandb/offline-run-20260519_215609-2dcsowl9/logs/debug.log
2026-05-19 21:56:09,558 INFO    MainThread:107930 [wandb_init.py:setup_run_log_directory():724] Logging internal logs to /scratch/user/yuhwang/artifacts/twoframe/pants_wan22_finetune/pants_b16_9k_20260519_215532/tracker/wandb/offline-run-20260519_215609-2dcsowl9/logs/debug-internal.log
2026-05-19 21:56:09,558 INFO    MainThread:107930 [wandb_init.py:init():850] calling init triggers
2026-05-19 21:56:09,558 INFO    MainThread:107930 [wandb_init.py:init():855] wandb.init called with sweep_config: {}
config: {'model_path': '/scratch/user/yuhwang/model/Wan2.2-TI2V-5B-Diffusers-merged', 'mode': <ExecutionMode.INFERENCE: 'inference'>, 'workload_type': <WorkloadType.T2V: 't2v'>, 'distributed_executor_backend': 'mp', 'ray_placement_group': None, 'ray_runtime_env': None, 'inference_mode': False, 'trust_remote_code': False, 'revision': None, 'num_gpus': 8, 'tp_size': 1, 'sp_size': 1, 'hsdp_replicate_dim': 8, 'hsdp_shard_dim': 1, 'dist_timeout': None, 'pipeline_config': {'model_path': '/scratch/user/yuhwang/model/Wan2.2-TI2V-5B-Diffusers-merged', 'pipeline_config_path': None, 'embedded_cfg_scale': 6.0, 'flow_shift': 3.0, 'flow_shift_sr': None, 'disable_autocast': False, 'is_causal': False, 'dit_config': {'arch_config': {'stacked_params_mapping': [], '_fsdp_shard_conditions': ['is_blocks'], '_compile_conditions': ['is_blocks'], 'param_names_mapping': {'^patch_embedding\\.(.*)$': 'patch_embedding.proj.\\1', '^condition_embedder\\.text_embedder\\.linear_1\\.(.*)$': 'condition_embedder.text_embedder.fc_in.\\1', '^condition_embedder\\.text_embedder\\.linear_2\\.(.*)$': 'condition_embedder.text_embedder.fc_out.\\1', '^condition_embedder\\.time_embedder\\.linear_1\\.(.*)$': 'condition_embedder.time_embedder.mlp.fc_in.\\1', '^condition_embedder\\.time_embedder\\.linear_2\\.(.*)$': 'condition_embedder.time_embedder.mlp.fc_out.\\1', '^condition_embedder\\.time_proj\\.(.*)$': 'condition_embedder.time_modulation.linear.\\1', '^condition_embedder\\.image_embedder\\.ff\\.net\\.0\\.proj\\.(.*)$': 'condition_embedder.image_embedder.ff.fc_in.\\1', '^condition_embedder\\.image_embedder\\.ff\\.net\\.2\\.(.*)$': 'condition_embedder.image_embedder.ff.fc_out.\\1', '^blocks\\.(\\d+)\\.attn1\\.to_q\\.(.*)$': 'blocks.\\1.to_q.\\2', '^blocks\\.(\\d+)\\.attn1\\.to_k\\.(.*)$': 'blocks.\\1.to_k.\\2', '^blocks\\.(\\d+)\\.attn1\\.to_v\\.(.*)$': 'blocks.\\1.to_v.\\2', '^blocks\\.(\\d+)\\.attn1\\.to_out\\.0\\.(.*)$': 'blocks.\\1.to_out.\\2', '^blocks\\.(\\d+)\\.attn1\\.norm_q\\.(.*)$': 'blocks.\\1.norm_q.\\2', '^blocks\\.(\\d+)\\.attn1\\.norm_k\\.(.*)$': 'blocks.\\1.norm_k.\\2', '^blocks\\.(\\d+)\\.attn2\\.to_out\\.0\\.(.*)$': 'blocks.\\1.attn2.to_out.\\2', '^blocks\\.(\\d+)\\.ffn\\.net\\.0\\.proj\\.(.*)$': 'blocks.\\1.ffn.fc_in.\\2', '^blocks\\.(\\d+)\\.ffn\\.net\\.2\\.(.*)$': 'blocks.\\1.ffn.fc_out.\\2', '^blocks\\.(\\d+)\\.norm2\\.(.*)$': 'blocks.\\1.self_attn_residual_norm.norm.\\2'}, 'reverse_param_names_mapping': {}, 'lora_param_names_mapping': {'^blocks\\.(\\d+)\\.self_attn\\.q\\.(.*)$': 'blocks.\\1.attn1.to_q.\\2', '^blocks\\.(\\d+)\\.self_attn\\.k\\.(.*)$': 'blocks.\\1.attn1.to_k.\\2', '^blocks\\.(\\d+)\\.self_attn\\.v\\.(.*)$': 'blocks.\\1.attn1.to_v.\\2', '^blocks\\.(\\d+)\\.self_attn\\.o\\.(.*)$': 'blocks.\\1.attn1.to_out.0.\\2', '^blocks\\.(\\d+)\\.cross_attn\\.q\\.(.*)$': 'blocks.\\1.attn2.to_q.\\2', '^blocks\\.(\\d+)\\.cross_attn\\.k\\.(.*)$': 'blocks.\\1.attn2.to_k.\\2', '^blocks\\.(\\d+)\\.cross_attn\\.v\\.(.*)$': 'blocks.\\1.attn2.to_v.\\2', '^blocks\\.(\\d+)\\.cross_attn\\.o\\.(.*)$': 'blocks.\\1.attn2.to_out.0.\\2', '^blocks\\.(\\d+)\\.ffn\\.0\\.(.*)$': 'blocks.\\1.ffn.fc_in.\\2', '^blocks\\.(\\d+)\\.ffn\\.2\\.(.*)$': 'blocks.\\1.ffn.fc_out.\\2'}, '_supported_attention_backends': [3, 1, 2, 5, 7, 4, 8, 9], 'hidden_size': 5120, 'num_attention_heads': 40, 'num_channels_latents': 16, 'in_channels': 16, 'out_channels': 16, 'exclude_lora_layers': ['embedder'], 'boundary_ratio': None, 'patch_size': [1, 2, 2], 'attention_head_dim': 128, 'text_dim': 4096, 'freq_dim': 256, 'ffn_dim': 13824, 'num_layers': 40, 'cross_attn_norm': True, 'qk_norm': 'rms_norm_across_heads', 'eps': 1e-06, 'image_dim': None, 'added_kv_proj_dim': None, 'rope_max_seq_len': 1024, 'pos_embed_seq_len': None, 'local_attn_size': -1, 'sink_size': 0, 'num_frames_per_block': 3, 'sliding_window_num_frames': 21}, 'prefix': 'Wan', 'quant_config': None}, 'dit_precision': 'fp32', 'upsampler_config': {'arch_config': {'stacked_params_mapping': []}}, 'upsampler_precision': 'fp32', 'vae_config': {'arch_config': {'stacked_params_mapping': [], 'scaling_factor': [[[[[2.0986359119415283]]], [[[0.9648784399032593]]], [[[2.215330123901367]]], [[[0.85638427734375]]], [[[1.8821758031845093]]], [[[2.0040080547332764]]], [[[2.075550079345703]]], [[[1.9948135614395142]]], [[[1.2257906198501587]]], [[[0.9667440056800842]]], [[[1.6966407299041748]]], [[[0.9173470139503479]]], [[[1.4524328708648682]]], [[[1.622059941291809]]], [[[1.1828720569610596]]], [[[2.0088388919830322]]], [[[1.736412525177002]]], [[[2.8384900093078613]]], [[[1.4015417098999023]]], [[[1.4697237014770508]]], [[[1.7143837213516235]]], [[[0.7069135904312134]]], [[[1.1128422021865845]]], [[[1.7670965194702148]]], [[[1.414627194404602]]], [[[1.8733607530593872]]], [[[2.045408010482788]]], [[[2.0337605476379395]]], [[[2.457606315612793]]], [[[2.0004000663757324]]], [[[1.4564520120620728]]], [[[2.4431958198547363]]], [[[1.7516201734542847]]], [[[1.6488045454025269]]], [[[1.5588464736938477]]], [[[2.022653818130493]]], [[[1.7464197874069214]]], [[[0.830426812171936]]], [[[1.8321731090545654]]], [[[0.5921714901924133]]], [[[2.5182573795318604]]], [[[0.943396270275116]]], [[[2.536139965057373]]], [[[1.8060322999954224]]], [[[1.8368847370147705]]], [[[2.4455857276916504]]], [[[1.339046597480774]]], [[[1.2913223505020142]]]]], 'temporal_compression_ratio': 4, 'spatial_compression_ratio': 16, 'base_dim': 160, 'decoder_base_dim': 256, 'z_dim': 48, 'dim_mult': [1, 2, 4, 4], 'num_res_blocks': 2, 'attn_scales': [], 'temperal_downsample': [False, True, True], 'dropout': 0.0, 'latents_mean': [-0.2289, -0.0052, -0.1323, -0.2339, -0.2799, 0.0174, 0.1838, 0.1557, -0.1382, 0.0542, 0.2813, 0.0891, 0.157, -0.0098, 0.0375, -0.1825, -0.2246, -0.1207, -0.0698, 0.5109, 0.2665, -0.2108, -0.2158, 0.2502, -0.2055, -0.0322, 0.1109, 0.1567, -0.0729, 0.0899, -0.2799, -0.123, -0.0313, -0.1649, 0.0117, 0.0723, -0.2839, -0.2083, -0.052, 0.3748, 0.0152, 0.1957, 0.1433, -0.2944, 0.3573, -0.0548, -0.1681, -0.0667], 'latents_std': [0.4765, 1.0364, 0.4514, 1.1677, 0.5313, 0.499, 0.4818, 0.5013, 0.8158, 1.0344, 0.5894, 1.0901, 0.6885, 0.6165, 0.8454, 0.4978, 0.5759, 0.3523, 0.7135, 0.6804, 0.5833, 1.4146, 0.8986, 0.5659, 0.7069, 0.5338, 0.4889, 0.4917, 0.4069, 0.4999, 0.6866, 0.4093, 0.5709, 0.6065, 0.6415, 0.4944, 0.5726, 1.2042, 0.5458, 1.6887, 0.3971, 1.06, 0.3943, 0.5537, 0.5444, 0.4089, 0.7468, 0.7744], 'is_residual': True, 'in_channels': 12, 'out_channels': 12, 'patch_size': 2, 'scale_factor_temporal': 4, 'scale_factor_spatial': 16, 'clip_output': False}, 'load_encoder': False, 'load_decoder': True, 'tile_sample_min_height': 256, 'tile_sample_min_width': 256, 'tile_sample_min_num_frames': 16, 'tile_sample_stride_height': 192, 'tile_sample_stride_width': 192, 'tile_sample_stride_num_frames': 12, 'blend_num_frames': 8, 'use_tiling': False, 'use_temporal_tiling': False, 'use_parallel_tiling': False, 'use_temporal_scaling_frames': True, 'use_feature_cache': True}, 'vae_precision': 'fp32', 'vae_tiling': False, 'vae_sp': False, 'image_encoder_config': {'arch_config': {'stacked_params_mapping': [], 'architectures': [], '_supported_attention_backends': [1, 2], 'output_hidden_states': False, 'use_return_dict': True}, 'prefix': '', 'quant_config': None, 'lora_config': None}, 'image_encoder_precision': 'fp32', 'text_encoder_configs': [{'arch_config': {'stacked_params_mapping': [['.qkv_proj', '.q', 'q'], ['.qkv_proj', '.k', 'k'], ['.qkv_proj', '.v', 'v']], 'architectures': [], '_supported_attention_backends': [1, 2], 'output_hidden_states': False, 'use_return_dict': True, 'vocab_size': 32128, 'hidden_size': 512, 'num_hidden_layers': 0, 'num_attention_heads': 0, 'pad_token_id': 0, 'eos_token_id': 1, 'text_len': 512, 'hidden_state_skip_layer': 0, 'decoder_start_token_id': 0, 'output_past': True, 'scalable_attention': True, 'tie_word_embeddings': False, 'tokenizer_kwargs': {'truncation': True, 'max_length': 512, 'add_special_tokens': True, 'return_attention_mask': True, 'return_tensors': 'pt'}, '_fsdp_shard_conditions': ['_is_transformer_layer', '_is_embeddings', '_is_final_layernorm'], 'd_model': 512, 'd_kv': 64, 'd_ff': 2048, 'num_layers': 6, 'num_decoder_layers': None, 'num_heads': 8, 'relative_attention_num_buckets': 32, 'relative_attention_max_distance': 128, 'dropout_rate': 0.1, 'layer_norm_epsilon': 1e-06, 'initializer_factor': 1.0, 'feed_forward_proj': 'relu', 'dense_act_fn': 'relu', 'is_gated_act': False, 'is_encoder_decoder': True, 'use_cache': True, 'classifier_dropout': 0.0, 'dtype': None, 'gradient_checkpointing': False, 'n_positions': 512, 'task_specific_params': None}, 'prefix': 't5', 'quant_config': None, 'lora_config': None, 'is_chat_model': False, 'treat_empty_as_dot': False}], 'text_encoder_precisions': ['fp32'], 'preprocess_text_funcs': ['preprocess_text'], 'postprocess_text_funcs': ['t5_postprocess_text'], 'dmd_denoising_steps': None, 'ti2v_task': False, 'boundary_ratio': None, 'precision': 'bf16', 'warp_denoising_step': True}, 'preprocess_config': None, 'lora_path': None, 'lora_nickname': 'default', 'lora_target_modules': None, 'output_type': 'pil', 'dit_cpu_offload': False, 'use_fsdp_inference': False, 'dit_layerwise_offload': False, 'text_encoder_cpu_offload': False, 'image_encoder_cpu_offload': False, 'vae_cpu_offload': False, 'pin_cpu_memory': False, 'enable_torch_compile': False, 'enable_torch_compile_text_encoder': False, 'enable_torch_compile_vae': False, 'enable_torch_compile_audio_vae': False, 'torch_compile_kwargs': None, 'torch_compile_kwargs_dit': {}, 'torch_compile_kwargs_text_encoder': {}, 'torch_compile_kwargs_vae': {}, 'torch_compile_kwargs_audio_vae': {}, 'disable_autocast': False, 'VSA_sparsity': 0.0, 'moba_config_path': None, 'moba_config': {}, 'master_port': None, 'enable_stage_verification': True, 'prompt_txt': None, 'ltx2_vae_tiling': None, 'ltx2_vae_spatial_tile_size_in_pixels': None, 'ltx2_vae_spatial_tile_overlap_in_pixels': None, 'ltx2_vae_temporal_tile_size_in_frames': None, 'ltx2_vae_temporal_tile_overlap_in_frames': None, 'ltx2_initial_latent_path': None, 'ltx2_audio_latent_path': None, 'refine_enabled': None, 'refine_upsampler_path': None, 'refine_transformer_path': None, 'refine_lora_path': None, 'refine_num_inference_steps': None, 'refine_guidance_scale': None, 'refine_add_noise': None, 'refine_noise_path': None, 'refine_audio_noise_path': None, 'ltx2_refine_enabled': False, 'ltx2_refine_upsampler_path': None, 'ltx2_refine_transformer_path': None, 'ltx2_refine_lora_path': None, 'ltx2_refine_num_inference_steps': 3, 'ltx2_refine_guidance_scale': 1.0, 'ltx2_refine_add_noise': True, 'ltx2_refine_noise_path': None, 'ltx2_refine_audio_noise_path': None, 'ltx2_legacy_native_noise_order': False, 'ltx2_use_distilled_sigmas': True, 'model_paths': {'transformer': '/scratch/user/yuhwang/model/Wan2.2-TI2V-5B-Diffusers-merged/transformer', 'vae': '/scratch/user/yuhwang/model/Wan2.2-TI2V-5B-Diffusers-merged/vae'}, 'model_loaded': {'transformer': True, 'vae': True, 'upsampler': True}, 'override_text_encoder_safetensors': None, 'override_text_encoder_quant': None, 'transformer_quant': None, 'override_transformer_cls_name': None, 'init_weights_from_safetensors': None, 'init_weights_from_safetensors_2': None, 'override_pipeline_cls_name': None, 'boundary_ratio': 0.875, 'data_path': '/scratch/user/yuhwang/dataset/pants-captions-ldm/cache/wan22_pants_v2_softwin', 'dataloader_num_workers': 2, 'num_height': 320, 'num_width': 288, 'num_frames': 153, 'train_batch_size': 16, 'num_latent_t': 39, 'group_frame': False, 'group_resolution': False, 'pretrained_model_name_or_path': '/scratch/user/yuhwang/model/Wan2.2-TI2V-5B-Diffusers-merged', 'real_score_model_path': None, 'fake_score_model_path': None, 'ema_decay': 0.999, 'ema_start_step': 1, 'training_cfg_rate': 0.05, 'precondition_outputs': False, 'validation_dataset_file': None, 'validation_preprocessed_path': None, 'validation_sampling_steps': None, 'validation_guidance_scale': None, 'validation_steps': None, 'log_validation': False, 'trackers': [], 'tracker_project_name': 'pants_wan22_fullrep', 'wandb_run_name': 'pants_b16_9k_20260519_215532', 'seed': 42, 'output_dir': '/scratch/user/yuhwang/artifacts/twoframe/pants_wan22_finetune/pants_b16_9k_20260519_215532', 'checkpoints_total_limit': 2, 'resume_from_checkpoint': None, 'num_train_epochs': None, 'max_train_steps': 9000, 'gradient_accumulation_steps': 1, 'learning_rate': 1e-06, 'scale_lr': False, 'lr_scheduler': 'constant', 'lr_warmup_steps': 0, 'max_grad_norm': 1.0, 'enable_gradient_checkpointing_type': 'full', 'selective_checkpointing': None, 'mixed_precision': 'bf16', 'train_sp_batch_size': 1, 'fsdp_sharding_startegy': '', 'weighting_scheme': 'uniform', 'logit_mean': 0.0, 'logit_std': 1.0, 'mode_scale': 1.29, 'num_euler_timesteps': 50, 'lr_num_cycles': None, 'lr_power': None, 'min_lr_ratio': 0.5, 'not_apply_cfg_solver': False, 'distill_cfg': None, 'scheduler_type': None, 'linear_quadratic_threshold': None, 'linear_range': None, 'weight_decay': 0.01, 'betas': '0.9,0.999', 'use_ema': True, 'multi_phased_distill_schedule': None, 'pred_decay_weight': None, 'pred_decay_type': None, 'hunyuan_teacher_disable_cfg': False, 'master_weight_type': None, 'VSA_decay_rate': 0.01, 'VSA_decay_interval_steps': 1, 'lora_rank': None, 'lora_alpha': None, 'lora_training': False, 'ltx2_first_frame_conditioning_p': 0.1, 'generator_update_interval': 5, 'dfake_gen_update_ratio': 5, 'min_timestep_ratio': 0.2, 'max_timestep_ratio': 0.98, 'real_score_guidance_scale': 3.5, 'fake_score_learning_rate': 0.0, 'fake_score_lr_scheduler': 'constant', 'fake_score_betas': '0.9,0.999', 'training_state_checkpointing_steps': 4000, 'weight_only_checkpointing_steps': None, 'log_visualization': False, 'visualization_steps': None, 'simulate_generator_forward': False, 'warp_denoising_step': False, 'num_frame_per_block': 3, 'independent_first_frame': False, 'enable_gradient_masking': False, 'gradient_mask_last_n_frames': 21, 'same_step_across_blocks': False, 'last_step_only': False, 'context_noise': 0, '_wandb': {}}
2026-05-19 21:56:09,558 INFO    MainThread:107930 [wandb_init.py:init():898] starting backend
2026-05-19 21:56:09,805 INFO    MainThread:107930 [wandb_init.py:init():913] sending inform_init request
2026-05-19 21:56:10,039 INFO    MainThread:107930 [wandb_init.py:init():918] backend started and connected
2026-05-19 21:56:10,041 INFO    MainThread:107930 [wandb_init.py:init():988] updated telemetry
2026-05-19 21:56:10,044 INFO    MainThread:107930 [wandb_init.py:init():1011] communicating run to backend with 90.0 second timeout
2026-05-19 21:56:10,051 INFO    MainThread:107930 [wandb_init.py:init():1056] starting run threads in backend
2026-05-19 21:56:10,141 INFO    MainThread:107930 [wandb_run.py:_console_start():2554] atexit reg
2026-05-19 21:56:10,141 INFO    MainThread:107930 [wandb_run.py:_redirect():2403] redirect: wrap_raw
2026-05-19 21:56:10,141 INFO    MainThread:107930 [wandb_run.py:_redirect():2472] Wrapping output streams.
2026-05-19 21:56:10,141 INFO    MainThread:107930 [wandb_run.py:_redirect():2495] Redirects installed.
2026-05-19 21:56:10,144 INFO    MainThread:107930 [wandb_init.py:init():1094] run started, returning control to user process