SnoopyFan commited on
Commit
7bb1805
·
verified ·
1 Parent(s): 5944de3

Add files using upload-large-folder tool

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +15 -0
  2. LongVid/experiments/lm_aifm_anyflow_replay_smoke_1b/train_anyflow_replay_smoke_1b.yml +80 -0
  3. LongVid/experiments/lm_aifm_anyflow_replay_smoke_1b/train_lm_aifm_anyflow_replay_smoke_1b_20260809_123641.log +0 -0
  4. LongVid/experiments/lm_aifm_core_pilot_1b_identity_smoke/train_lm_aifm_core_pilot_1b.yml +165 -0
  5. LongVid/experiments/lm_aifm_core_pilot_1b_identity_smoke/train_lm_aifm_core_pilot_1b_identity_smoke_20260809_125702.log +0 -0
  6. LongVid/experiments/lm_aifm_core_pilot_1b_main/models/checkpoint_step20/.metadata +3 -0
  7. LongVid/experiments/lm_aifm_core_pilot_1b_main/models/checkpoint_step20/__0_0.distcp +3 -0
  8. LongVid/experiments/lm_aifm_core_pilot_1b_main/models/checkpoint_step20/__1_0.distcp +3 -0
  9. LongVid/experiments/lm_aifm_core_pilot_1b_main/models/checkpoint_step20/__3_0.distcp +3 -0
  10. LongVid/experiments/lm_aifm_core_pilot_1b_main/models/checkpoint_step20/__7_0.distcp +3 -0
  11. LongVid/experiments/lm_aifm_core_pilot_1b_main/train_lm_aifm_core_pilot_1b.yml +165 -0
  12. LongVid/experiments/lm_aifm_core_pilot_1b_main/train_lm_aifm_core_pilot_1b_main_20260809_130006.log +0 -0
  13. LongVid/experiments/lm_aifm_core_pilot_1b_main/train_lm_aifm_core_pilot_1b_main_20260809_131459.log +0 -0
  14. LongVid/experiments/lm_aifm_core_pilot_1b_smoke/train_lm_aifm_core_pilot_1b.yml +165 -0
  15. LongVid/experiments/lm_aifm_core_pilot_1b_smoke/train_lm_aifm_core_pilot_1b_smoke_20260809_124627.log +0 -0
  16. LongVid/experiments/lm_aifm_formal_gate_a_smoke_1b/train_lm_aifm_formal_gate_a_smoke_1b.yml +164 -0
  17. LongVid/experiments/lm_aifm_formal_gate_a_smoke_1b/train_lm_aifm_formal_gate_a_smoke_1b_20260809_164823.log +0 -0
  18. LongVid/experiments/lm_aifm_formal_gate_a_smoke_1b/train_lm_aifm_formal_gate_a_smoke_1b_20260809_165301.log +0 -0
  19. LongVid/experiments/lm_aifm_formal_gate_a_smoke_1b/train_lm_aifm_formal_gate_a_smoke_1b_20260809_165905.log +0 -0
  20. LongVid/experiments/lm_aifm_same_observation_teacher_b32_smoke_1b/train_lm_aifm_same_observation_teacher_b32_smoke_1b_20260810_071851.log +0 -0
  21. LongVid/experiments/lm_aifm_same_observation_teacher_b32_smoke_1b/train_lm_aifm_same_observation_teacher_phase1_1b.yml +104 -0
  22. LongVid/experiments/lm_aifm_same_observation_teacher_phase1_1b/models/checkpoint/.metadata +3 -0
  23. LongVid/experiments/lm_aifm_same_observation_teacher_phase1_1b/models/checkpoint/__0_0.distcp +3 -0
  24. LongVid/experiments/lm_aifm_same_observation_teacher_phase1_1b/models/checkpoint/__1_0.distcp +3 -0
  25. LongVid/experiments/lm_aifm_same_observation_teacher_phase1_1b/models/checkpoint/__2_0.distcp +3 -0
  26. LongVid/experiments/lm_aifm_same_observation_teacher_phase1_1b/models/checkpoint/__3_0.distcp +3 -0
  27. LongVid/experiments/lm_aifm_same_observation_teacher_phase1_1b/models/checkpoint/__4_0.distcp +3 -0
  28. LongVid/experiments/lm_aifm_same_observation_teacher_phase1_1b/models/checkpoint/__5_0.distcp +3 -0
  29. LongVid/experiments/lm_aifm_same_observation_teacher_phase1_1b/models/checkpoint/__6_0.distcp +3 -0
  30. LongVid/experiments/lm_aifm_same_observation_teacher_phase1_1b/models/checkpoint/__7_0.distcp +3 -0
  31. LongVid/experiments/lm_aifm_same_observation_teacher_phase1_1b/models/step_1000.pt +3 -0
  32. LongVid/experiments/lm_aifm_same_observation_teacher_phase1_1b/train_lm_aifm_same_observation_teacher_phase1_1b.yml +104 -0
  33. LongVid/experiments/lm_aifm_same_observation_teacher_phase1_1b/train_lm_aifm_same_observation_teacher_phase1_1b_20260809_171228.log +0 -0
  34. LongVid/experiments/lm_aifm_same_observation_teacher_phase1_b32_1b/models/checkpoint/__5_0.distcp +3 -0
  35. LongVid/experiments/lm_aifm_same_observation_teacher_phase1_b32_1b/train_lm_aifm_same_observation_teacher_phase1_b32_1b.yml +106 -0
  36. LongVid/experiments/lm_aifm_same_observation_teacher_phase1_b32_1b/train_lm_aifm_same_observation_teacher_phase1_b32_1b_20260810_072537.log +0 -0
  37. LongVid/experiments/lm_aifm_same_observation_teacher_phase1_maincfg_smoke_1b/train_lm_aifm_same_observation_teacher_phase1_1b.yml +104 -0
  38. LongVid/experiments/lm_aifm_same_observation_teacher_phase1_maincfg_smoke_1b/train_lm_aifm_same_observation_teacher_phase1_maincfg_smoke_1b_20260809_170742.log +0 -0
  39. LongVid/experiments/lm_aifm_same_observation_teacher_phase1_smoke_1b/train_lm_aifm_same_observation_teacher_phase1_smoke_1b_20260809_170509.log +0 -0
  40. LongVid/experiments/lm_aifm_same_observation_teacher_phase1_smoke_1b/train_lm_aifm_same_observation_teacher_smoke_1b.yml +103 -0
  41. LongVid/results/lm_aifm_anyflow_far_1b_smoke8/test_anyflow_far_1b_smoke8.yml +66 -0
  42. LongVid/results/lm_aifm_anyflow_far_1b_smoke8/test_lm_aifm_anyflow_far_1b_smoke8_20260809_122740.log +78 -0
  43. LongVid/results/lm_aifm_anyflow_far_1b_smoke8/test_lm_aifm_anyflow_far_1b_smoke8_20260809_123201.log +78 -0
  44. LongVid/results/lm_aifm_anyflow_far_1b_smoke8/visualization/sample/iter_final/task_t2v/sample_step_2/seed_0/00_A_golden_retriever_runs_through_a_sunny_.mp4 +3 -0
  45. LongVid/results/lm_aifm_anyflow_far_1b_smoke8/visualization/sample/iter_final/task_t2v/sample_step_2/seed_0/01_A_red_vintage_car_drives_along_a_winding.mp4 +3 -0
  46. LongVid/results/lm_aifm_anyflow_far_1b_smoke8/visualization/sample/iter_final/task_t2v/sample_step_2/seed_0/02_A_chef_mixes_ingredients_in_a_bright_mod.mp4 +3 -0
  47. LongVid/results/lm_aifm_anyflow_far_1b_smoke8/visualization/sample/iter_final/task_t2v/sample_step_2/seed_0/03_A_panda_cub_climbs_bamboo_on_a_misty_for.mp4 +3 -0
  48. LongVid/results/lm_aifm_anyflow_far_1b_smoke8/visualization/sample/iter_final/task_t2v/sample_step_2/seed_0/04_An_astronaut_walks_slowly_across_a_rocky.mp4 +3 -0
  49. LongVid/results/lm_aifm_anyflow_far_1b_smoke8/visualization/sample/iter_final/task_t2v/sample_step_2/seed_0/05_A_woman_in_a_red_dress_walks_through_a_n.mp4 +3 -0
  50. LongVid/results/lm_aifm_anyflow_far_1b_smoke8/visualization/sample/iter_final/task_t2v/sample_step_2/seed_0/06_A_small_sailboat_crosses_a_calm_mountain.mp4 +3 -0
.gitattributes CHANGED
@@ -58,3 +58,18 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
61
+ LongVid/experiments/lm_aifm_same_observation_teacher_phase1_b32_1b/models/checkpoint/__5_0.distcp filter=lfs diff=lfs merge=lfs -text
62
+ LongVid/experiments/lm_aifm_same_observation_teacher_phase1_1b/models/checkpoint/__7_0.distcp filter=lfs diff=lfs merge=lfs -text
63
+ LongVid/experiments/lm_aifm_same_observation_teacher_phase1_1b/models/checkpoint/__1_0.distcp filter=lfs diff=lfs merge=lfs -text
64
+ LongVid/experiments/lm_aifm_same_observation_teacher_phase1_1b/models/checkpoint/.metadata filter=lfs diff=lfs merge=lfs -text
65
+ LongVid/experiments/lm_aifm_same_observation_teacher_phase1_1b/models/checkpoint/__3_0.distcp filter=lfs diff=lfs merge=lfs -text
66
+ LongVid/experiments/lm_aifm_same_observation_teacher_phase1_1b/models/checkpoint/__0_0.distcp filter=lfs diff=lfs merge=lfs -text
67
+ LongVid/experiments/lm_aifm_same_observation_teacher_phase1_1b/models/checkpoint/__4_0.distcp filter=lfs diff=lfs merge=lfs -text
68
+ LongVid/experiments/lm_aifm_same_observation_teacher_phase1_1b/models/checkpoint/__2_0.distcp filter=lfs diff=lfs merge=lfs -text
69
+ LongVid/experiments/lm_aifm_same_observation_teacher_phase1_1b/models/checkpoint/__6_0.distcp filter=lfs diff=lfs merge=lfs -text
70
+ LongVid/experiments/lm_aifm_same_observation_teacher_phase1_1b/models/checkpoint/__5_0.distcp filter=lfs diff=lfs merge=lfs -text
71
+ LongVid/experiments/lm_aifm_core_pilot_1b_main/models/checkpoint_step20/__7_0.distcp filter=lfs diff=lfs merge=lfs -text
72
+ LongVid/experiments/lm_aifm_core_pilot_1b_main/models/checkpoint_step20/__1_0.distcp filter=lfs diff=lfs merge=lfs -text
73
+ LongVid/experiments/lm_aifm_core_pilot_1b_main/models/checkpoint_step20/.metadata filter=lfs diff=lfs merge=lfs -text
74
+ LongVid/experiments/lm_aifm_core_pilot_1b_main/models/checkpoint_step20/__3_0.distcp filter=lfs diff=lfs merge=lfs -text
75
+ LongVid/experiments/lm_aifm_core_pilot_1b_main/models/checkpoint_step20/__0_0.distcp filter=lfs diff=lfs merge=lfs -text
LongVid/experiments/lm_aifm_anyflow_replay_smoke_1b/train_anyflow_replay_smoke_1b.yml ADDED
@@ -0,0 +1,80 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # GENERATE TIME: Sun Aug 9 12:36:41 2026
2
+ # CMD:
3
+ # /mnt/workspace/fly/lm_aifm_20260809/src/AnyFlow/far/main.py config_path=options/train/lm_aifm/train_anyflow_replay_smoke_1b.yml
4
+
5
+ name: lm_aifm_anyflow_replay_smoke_1b
6
+ mode: train
7
+ manual_seed: 0
8
+ mixed_precision: true
9
+
10
+ datasets:
11
+ train:
12
+ type: T2VTarDataset
13
+ meta_path: assets/data/meta/vidprom_dummy/raw.json
14
+ num_frames: 81
15
+ data_dtype: .mp4
16
+ dataloader_cfg:
17
+ batch_size_per_gpu: 1
18
+ num_workers: 0
19
+ shuffle: true
20
+ shuffle_chunk_size: 159
21
+ drop_last: true
22
+
23
+ models:
24
+ transformer_cfg:
25
+ model_name: /mnt/workspace/fly/lm_aifm_20260809/checkpoints/AnyFlow-FAR-Wan2.1-1.3B-Diffusers
26
+ model_type: FAR_Wan_Transformer3DModel
27
+ enable_gradient_checkpoint: true
28
+ far_config:
29
+ full_chunk_limit: 3
30
+ chunk_partition: [1, 3, 3, 3, 3, 3, 3, 2]
31
+ compressed_patch_size: [1, 4, 4]
32
+ long_context_training_ratio: 0.5
33
+ lora_config:
34
+ lora_rank: 16
35
+ lora_alpha: 16
36
+ target_module_name: ["attn1.to_q", "attn1.to_k", "attn1.to_v", "attn1.to_out.0", "ffn.net.0.proj", "ffn.net.2", "delta_embedder", "time_embedder"]
37
+ param_names_to_optimize: ["lora_A", "lora_B"]
38
+ bidirectional_modeling_prob: 0.0
39
+ text_encoder_cfg:
40
+ drop_text_ratio: 0.0
41
+ negative_embedding_path: assets/negative_embedding/wan_negemb_cn.pth
42
+ vae_cfg:
43
+ load: true
44
+ scheduler_cfg:
45
+ shift: 5.0
46
+ weight_type: beta08
47
+ flowmap_cfg:
48
+ gate_value: 0.25
49
+ deltatime_type: r
50
+ diffusion_ratio: 0.5
51
+ consistency_ratio: 0.25
52
+ epsilon: 5
53
+
54
+ path:
55
+ pretrain_network: null
56
+
57
+ train:
58
+ train_pipeline: FAR_Wan_AnyFlow_Pretrain_Trainer
59
+ optim_g:
60
+ type: AdamW
61
+ lr: 5.0e-5
62
+ weight_decay: 0.0
63
+ betas: [0.9, 0.95]
64
+ lr_scheduler: constant_with_warmup
65
+ warmup_iter: 0
66
+ total_iter: 0
67
+ max_grad_norm: 1.0
68
+
69
+ val:
70
+ val_pipeline: FARWanAnyFlowPipeline
71
+ skip_first_eval: true
72
+ sample_freq: 1000000
73
+ eval_freq: 1000000
74
+
75
+ logger:
76
+ print_freq: 1
77
+ save_checkpoint_freq: 1000000
78
+ save_eval_checkpoint_freq: 1000000
79
+ clean_cache_freq: 1
80
+ use_wandb: false
LongVid/experiments/lm_aifm_anyflow_replay_smoke_1b/train_lm_aifm_anyflow_replay_smoke_1b_20260809_123641.log ADDED
The diff for this file is too large to render. See raw diff
 
LongVid/experiments/lm_aifm_core_pilot_1b_identity_smoke/train_lm_aifm_core_pilot_1b.yml ADDED
@@ -0,0 +1,165 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # GENERATE TIME: Sun Aug 9 12:57:02 2026
2
+ # CMD:
3
+ # /mnt/workspace/fly/lm_aifm_20260809/src/AnyFlow/far/main.py config_path=options/train/lm_aifm/train_lm_aifm_core_pilot_1b.yml name=lm_aifm_core_pilot_1b_identity_smoke
4
+
5
+ # LM-AIFM public-asset core integration pilot.
6
+ #
7
+ # This is intentionally a one-update smoke configuration. It validates an
8
+ # exact full-grid current-window cDMD loop with a same-content base-Wan score.
9
+ # It is NOT a production random-edge or cross-window long-memory experiment.
10
+ # For the bounded 20-update continuation override:
11
+ # train.total_iter=19 models.rollout_cfg.num_inference_steps_list='[2,4]'
12
+
13
+ name: lm_aifm_core_pilot_1b_smoke
14
+ mode: train
15
+ manual_seed: 0
16
+ mixed_precision: true
17
+
18
+ datasets:
19
+ train:
20
+ type: T2VTarDataset
21
+ meta_path: assets/data/meta/vidprom_dummy/raw.json
22
+ num_frames: 81
23
+ data_dtype: .mp4
24
+ dataloader_cfg:
25
+ batch_size_per_gpu: 1
26
+ num_workers: 0
27
+ shuffle: true
28
+ shuffle_chunk_size: 1000
29
+ drop_last: true
30
+
31
+ models:
32
+ # Released, already trained AnyFlow-FAR student. No unpublished
33
+ # experiments/.../step_6000.pt is referenced anywhere in this config.
34
+ transformer_cfg:
35
+ model_name: /mnt/workspace/fly/lm_aifm_20260809/checkpoints/AnyFlow-FAR-Wan2.1-1.3B-Diffusers
36
+ model_type: FAR_Wan_Transformer3DModel
37
+ enable_gradient_checkpoint: true
38
+ far_config:
39
+ full_chunk_limit: 3
40
+ chunk_partition: [1, 3, 3, 3, 3, 3, 3, 2]
41
+ compressed_patch_size: [1, 4, 4]
42
+ long_context_training_ratio: 1.0
43
+ lora_config:
44
+ lora_rank: 16
45
+ lora_alpha: 16
46
+ target_module_name: ['attn1.to_q', 'attn1.to_k', 'attn1.to_v', 'attn1.to_out.0', 'ffn.net.0.proj', 'ffn.net.2', 'delta_embedder', 'time_embedder']
47
+ param_names_to_optimize: ['lora_A', 'lora_B']
48
+ bidirectional_modeling_prob: 0.0
49
+
50
+ # Raw public base Wan, frozen. It sees the same detached history content
51
+ # concatenated with the current noisy block in bidirectional score mode.
52
+ real_cfg:
53
+ model_name: /mnt/workspace/fly/lm_aifm_20260809/checkpoints/Wan2.1-T2V-1.3B-Diffusers
54
+ model_type: FAR_Wan_Transformer3DModel
55
+
56
+ # Independent base-Wan copy for the fake score. LoRA and the schedule
57
+ # encoder are the only discriminator-side trainable parameters.
58
+ discriminator_cfg:
59
+ model_name: /mnt/workspace/fly/lm_aifm_20260809/checkpoints/Wan2.1-T2V-1.3B-Diffusers
60
+ model_type: FAR_Wan_Transformer3DModel
61
+ enable_gradient_checkpoint: true
62
+ lora_config:
63
+ lora_rank: 16
64
+ lora_alpha: 16
65
+ target_module_name: ['attn1.to_q', 'attn1.to_k', 'attn1.to_v', 'attn1.to_out.0', 'ffn.net.0.proj', 'ffn.net.2']
66
+ param_names_to_optimize: ['lora_A', 'lora_B', 'schedule_encoder', 'schedule_projection']
67
+
68
+ schedule_encoder_cfg:
69
+ embedding_dim: 256
70
+ hidden_dim: 512
71
+ num_tokens: 1
72
+ num_heads: 4
73
+ num_fourier_bands: 8
74
+ dropout: 0.0
75
+
76
+ text_encoder_cfg:
77
+ drop_text_ratio: 0.0
78
+ negative_embedding_path: assets/negative_embedding/wan_negemb_cn.pth
79
+
80
+ vae_cfg:
81
+ load: true
82
+
83
+ scheduler_cfg:
84
+ shift: 5.0
85
+ weight_type: beta08
86
+
87
+ dmd_scheduler_cfg:
88
+ shift: 5.0
89
+
90
+ rollout_cfg:
91
+ rollout_pipeline: FARWanAnyFlowPipeline
92
+ # Smoke: N=2. The 20-update continuation should use [2, 4].
93
+ num_inference_steps_list: [2]
94
+ current_num_chunks: 3
95
+ use_kv_cache: true
96
+
97
+ dmd_cfg:
98
+ dmd_weight: 0.1
99
+ dmd_batch_size: 1
100
+ min_timestep: 20
101
+ max_timestep: 980
102
+ normalizer_epsilon: !!float 1e-5
103
+ vector_clip: 10.0
104
+
105
+ interval_cfg:
106
+ # Disabled for the first smoke. Set to 0.1 only after the base-teacher
107
+ # solver check passes; this remains an off-policy interval proxy.
108
+ weight: 0.0
109
+ teacher_substeps: 2
110
+ current_num_chunks: 3
111
+ delta_min: 0.05
112
+ replay_every: 0
113
+
114
+ flowmap_cfg:
115
+ gate_value: 0.25
116
+ deltatime_type: r
117
+ diffusion_ratio: 0.5
118
+ consistency_ratio: 0.25
119
+ epsilon: 5
120
+
121
+ path:
122
+ pretrain_network: null
123
+
124
+ train:
125
+ train_pipeline: LM_AIFM_Core_Pilot_Trainer
126
+
127
+ optim_g:
128
+ type: AdamW
129
+ lr: !!float 2e-6
130
+ weight_decay: 0.0
131
+ betas: [0.0, 0.999]
132
+
133
+ optim_d:
134
+ type: AdamW
135
+ lr: !!float 2e-6
136
+ weight_decay: 0.0
137
+ betas: [0.0, 0.999]
138
+
139
+ discriminator_update_ratio: 1
140
+ max_grad_norm: 1.0
141
+ lr_scheduler: constant_with_warmup
142
+ warmup_iter: 0
143
+
144
+ # BaseTrainer uses `while global_step <= total_iter`; zero means one update.
145
+ total_iter: 0
146
+
147
+ val:
148
+ val_pipeline: FARWanAnyFlowPipeline
149
+ skip_first_eval: true
150
+ sample_freq: 100000
151
+ eval_freq: 100000
152
+ sample_cfg:
153
+ height: 480
154
+ width: 832
155
+ num_frames: 81
156
+ guidance_scale: 1.0
157
+ num_inference_steps: [2]
158
+ negative_prompt: 'overexposed, static, blurry, subtitles, low quality, deformed'
159
+
160
+ logger:
161
+ print_freq: 1
162
+ save_checkpoint_freq: 1000
163
+ save_eval_checkpoint_freq: 1000
164
+ clean_cache_freq: 1
165
+ use_wandb: false
LongVid/experiments/lm_aifm_core_pilot_1b_identity_smoke/train_lm_aifm_core_pilot_1b_identity_smoke_20260809_125702.log ADDED
The diff for this file is too large to render. See raw diff
 
LongVid/experiments/lm_aifm_core_pilot_1b_main/models/checkpoint_step20/.metadata ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e56e41a95ed9e1950a110953ab75e41f8d6951c700934f0c5dc00301d430670b
3
+ size 7989801
LongVid/experiments/lm_aifm_core_pilot_1b_main/models/checkpoint_step20/__0_0.distcp ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:524a8587bc185882b2f3ffd953bf84d5ecc9d279b485fff75c84d8f21670eb71
3
+ size 1480078748
LongVid/experiments/lm_aifm_core_pilot_1b_main/models/checkpoint_step20/__1_0.distcp ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0da36ace448de27098c4151a438c977ab93af268a61c307b184ef3a1b9feb5ed
3
+ size 1477914257
LongVid/experiments/lm_aifm_core_pilot_1b_main/models/checkpoint_step20/__3_0.distcp ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:72c47b24564f16b2c2eaf3fadfb0c8b0e9b895d87df8beab5dbc475d46710b6b
3
+ size 1477927497
LongVid/experiments/lm_aifm_core_pilot_1b_main/models/checkpoint_step20/__7_0.distcp ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:393743de58521b5af75603ece4c7706def1e08ceb1e0031b9ec5dc69f3cdc75e
3
+ size 1477929703
LongVid/experiments/lm_aifm_core_pilot_1b_main/train_lm_aifm_core_pilot_1b.yml ADDED
@@ -0,0 +1,165 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # GENERATE TIME: Sun Aug 9 13:14:59 2026
2
+ # CMD:
3
+ # /mnt/workspace/fly/lm_aifm_20260809/src/AnyFlow/far/main.py config_path=options/train/lm_aifm/train_lm_aifm_core_pilot_1b.yml name=lm_aifm_core_pilot_1b_main train.total_iter=199 logger.save_checkpoint_freq=20 models.rollout_cfg.num_inference_steps_list=[2,4]
4
+
5
+ # LM-AIFM public-asset core integration pilot.
6
+ #
7
+ # This is intentionally a one-update smoke configuration. It validates an
8
+ # exact full-grid current-window cDMD loop with a same-content base-Wan score.
9
+ # It is NOT a production random-edge or cross-window long-memory experiment.
10
+ # For the bounded 20-update continuation override:
11
+ # train.total_iter=19 models.rollout_cfg.num_inference_steps_list='[2,4]'
12
+
13
+ name: lm_aifm_core_pilot_1b_smoke
14
+ mode: train
15
+ manual_seed: 0
16
+ mixed_precision: true
17
+
18
+ datasets:
19
+ train:
20
+ type: T2VTarDataset
21
+ meta_path: assets/data/meta/vidprom_dummy/raw.json
22
+ num_frames: 81
23
+ data_dtype: .mp4
24
+ dataloader_cfg:
25
+ batch_size_per_gpu: 1
26
+ num_workers: 0
27
+ shuffle: true
28
+ shuffle_chunk_size: 1000
29
+ drop_last: true
30
+
31
+ models:
32
+ # Released, already trained AnyFlow-FAR student. No unpublished
33
+ # experiments/.../step_6000.pt is referenced anywhere in this config.
34
+ transformer_cfg:
35
+ model_name: /mnt/workspace/fly/lm_aifm_20260809/checkpoints/AnyFlow-FAR-Wan2.1-1.3B-Diffusers
36
+ model_type: FAR_Wan_Transformer3DModel
37
+ enable_gradient_checkpoint: true
38
+ far_config:
39
+ full_chunk_limit: 3
40
+ chunk_partition: [1, 3, 3, 3, 3, 3, 3, 2]
41
+ compressed_patch_size: [1, 4, 4]
42
+ long_context_training_ratio: 1.0
43
+ lora_config:
44
+ lora_rank: 16
45
+ lora_alpha: 16
46
+ target_module_name: ['attn1.to_q', 'attn1.to_k', 'attn1.to_v', 'attn1.to_out.0', 'ffn.net.0.proj', 'ffn.net.2', 'delta_embedder', 'time_embedder']
47
+ param_names_to_optimize: ['lora_A', 'lora_B']
48
+ bidirectional_modeling_prob: 0.0
49
+
50
+ # Raw public base Wan, frozen. It sees the same detached history content
51
+ # concatenated with the current noisy block in bidirectional score mode.
52
+ real_cfg:
53
+ model_name: /mnt/workspace/fly/lm_aifm_20260809/checkpoints/Wan2.1-T2V-1.3B-Diffusers
54
+ model_type: FAR_Wan_Transformer3DModel
55
+
56
+ # Independent base-Wan copy for the fake score. LoRA and the schedule
57
+ # encoder are the only discriminator-side trainable parameters.
58
+ discriminator_cfg:
59
+ model_name: /mnt/workspace/fly/lm_aifm_20260809/checkpoints/Wan2.1-T2V-1.3B-Diffusers
60
+ model_type: FAR_Wan_Transformer3DModel
61
+ enable_gradient_checkpoint: true
62
+ lora_config:
63
+ lora_rank: 16
64
+ lora_alpha: 16
65
+ target_module_name: ['attn1.to_q', 'attn1.to_k', 'attn1.to_v', 'attn1.to_out.0', 'ffn.net.0.proj', 'ffn.net.2']
66
+ param_names_to_optimize: ['lora_A', 'lora_B', 'schedule_encoder', 'schedule_projection']
67
+
68
+ schedule_encoder_cfg:
69
+ embedding_dim: 256
70
+ hidden_dim: 512
71
+ num_tokens: 1
72
+ num_heads: 4
73
+ num_fourier_bands: 8
74
+ dropout: 0.0
75
+
76
+ text_encoder_cfg:
77
+ drop_text_ratio: 0.0
78
+ negative_embedding_path: assets/negative_embedding/wan_negemb_cn.pth
79
+
80
+ vae_cfg:
81
+ load: true
82
+
83
+ scheduler_cfg:
84
+ shift: 5.0
85
+ weight_type: beta08
86
+
87
+ dmd_scheduler_cfg:
88
+ shift: 5.0
89
+
90
+ rollout_cfg:
91
+ rollout_pipeline: FARWanAnyFlowPipeline
92
+ # Smoke: N=2. The 20-update continuation should use [2, 4].
93
+ num_inference_steps_list: [2]
94
+ current_num_chunks: 3
95
+ use_kv_cache: true
96
+
97
+ dmd_cfg:
98
+ dmd_weight: 0.1
99
+ dmd_batch_size: 1
100
+ min_timestep: 20
101
+ max_timestep: 980
102
+ normalizer_epsilon: !!float 1e-5
103
+ vector_clip: 10.0
104
+
105
+ interval_cfg:
106
+ # Disabled for the first smoke. Set to 0.1 only after the base-teacher
107
+ # solver check passes; this remains an off-policy interval proxy.
108
+ weight: 0.0
109
+ teacher_substeps: 2
110
+ current_num_chunks: 3
111
+ delta_min: 0.05
112
+ replay_every: 0
113
+
114
+ flowmap_cfg:
115
+ gate_value: 0.25
116
+ deltatime_type: r
117
+ diffusion_ratio: 0.5
118
+ consistency_ratio: 0.25
119
+ epsilon: 5
120
+
121
+ path:
122
+ pretrain_network: null
123
+
124
+ train:
125
+ train_pipeline: LM_AIFM_Core_Pilot_Trainer
126
+
127
+ optim_g:
128
+ type: AdamW
129
+ lr: !!float 2e-6
130
+ weight_decay: 0.0
131
+ betas: [0.0, 0.999]
132
+
133
+ optim_d:
134
+ type: AdamW
135
+ lr: !!float 2e-6
136
+ weight_decay: 0.0
137
+ betas: [0.0, 0.999]
138
+
139
+ discriminator_update_ratio: 1
140
+ max_grad_norm: 1.0
141
+ lr_scheduler: constant_with_warmup
142
+ warmup_iter: 0
143
+
144
+ # BaseTrainer uses `while global_step <= total_iter`; zero means one update.
145
+ total_iter: 0
146
+
147
+ val:
148
+ val_pipeline: FARWanAnyFlowPipeline
149
+ skip_first_eval: true
150
+ sample_freq: 100000
151
+ eval_freq: 100000
152
+ sample_cfg:
153
+ height: 480
154
+ width: 832
155
+ num_frames: 81
156
+ guidance_scale: 1.0
157
+ num_inference_steps: [2]
158
+ negative_prompt: 'overexposed, static, blurry, subtitles, low quality, deformed'
159
+
160
+ logger:
161
+ print_freq: 1
162
+ save_checkpoint_freq: 1000
163
+ save_eval_checkpoint_freq: 1000
164
+ clean_cache_freq: 1
165
+ use_wandb: false
LongVid/experiments/lm_aifm_core_pilot_1b_main/train_lm_aifm_core_pilot_1b_main_20260809_130006.log ADDED
The diff for this file is too large to render. See raw diff
 
LongVid/experiments/lm_aifm_core_pilot_1b_main/train_lm_aifm_core_pilot_1b_main_20260809_131459.log ADDED
The diff for this file is too large to render. See raw diff
 
LongVid/experiments/lm_aifm_core_pilot_1b_smoke/train_lm_aifm_core_pilot_1b.yml ADDED
@@ -0,0 +1,165 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # GENERATE TIME: Sun Aug 9 12:46:27 2026
2
+ # CMD:
3
+ # /mnt/workspace/fly/lm_aifm_20260809/src/AnyFlow/far/main.py config_path=options/train/lm_aifm/train_lm_aifm_core_pilot_1b.yml
4
+
5
+ # LM-AIFM public-asset core integration pilot.
6
+ #
7
+ # This is intentionally a one-update smoke configuration. It validates an
8
+ # exact full-grid current-window cDMD loop with a same-content base-Wan score.
9
+ # It is NOT a production random-edge or cross-window long-memory experiment.
10
+ # For the bounded 20-update continuation override:
11
+ # train.total_iter=19 models.rollout_cfg.num_inference_steps_list='[2,4]'
12
+
13
+ name: lm_aifm_core_pilot_1b_smoke
14
+ mode: train
15
+ manual_seed: 0
16
+ mixed_precision: true
17
+
18
+ datasets:
19
+ train:
20
+ type: T2VTarDataset
21
+ meta_path: assets/data/meta/vidprom_dummy/raw.json
22
+ num_frames: 81
23
+ data_dtype: .mp4
24
+ dataloader_cfg:
25
+ batch_size_per_gpu: 1
26
+ num_workers: 0
27
+ shuffle: true
28
+ shuffle_chunk_size: 1000
29
+ drop_last: true
30
+
31
+ models:
32
+ # Released, already trained AnyFlow-FAR student. No unpublished
33
+ # experiments/.../step_6000.pt is referenced anywhere in this config.
34
+ transformer_cfg:
35
+ model_name: /mnt/workspace/fly/lm_aifm_20260809/checkpoints/AnyFlow-FAR-Wan2.1-1.3B-Diffusers
36
+ model_type: FAR_Wan_Transformer3DModel
37
+ enable_gradient_checkpoint: true
38
+ far_config:
39
+ full_chunk_limit: 3
40
+ chunk_partition: [1, 3, 3, 3, 3, 3, 3, 2]
41
+ compressed_patch_size: [1, 4, 4]
42
+ long_context_training_ratio: 1.0
43
+ lora_config:
44
+ lora_rank: 16
45
+ lora_alpha: 16
46
+ target_module_name: ['attn1.to_q', 'attn1.to_k', 'attn1.to_v', 'attn1.to_out.0', 'ffn.net.0.proj', 'ffn.net.2', 'delta_embedder', 'time_embedder']
47
+ param_names_to_optimize: ['lora_A', 'lora_B']
48
+ bidirectional_modeling_prob: 0.0
49
+
50
+ # Raw public base Wan, frozen. It sees the same detached history content
51
+ # concatenated with the current noisy block in bidirectional score mode.
52
+ real_cfg:
53
+ model_name: /mnt/workspace/fly/lm_aifm_20260809/checkpoints/Wan2.1-T2V-1.3B-Diffusers
54
+ model_type: FAR_Wan_Transformer3DModel
55
+
56
+ # Independent base-Wan copy for the fake score. LoRA and the schedule
57
+ # encoder are the only discriminator-side trainable parameters.
58
+ discriminator_cfg:
59
+ model_name: /mnt/workspace/fly/lm_aifm_20260809/checkpoints/Wan2.1-T2V-1.3B-Diffusers
60
+ model_type: FAR_Wan_Transformer3DModel
61
+ enable_gradient_checkpoint: true
62
+ lora_config:
63
+ lora_rank: 16
64
+ lora_alpha: 16
65
+ target_module_name: ['attn1.to_q', 'attn1.to_k', 'attn1.to_v', 'attn1.to_out.0', 'ffn.net.0.proj', 'ffn.net.2']
66
+ param_names_to_optimize: ['lora_A', 'lora_B', 'schedule_encoder', 'schedule_projection']
67
+
68
+ schedule_encoder_cfg:
69
+ embedding_dim: 256
70
+ hidden_dim: 512
71
+ num_tokens: 1
72
+ num_heads: 4
73
+ num_fourier_bands: 8
74
+ dropout: 0.0
75
+
76
+ text_encoder_cfg:
77
+ drop_text_ratio: 0.0
78
+ negative_embedding_path: assets/negative_embedding/wan_negemb_cn.pth
79
+
80
+ vae_cfg:
81
+ load: true
82
+
83
+ scheduler_cfg:
84
+ shift: 5.0
85
+ weight_type: beta08
86
+
87
+ dmd_scheduler_cfg:
88
+ shift: 5.0
89
+
90
+ rollout_cfg:
91
+ rollout_pipeline: FARWanAnyFlowPipeline
92
+ # Smoke: N=2. The 20-update continuation should use [2, 4].
93
+ num_inference_steps_list: [2]
94
+ current_num_chunks: 3
95
+ use_kv_cache: true
96
+
97
+ dmd_cfg:
98
+ dmd_weight: 0.1
99
+ dmd_batch_size: 1
100
+ min_timestep: 20
101
+ max_timestep: 980
102
+ normalizer_epsilon: !!float 1e-5
103
+ vector_clip: 10.0
104
+
105
+ interval_cfg:
106
+ # Disabled for the first smoke. Set to 0.1 only after the base-teacher
107
+ # solver check passes; this remains an off-policy interval proxy.
108
+ weight: 0.0
109
+ teacher_substeps: 2
110
+ current_num_chunks: 3
111
+ delta_min: 0.05
112
+ replay_every: 0
113
+
114
+ flowmap_cfg:
115
+ gate_value: 0.25
116
+ deltatime_type: r
117
+ diffusion_ratio: 0.5
118
+ consistency_ratio: 0.25
119
+ epsilon: 5
120
+
121
+ path:
122
+ pretrain_network: null
123
+
124
+ train:
125
+ train_pipeline: LM_AIFM_Core_Pilot_Trainer
126
+
127
+ optim_g:
128
+ type: AdamW
129
+ lr: !!float 2e-6
130
+ weight_decay: 0.0
131
+ betas: [0.0, 0.999]
132
+
133
+ optim_d:
134
+ type: AdamW
135
+ lr: !!float 2e-6
136
+ weight_decay: 0.0
137
+ betas: [0.0, 0.999]
138
+
139
+ discriminator_update_ratio: 1
140
+ max_grad_norm: 1.0
141
+ lr_scheduler: constant_with_warmup
142
+ warmup_iter: 0
143
+
144
+ # BaseTrainer uses `while global_step <= total_iter`; zero means one update.
145
+ total_iter: 0
146
+
147
+ val:
148
+ val_pipeline: FARWanAnyFlowPipeline
149
+ skip_first_eval: true
150
+ sample_freq: 100000
151
+ eval_freq: 100000
152
+ sample_cfg:
153
+ height: 480
154
+ width: 832
155
+ num_frames: 81
156
+ guidance_scale: 1.0
157
+ num_inference_steps: [2]
158
+ negative_prompt: 'overexposed, static, blurry, subtitles, low quality, deformed'
159
+
160
+ logger:
161
+ print_freq: 1
162
+ save_checkpoint_freq: 1000
163
+ save_eval_checkpoint_freq: 1000
164
+ clean_cache_freq: 1
165
+ use_wandb: false
LongVid/experiments/lm_aifm_core_pilot_1b_smoke/train_lm_aifm_core_pilot_1b_smoke_20260809_124627.log ADDED
The diff for this file is too large to render. See raw diff
 
LongVid/experiments/lm_aifm_formal_gate_a_smoke_1b/train_lm_aifm_formal_gate_a_smoke_1b.yml ADDED
@@ -0,0 +1,164 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # GENERATE TIME: Sun Aug 9 16:59:05 2026
2
+ # CMD:
3
+ # /mnt/workspace/fly/lm_aifm_20260809/src/AnyFlow/far/main.py config_path=options/train/lm_aifm/train_lm_aifm_formal_gate_a_smoke_1b.yml
4
+
5
+ # Production-path technical smoke only.
6
+ #
7
+ # This exercises cross-window MemSpec commits and detached-LoRA random-edge
8
+ # suffix VJPs on the real 1.3B/FSDP stack. It deliberately disables the
9
+ # interval loss and allows an unaudited public base score, so it cannot be used
10
+ # as a scientific LM-AIFM result. Numerical all-edge/full-BPTT equality is
11
+ # checked separately in FP64; this job covers the real BF16/FSDP/PEFT stack.
12
+
13
+ name: lm_aifm_formal_gate_a_smoke_1b
14
+ mode: train
15
+ manual_seed: 0
16
+ mixed_precision: true
17
+
18
+ datasets:
19
+ train:
20
+ type: T2VTarDataset
21
+ meta_path: assets/data/meta/vidprom_dummy/raw.json
22
+ num_frames: 81
23
+ data_dtype: .mp4
24
+ dataloader_cfg:
25
+ batch_size_per_gpu: 1
26
+ num_workers: 0
27
+ shuffle: true
28
+ shuffle_chunk_size: 1000
29
+ drop_last: true
30
+
31
+ models:
32
+ transformer_cfg:
33
+ model_name: /mnt/workspace/fly/lm_aifm_20260809/checkpoints/AnyFlow-FAR-Wan2.1-1.3B-Diffusers
34
+ model_type: FAR_Wan_Transformer3DModel
35
+ # Hard requirement of detached-LoRA suffix mode. See random_edge_autograd.py.
36
+ enable_gradient_checkpoint: false
37
+ far_config:
38
+ full_chunk_limit: 3
39
+ chunk_partition: [1, 3, 3, 3, 3, 3, 3, 2]
40
+ compressed_patch_size: [1, 4, 4]
41
+ long_context_training_ratio: 1.0
42
+ lora_config:
43
+ lora_rank: 16
44
+ lora_alpha: 16
45
+ target_module_name: ['attn1.to_q', 'attn1.to_k', 'attn1.to_v', 'attn1.to_out.0', 'ffn.net.0.proj', 'ffn.net.2', 'delta_embedder', 'time_embedder']
46
+ param_names_to_optimize: ['lora_A', 'lora_B']
47
+ bidirectional_modeling_prob: 0.0
48
+
49
+ # Technical Gate-A proxy only; the formal-F config below requires an audited
50
+ # same-observation long teacher and will fail closed without its gate JSON.
51
+ real_cfg:
52
+ model_name: /mnt/workspace/fly/lm_aifm_20260809/checkpoints/Wan2.1-T2V-1.3B-Diffusers
53
+ model_type: FAR_Wan_Transformer3DModel
54
+
55
+ discriminator_cfg:
56
+ model_name: /mnt/workspace/fly/lm_aifm_20260809/checkpoints/Wan2.1-T2V-1.3B-Diffusers
57
+ model_type: FAR_Wan_Transformer3DModel
58
+ # The detached-LoRA suffix restriction applies only to the student above.
59
+ # Fake-score checkpointing is safe and required for 21-frame bidirectional
60
+ # training to fit on an H200; without it the discriminator step reaches
61
+ # roughly 139.7 GiB/rank and OOMs before the first update completes.
62
+ enable_gradient_checkpoint: true
63
+ lora_config:
64
+ lora_rank: 16
65
+ lora_alpha: 16
66
+ target_module_name: ['attn1.to_q', 'attn1.to_k', 'attn1.to_v', 'attn1.to_out.0', 'ffn.net.0.proj', 'ffn.net.2']
67
+ param_names_to_optimize: ['lora_A', 'lora_B', 'schedule_encoder', 'schedule_projection']
68
+
69
+ schedule_encoder_cfg:
70
+ embedding_dim: 256
71
+ hidden_dim: 512
72
+ num_tokens: 1
73
+ num_heads: 4
74
+ num_fourier_bands: 8
75
+ dropout: 0.0
76
+
77
+ text_encoder_cfg:
78
+ drop_text_ratio: 0.0
79
+ negative_embedding_path: assets/negative_embedding/wan_negemb_cn.pth
80
+ vae_cfg: {load: true}
81
+ scheduler_cfg: {shift: 5.0, weight_type: beta08}
82
+ dmd_scheduler_cfg: {shift: 5.0}
83
+
84
+ rollout_cfg:
85
+ rollout_pipeline: FARWanAnyFlowPipeline
86
+ num_inference_steps_list: [2]
87
+ current_num_chunks: 3
88
+ use_kv_cache: false
89
+
90
+ memory_cfg:
91
+ capacity: 5
92
+ sink_slots: 1
93
+ recent_slots: 2
94
+ context_slots: 5
95
+ target_chunks: 3
96
+ history_depths: [1]
97
+
98
+ schedule_cfg:
99
+ train_manifest: assets/lm_aifm/schedules_train_v1.json
100
+ heldout_manifest: assets/lm_aifm/schedules_test_v1.json
101
+ active_schedule_ids: [train_u_n2]
102
+
103
+ dmd_cfg:
104
+ dmd_weight: 0.1
105
+ dmd_batch_size: 1
106
+ min_timestep: 20
107
+ max_timestep: 980
108
+ normalizer_epsilon: !!float 1e-5
109
+ vector_clip: 10.0
110
+
111
+ interval_cfg:
112
+ enabled: false
113
+ weight: 0.0
114
+ gate_manifest: null
115
+ delta_min: 0.05
116
+ max_teacher_substeps: 8
117
+ mixture: {next_knot: 0.25, endpoint: 0.25, interior: 0.35, near_diagonal: 0.15}
118
+
119
+ replay_cfg: {every: 0, weight: 0.1}
120
+ formal_cfg:
121
+ require_teacher_gate: false
122
+ suffix_trainable_parameter_fragments: ['lora_A', 'lora_B']
123
+
124
+ flowmap_cfg:
125
+ gate_value: 0.25
126
+ deltatime_type: r
127
+ diffusion_ratio: 0.5
128
+ consistency_ratio: 0.25
129
+ epsilon: 5
130
+
131
+ path: {pretrain_network: null}
132
+
133
+ train:
134
+ train_pipeline: LM_AIFM_Formal_Trainer
135
+ optim_g: {type: AdamW, lr: !!float 2e-6, weight_decay: 0.0, betas: [0.0, 0.999]}
136
+ optim_d: {type: AdamW, lr: !!float 2e-6, weight_decay: 0.0, betas: [0.0, 0.999]}
137
+ discriminator_update_ratio: 1
138
+ max_grad_norm: 1.0
139
+ lr_scheduler: constant_with_warmup
140
+ warmup_iter: 0
141
+ # BaseTrainer uses <=. Two updates are intentional: update 1 makes the fake
142
+ # score non-identical to the public real score; with seed 0, update 2 then
143
+ # selects edge 0 and exercises a nonzero gradient through the suffix VJP.
144
+ total_iter: 1
145
+
146
+ val:
147
+ val_pipeline: FARWanAnyFlowPipeline
148
+ skip_first_eval: true
149
+ sample_freq: 100000
150
+ eval_freq: 100000
151
+ sample_cfg:
152
+ height: 480
153
+ width: 832
154
+ num_frames: 81
155
+ guidance_scale: 1.0
156
+ num_inference_steps: [2]
157
+ negative_prompt: 'overexposed, static, blurry, subtitles, low quality, deformed'
158
+
159
+ logger:
160
+ print_freq: 1
161
+ save_checkpoint_freq: 1000
162
+ save_eval_checkpoint_freq: 1000
163
+ clean_cache_freq: 1
164
+ use_wandb: false
LongVid/experiments/lm_aifm_formal_gate_a_smoke_1b/train_lm_aifm_formal_gate_a_smoke_1b_20260809_164823.log ADDED
The diff for this file is too large to render. See raw diff
 
LongVid/experiments/lm_aifm_formal_gate_a_smoke_1b/train_lm_aifm_formal_gate_a_smoke_1b_20260809_165301.log ADDED
The diff for this file is too large to render. See raw diff
 
LongVid/experiments/lm_aifm_formal_gate_a_smoke_1b/train_lm_aifm_formal_gate_a_smoke_1b_20260809_165905.log ADDED
The diff for this file is too large to render. See raw diff
 
LongVid/experiments/lm_aifm_same_observation_teacher_b32_smoke_1b/train_lm_aifm_same_observation_teacher_b32_smoke_1b_20260810_071851.log ADDED
The diff for this file is too large to render. See raw diff
 
LongVid/experiments/lm_aifm_same_observation_teacher_b32_smoke_1b/train_lm_aifm_same_observation_teacher_phase1_1b.yml ADDED
@@ -0,0 +1,104 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # GENERATE TIME: Mon Aug 10 07:18:51 2026
2
+ # CMD:
3
+ # /mnt/workspace/fly/lm_aifm_20260809/src/AnyFlow/far/main.py config_path=options/train/lm_aifm/train_lm_aifm_same_observation_teacher_phase1_1b.yml name=lm_aifm_same_observation_teacher_b32_smoke_1b datasets.train.dataloader_cfg.batch_size_per_gpu=4 train.total_iter=0 train.warmup_iter=0 logger.print_freq=1 logger.save_checkpoint_freq=1
4
+
5
+ # Main Phase-1 LoRA training on real long-video prefixes. The resulting
6
+ # checkpoint is only a teacher candidate. It must still pass the separate
7
+ # real/student-prefix competence audit and interval-solver gate before F runs.
8
+
9
+ name: lm_aifm_same_observation_teacher_phase1_1b
10
+ mode: train
11
+ manual_seed: 0
12
+ mixed_precision: true
13
+
14
+ datasets:
15
+ train:
16
+ type: T2VMemSpecWindowsTarDataset
17
+ meta_path: /mnt/workspace/fly/lm_aifm_20260809/datasets/formal_sekai_60s_v1/wids-meta.json
18
+ data_dtype: .mp4
19
+ temporal_sampling: memspec_sink_slow_recent_29f
20
+ window_num_frames: 29
21
+ history_windows: 6
22
+ target_fps: 16.0
23
+ temporal_seed: 0
24
+ decode_threads: 2
25
+ height: 480
26
+ width: 832
27
+ return_temporal_metadata: true
28
+ dataloader_cfg:
29
+ batch_size_per_gpu: 1
30
+ num_workers: 0
31
+ shuffle: true
32
+ seed: 0
33
+ shuffle_chunk_size: 1000
34
+ drop_last: true
35
+ persistent_workers: false
36
+
37
+ models:
38
+ transformer_cfg:
39
+ model_name: /mnt/workspace/fly/lm_aifm_20260809/checkpoints/AnyFlow-FAR-Wan2.1-1.3B-Diffusers
40
+ model_type: FAR_Wan_Transformer3DModel
41
+ enable_gradient_checkpoint: true
42
+ far_config:
43
+ full_chunk_limit: 3
44
+ chunk_partition: [1, 3, 3, 3, 3, 3, 3, 2]
45
+ compressed_patch_size: [1, 4, 4]
46
+ long_context_training_ratio: 1.0
47
+ lora_config:
48
+ lora_rank: 16
49
+ lora_alpha: 16
50
+ target_module_name: ['attn1.to_q', 'attn1.to_k', 'attn1.to_v', 'attn1.to_out.0', 'ffn.net.0.proj', 'ffn.net.2', 'delta_embedder', 'time_embedder']
51
+ param_names_to_optimize: ['lora_A', 'lora_B']
52
+
53
+ text_encoder_cfg:
54
+ drop_text_ratio: 0.1
55
+ negative_embedding_path: assets/negative_embedding/wan_negemb_cn.pth
56
+ vae_cfg: {load: true}
57
+ scheduler_cfg: {shift: 5.0, weight_type: uniform}
58
+
59
+ memory_cfg:
60
+ capacity: 5
61
+ sink_slots: 1
62
+ recent_slots: 2
63
+ context_slots: 5
64
+ target_chunks: 3
65
+
66
+ teacher_cfg:
67
+ phase: real_prefix_phase1
68
+ # The dataset preselects sink/slow/recent roles around a fixed current.
69
+ # Only all-six has an unambiguous Phase-1 observation contract today.
70
+ history_depths: [6]
71
+ timestep_weighting: logit_normal
72
+ logit_mean: 0.0
73
+ logit_std: 1.0
74
+
75
+ flowmap_cfg:
76
+ gate_value: 0.25
77
+ deltatime_type: r
78
+ diffusion_ratio: 0.5
79
+ consistency_ratio: 0.25
80
+ epsilon: 5
81
+
82
+ path: {pretrain_network: null}
83
+
84
+ train:
85
+ train_pipeline: LM_AIFM_SameObservation_Teacher_Trainer
86
+ optim_g: {type: AdamW, lr: !!float 1e-5, weight_decay: 0.0, betas: [0.9, 0.999]}
87
+ max_grad_norm: 1.0
88
+ lr_scheduler: constant_with_warmup
89
+ warmup_iter: 500
90
+ total_iter: 9999
91
+ ema_decay: 0.999
92
+ ema_warmup_step: 500
93
+
94
+ val:
95
+ skip_first_eval: true
96
+ sample_freq: 100000
97
+ eval_freq: 100000
98
+
99
+ logger:
100
+ print_freq: 10
101
+ save_checkpoint_freq: 1000
102
+ save_eval_checkpoint_freq: 1000
103
+ clean_cache_freq: 10
104
+ use_wandb: false
LongVid/experiments/lm_aifm_same_observation_teacher_phase1_1b/models/checkpoint/.metadata ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8a15ff71b41187c432a3221b16065a282eb25747ff139f948ca42d04a1509479
3
+ size 4477919
LongVid/experiments/lm_aifm_same_observation_teacher_phase1_1b/models/checkpoint/__0_0.distcp ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:611e9da8dc7e6ca13b8297ee88afe32760452536b71a401951f656b7ff520251
3
+ size 747963312
LongVid/experiments/lm_aifm_same_observation_teacher_phase1_1b/models/checkpoint/__1_0.distcp ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:19d97eef69ceb51601e1940b1fd74ba7080f7ac7a694509ce547ce1d02faa0a0
3
+ size 746883265
LongVid/experiments/lm_aifm_same_observation_teacher_phase1_1b/models/checkpoint/__2_0.distcp ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ff5c2279b9f75d3c5b16297b32936cc5027ede8764cd3fe4e823c3a9f77e5f43
3
+ size 746912940
LongVid/experiments/lm_aifm_same_observation_teacher_phase1_1b/models/checkpoint/__3_0.distcp ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fd13e91680eacc506c8481605f87e6903865deef00cc408241e79691a7ea2b26
3
+ size 746887427
LongVid/experiments/lm_aifm_same_observation_teacher_phase1_1b/models/checkpoint/__4_0.distcp ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f78e0f9f991f472e83f5a2397cdbfc534ab651179366131cb6dbc58cb7e54d41
3
+ size 746887491
LongVid/experiments/lm_aifm_same_observation_teacher_phase1_1b/models/checkpoint/__5_0.distcp ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6fc145378708dca0badabdb500c9cadb42854c7dc60c3c232b2ff4a54e04dcd7
3
+ size 746887427
LongVid/experiments/lm_aifm_same_observation_teacher_phase1_1b/models/checkpoint/__6_0.distcp ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d33234b8a73707f9f98f2372cf8b1c13e2438c2e3a1eec31263d8b0998c856d7
3
+ size 746890894
LongVid/experiments/lm_aifm_same_observation_teacher_phase1_1b/models/checkpoint/__7_0.distcp ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3af84ae7a5fc326fb747aad3bdcc49092d1e078eb69eb0d49ab4596eb00fa7fe
3
+ size 746890894
LongVid/experiments/lm_aifm_same_observation_teacher_phase1_1b/models/step_1000.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:687df0fdd4c2ef4b95bb1301beec706ad5a2bbcd0fea745600138412216a84eb
3
+ size 11507032957
LongVid/experiments/lm_aifm_same_observation_teacher_phase1_1b/train_lm_aifm_same_observation_teacher_phase1_1b.yml ADDED
@@ -0,0 +1,104 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # GENERATE TIME: Sun Aug 9 17:12:28 2026
2
+ # CMD:
3
+ # /mnt/workspace/fly/lm_aifm_20260809/src/AnyFlow/far/main.py config_path=options/train/lm_aifm/train_lm_aifm_same_observation_teacher_phase1_1b.yml models.teacher_cfg.history_depths=[6] logger.print_freq=1 logger.save_checkpoint_freq=100
4
+
5
+ # Main Phase-1 LoRA training on real long-video prefixes. The resulting
6
+ # checkpoint is only a teacher candidate. It must still pass the separate
7
+ # real/student-prefix competence audit and interval-solver gate before F runs.
8
+
9
+ name: lm_aifm_same_observation_teacher_phase1_1b
10
+ mode: train
11
+ manual_seed: 0
12
+ mixed_precision: true
13
+
14
+ datasets:
15
+ train:
16
+ type: T2VMemSpecWindowsTarDataset
17
+ meta_path: /mnt/workspace/fly/lm_aifm_20260809/datasets/formal_sekai_60s_v1/wids-meta.json
18
+ data_dtype: .mp4
19
+ temporal_sampling: memspec_sink_slow_recent_29f
20
+ window_num_frames: 29
21
+ history_windows: 6
22
+ target_fps: 16.0
23
+ temporal_seed: 0
24
+ decode_threads: 2
25
+ height: 480
26
+ width: 832
27
+ return_temporal_metadata: true
28
+ dataloader_cfg:
29
+ batch_size_per_gpu: 1
30
+ num_workers: 0
31
+ shuffle: true
32
+ seed: 0
33
+ shuffle_chunk_size: 1000
34
+ drop_last: true
35
+ persistent_workers: false
36
+
37
+ models:
38
+ transformer_cfg:
39
+ model_name: /mnt/workspace/fly/lm_aifm_20260809/checkpoints/AnyFlow-FAR-Wan2.1-1.3B-Diffusers
40
+ model_type: FAR_Wan_Transformer3DModel
41
+ enable_gradient_checkpoint: true
42
+ far_config:
43
+ full_chunk_limit: 3
44
+ chunk_partition: [1, 3, 3, 3, 3, 3, 3, 2]
45
+ compressed_patch_size: [1, 4, 4]
46
+ long_context_training_ratio: 1.0
47
+ lora_config:
48
+ lora_rank: 16
49
+ lora_alpha: 16
50
+ target_module_name: ['attn1.to_q', 'attn1.to_k', 'attn1.to_v', 'attn1.to_out.0', 'ffn.net.0.proj', 'ffn.net.2', 'delta_embedder', 'time_embedder']
51
+ param_names_to_optimize: ['lora_A', 'lora_B']
52
+
53
+ text_encoder_cfg:
54
+ drop_text_ratio: 0.1
55
+ negative_embedding_path: assets/negative_embedding/wan_negemb_cn.pth
56
+ vae_cfg: {load: true}
57
+ scheduler_cfg: {shift: 5.0, weight_type: uniform}
58
+
59
+ memory_cfg:
60
+ capacity: 5
61
+ sink_slots: 1
62
+ recent_slots: 2
63
+ context_slots: 5
64
+ target_chunks: 3
65
+
66
+ teacher_cfg:
67
+ phase: real_prefix_phase1
68
+ # The dataset preselects sink/slow/recent roles around a fixed current.
69
+ # Only all-six has an unambiguous Phase-1 observation contract today.
70
+ history_depths: [6]
71
+ timestep_weighting: logit_normal
72
+ logit_mean: 0.0
73
+ logit_std: 1.0
74
+
75
+ flowmap_cfg:
76
+ gate_value: 0.25
77
+ deltatime_type: r
78
+ diffusion_ratio: 0.5
79
+ consistency_ratio: 0.25
80
+ epsilon: 5
81
+
82
+ path: {pretrain_network: null}
83
+
84
+ train:
85
+ train_pipeline: LM_AIFM_SameObservation_Teacher_Trainer
86
+ optim_g: {type: AdamW, lr: !!float 1e-5, weight_decay: 0.0, betas: [0.9, 0.999]}
87
+ max_grad_norm: 1.0
88
+ lr_scheduler: constant_with_warmup
89
+ warmup_iter: 500
90
+ total_iter: 9999
91
+ ema_decay: 0.999
92
+ ema_warmup_step: 500
93
+
94
+ val:
95
+ skip_first_eval: true
96
+ sample_freq: 100000
97
+ eval_freq: 100000
98
+
99
+ logger:
100
+ print_freq: 10
101
+ save_checkpoint_freq: 1000
102
+ save_eval_checkpoint_freq: 1000
103
+ clean_cache_freq: 10
104
+ use_wandb: false
LongVid/experiments/lm_aifm_same_observation_teacher_phase1_1b/train_lm_aifm_same_observation_teacher_phase1_1b_20260809_171228.log ADDED
The diff for this file is too large to render. See raw diff
 
LongVid/experiments/lm_aifm_same_observation_teacher_phase1_b32_1b/models/checkpoint/__5_0.distcp ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6a71805aacae636e0e8597b66b5afb25ffc5086b163f6ecf8fc086a48b6c428d
3
+ size 746887427
LongVid/experiments/lm_aifm_same_observation_teacher_phase1_b32_1b/train_lm_aifm_same_observation_teacher_phase1_b32_1b.yml ADDED
@@ -0,0 +1,106 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # GENERATE TIME: Mon Aug 10 07:25:37 2026
2
+ # CMD:
3
+ # /mnt/workspace/fly/lm_aifm_20260809/src/AnyFlow/far/main.py config_path=options/train/lm_aifm/train_lm_aifm_same_observation_teacher_phase1_b32_1b.yml
4
+
5
+ # Phase-1 LoRA training on real long-video prefixes with the paper-comparable
6
+ # global batch used by the main experiment: 4 samples/rank x 8 ranks = 32.
7
+ # The resulting checkpoint is a teacher candidate and must still pass the
8
+ # real/student-prefix competence audit and interval-solver gate before F runs.
9
+
10
+ name: lm_aifm_same_observation_teacher_phase1_b32_1b
11
+ mode: train
12
+ manual_seed: 0
13
+ mixed_precision: true
14
+
15
+ datasets:
16
+ train:
17
+ type: T2VMemSpecWindowsTarDataset
18
+ meta_path: /mnt/workspace/fly/lm_aifm_20260809/datasets/formal_sekai_60s_v1/wids-meta.json
19
+ data_dtype: .mp4
20
+ temporal_sampling: memspec_sink_slow_recent_29f
21
+ window_num_frames: 29
22
+ history_windows: 6
23
+ target_fps: 16.0
24
+ temporal_seed: 0
25
+ decode_threads: 2
26
+ height: 480
27
+ width: 832
28
+ return_temporal_metadata: true
29
+ dataloader_cfg:
30
+ batch_size_per_gpu: 4
31
+ num_workers: 0
32
+ shuffle: true
33
+ seed: 0
34
+ shuffle_chunk_size: 1000
35
+ drop_last: true
36
+ persistent_workers: false
37
+
38
+ models:
39
+ transformer_cfg:
40
+ model_name: /mnt/workspace/fly/lm_aifm_20260809/checkpoints/AnyFlow-FAR-Wan2.1-1.3B-Diffusers
41
+ model_type: FAR_Wan_Transformer3DModel
42
+ enable_gradient_checkpoint: true
43
+ far_config:
44
+ full_chunk_limit: 3
45
+ chunk_partition: [1, 3, 3, 3, 3, 3, 3, 2]
46
+ compressed_patch_size: [1, 4, 4]
47
+ long_context_training_ratio: 1.0
48
+ lora_config:
49
+ lora_rank: 16
50
+ lora_alpha: 16
51
+ target_module_name: ['attn1.to_q', 'attn1.to_k', 'attn1.to_v', 'attn1.to_out.0', 'ffn.net.0.proj', 'ffn.net.2', 'delta_embedder', 'time_embedder']
52
+ param_names_to_optimize: ['lora_A', 'lora_B']
53
+
54
+ text_encoder_cfg:
55
+ drop_text_ratio: 0.1
56
+ negative_embedding_path: assets/negative_embedding/wan_negemb_cn.pth
57
+ vae_cfg: {load: true}
58
+ scheduler_cfg: {shift: 5.0, weight_type: uniform}
59
+
60
+ memory_cfg:
61
+ capacity: 5
62
+ sink_slots: 1
63
+ recent_slots: 2
64
+ context_slots: 5
65
+ target_chunks: 3
66
+
67
+ teacher_cfg:
68
+ phase: real_prefix_phase1
69
+ history_depths: [6]
70
+ timestep_weighting: logit_normal
71
+ logit_mean: 0.0
72
+ logit_std: 1.0
73
+
74
+ flowmap_cfg:
75
+ gate_value: 0.25
76
+ deltatime_type: r
77
+ diffusion_ratio: 0.5
78
+ consistency_ratio: 0.25
79
+ epsilon: 5
80
+
81
+ path: {pretrain_network: null}
82
+
83
+ train:
84
+ train_pipeline: LM_AIFM_SameObservation_Teacher_Trainer
85
+ optim_g: {type: AdamW, lr: !!float 1e-5, weight_decay: 0.0, betas: [0.9, 0.999]}
86
+ max_grad_norm: 1.0
87
+ lr_scheduler: constant_with_warmup
88
+ # Preserve the old batch-8 warmup exposure: 500 * 8 = 125 * 32 samples.
89
+ warmup_iter: 125
90
+ # BaseTrainer currently uses an inclusive loop; 2499 means 2500 updates.
91
+ total_iter: 2499
92
+ ema_decay: 0.999
93
+ ema_warmup_step: 125
94
+
95
+ val:
96
+ skip_first_eval: true
97
+ sample_freq: 100000
98
+ eval_freq: 100000
99
+
100
+ logger:
101
+ print_freq: 1
102
+ # Rolling resumable state roughly hourly; immutable model milestones every 500.
103
+ save_checkpoint_freq: 50
104
+ save_eval_checkpoint_freq: 500
105
+ clean_cache_freq: 10
106
+ use_wandb: false
LongVid/experiments/lm_aifm_same_observation_teacher_phase1_b32_1b/train_lm_aifm_same_observation_teacher_phase1_b32_1b_20260810_072537.log ADDED
The diff for this file is too large to render. See raw diff
 
LongVid/experiments/lm_aifm_same_observation_teacher_phase1_maincfg_smoke_1b/train_lm_aifm_same_observation_teacher_phase1_1b.yml ADDED
@@ -0,0 +1,104 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # GENERATE TIME: Sun Aug 9 17:07:42 2026
2
+ # CMD:
3
+ # /mnt/workspace/fly/lm_aifm_20260809/src/AnyFlow/far/main.py config_path=options/train/lm_aifm/train_lm_aifm_same_observation_teacher_phase1_1b.yml name=lm_aifm_same_observation_teacher_phase1_maincfg_smoke_1b train.total_iter=0 logger.print_freq=1 logger.save_checkpoint_freq=1
4
+
5
+ # Main Phase-1 LoRA training on real long-video prefixes. The resulting
6
+ # checkpoint is only a teacher candidate. It must still pass the separate
7
+ # real/student-prefix competence audit and interval-solver gate before F runs.
8
+
9
+ name: lm_aifm_same_observation_teacher_phase1_1b
10
+ mode: train
11
+ manual_seed: 0
12
+ mixed_precision: true
13
+
14
+ datasets:
15
+ train:
16
+ type: T2VMemSpecWindowsTarDataset
17
+ meta_path: /mnt/workspace/fly/lm_aifm_20260809/datasets/formal_sekai_60s_v1/wids-meta.json
18
+ data_dtype: .mp4
19
+ temporal_sampling: memspec_sink_slow_recent_29f
20
+ window_num_frames: 29
21
+ history_windows: 6
22
+ target_fps: 16.0
23
+ temporal_seed: 0
24
+ decode_threads: 2
25
+ height: 480
26
+ width: 832
27
+ return_temporal_metadata: true
28
+ dataloader_cfg:
29
+ batch_size_per_gpu: 1
30
+ num_workers: 0
31
+ shuffle: true
32
+ seed: 0
33
+ shuffle_chunk_size: 1000
34
+ drop_last: true
35
+ persistent_workers: false
36
+
37
+ models:
38
+ transformer_cfg:
39
+ model_name: /mnt/workspace/fly/lm_aifm_20260809/checkpoints/AnyFlow-FAR-Wan2.1-1.3B-Diffusers
40
+ model_type: FAR_Wan_Transformer3DModel
41
+ enable_gradient_checkpoint: true
42
+ far_config:
43
+ full_chunk_limit: 3
44
+ chunk_partition: [1, 3, 3, 3, 3, 3, 3, 2]
45
+ compressed_patch_size: [1, 4, 4]
46
+ long_context_training_ratio: 1.0
47
+ lora_config:
48
+ lora_rank: 16
49
+ lora_alpha: 16
50
+ target_module_name: ['attn1.to_q', 'attn1.to_k', 'attn1.to_v', 'attn1.to_out.0', 'ffn.net.0.proj', 'ffn.net.2', 'delta_embedder', 'time_embedder']
51
+ param_names_to_optimize: ['lora_A', 'lora_B']
52
+
53
+ text_encoder_cfg:
54
+ drop_text_ratio: 0.1
55
+ negative_embedding_path: assets/negative_embedding/wan_negemb_cn.pth
56
+ vae_cfg: {load: true}
57
+ scheduler_cfg: {shift: 5.0, weight_type: uniform}
58
+
59
+ memory_cfg:
60
+ capacity: 5
61
+ sink_slots: 1
62
+ recent_slots: 2
63
+ context_slots: 5
64
+ target_chunks: 3
65
+
66
+ teacher_cfg:
67
+ phase: real_prefix_phase1
68
+ # The dataset preselects sink/slow/recent roles around a fixed current.
69
+ # Only all-six has an unambiguous Phase-1 observation contract today.
70
+ history_depths: [6]
71
+ timestep_weighting: logit_normal
72
+ logit_mean: 0.0
73
+ logit_std: 1.0
74
+
75
+ flowmap_cfg:
76
+ gate_value: 0.25
77
+ deltatime_type: r
78
+ diffusion_ratio: 0.5
79
+ consistency_ratio: 0.25
80
+ epsilon: 5
81
+
82
+ path: {pretrain_network: null}
83
+
84
+ train:
85
+ train_pipeline: LM_AIFM_SameObservation_Teacher_Trainer
86
+ optim_g: {type: AdamW, lr: !!float 1e-5, weight_decay: 0.0, betas: [0.9, 0.999]}
87
+ max_grad_norm: 1.0
88
+ lr_scheduler: constant_with_warmup
89
+ warmup_iter: 500
90
+ total_iter: 9999
91
+ ema_decay: 0.999
92
+ ema_warmup_step: 500
93
+
94
+ val:
95
+ skip_first_eval: true
96
+ sample_freq: 100000
97
+ eval_freq: 100000
98
+
99
+ logger:
100
+ print_freq: 10
101
+ save_checkpoint_freq: 1000
102
+ save_eval_checkpoint_freq: 1000
103
+ clean_cache_freq: 10
104
+ use_wandb: false
LongVid/experiments/lm_aifm_same_observation_teacher_phase1_maincfg_smoke_1b/train_lm_aifm_same_observation_teacher_phase1_maincfg_smoke_1b_20260809_170742.log ADDED
The diff for this file is too large to render. See raw diff
 
LongVid/experiments/lm_aifm_same_observation_teacher_phase1_smoke_1b/train_lm_aifm_same_observation_teacher_phase1_smoke_1b_20260809_170509.log ADDED
The diff for this file is too large to render. See raw diff
 
LongVid/experiments/lm_aifm_same_observation_teacher_phase1_smoke_1b/train_lm_aifm_same_observation_teacher_smoke_1b.yml ADDED
@@ -0,0 +1,103 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # GENERATE TIME: Sun Aug 9 17:05:09 2026
2
+ # CMD:
3
+ # /mnt/workspace/fly/lm_aifm_20260809/src/AnyFlow/far/main.py config_path=options/train/lm_aifm/train_lm_aifm_same_observation_teacher_smoke_1b.yml
4
+
5
+ # One-update Phase-1 systems smoke for the FAR same-observation long teacher.
6
+ # This checks data -> per-window VAE -> MemSpec -> 13c+8t bidirectional score.
7
+ # It is not a teacher competence result and does not unlock formal-F training.
8
+ # Use the full 799-sample WIDS even for one update: a four-sample shard with
9
+ # drop_last=true yields zero samples/rank under an eight-rank launch.
10
+
11
+ name: lm_aifm_same_observation_teacher_phase1_smoke_1b
12
+ mode: train
13
+ manual_seed: 0
14
+ mixed_precision: true
15
+
16
+ datasets:
17
+ train:
18
+ type: T2VMemSpecWindowsTarDataset
19
+ meta_path: /mnt/workspace/fly/lm_aifm_20260809/datasets/formal_sekai_60s_v1/wids-meta.json
20
+ data_dtype: .mp4
21
+ temporal_sampling: memspec_sink_slow_recent_29f
22
+ window_num_frames: 29
23
+ history_windows: 6
24
+ target_fps: 16.0
25
+ temporal_seed: 0
26
+ decode_threads: 2
27
+ height: 480
28
+ width: 832
29
+ return_temporal_metadata: true
30
+ dataloader_cfg:
31
+ batch_size_per_gpu: 1
32
+ num_workers: 0
33
+ shuffle: false
34
+ seed: 0
35
+ shuffle_chunk_size: null
36
+ drop_last: true
37
+ persistent_workers: false
38
+
39
+ models:
40
+ transformer_cfg:
41
+ model_name: /mnt/workspace/fly/lm_aifm_20260809/checkpoints/AnyFlow-FAR-Wan2.1-1.3B-Diffusers
42
+ model_type: FAR_Wan_Transformer3DModel
43
+ enable_gradient_checkpoint: true
44
+ far_config:
45
+ full_chunk_limit: 3
46
+ chunk_partition: [1, 3, 3, 3, 3, 3, 3, 2]
47
+ compressed_patch_size: [1, 4, 4]
48
+ long_context_training_ratio: 1.0
49
+ lora_config:
50
+ lora_rank: 16
51
+ lora_alpha: 16
52
+ target_module_name: ['attn1.to_q', 'attn1.to_k', 'attn1.to_v', 'attn1.to_out.0', 'ffn.net.0.proj', 'ffn.net.2', 'delta_embedder', 'time_embedder']
53
+ param_names_to_optimize: ['lora_A', 'lora_B']
54
+
55
+ text_encoder_cfg:
56
+ drop_text_ratio: 0.0
57
+ negative_embedding_path: assets/negative_embedding/wan_negemb_cn.pth
58
+ vae_cfg: {load: true}
59
+ scheduler_cfg: {shift: 5.0, weight_type: uniform}
60
+
61
+ memory_cfg:
62
+ capacity: 5
63
+ sink_slots: 1
64
+ recent_slots: 2
65
+ context_slots: 5
66
+ target_chunks: 3
67
+
68
+ teacher_cfg:
69
+ phase: real_prefix_phase1
70
+ history_depths: [6]
71
+ timestep_weighting: logit_normal
72
+ logit_mean: 0.0
73
+ logit_std: 1.0
74
+
75
+ flowmap_cfg:
76
+ gate_value: 0.25
77
+ deltatime_type: r
78
+ diffusion_ratio: 0.5
79
+ consistency_ratio: 0.25
80
+ epsilon: 5
81
+
82
+ path: {pretrain_network: null}
83
+
84
+ train:
85
+ train_pipeline: LM_AIFM_SameObservation_Teacher_Trainer
86
+ optim_g: {type: AdamW, lr: !!float 1e-5, weight_decay: 0.0, betas: [0.9, 0.999]}
87
+ max_grad_norm: 1.0
88
+ lr_scheduler: constant_with_warmup
89
+ warmup_iter: 0
90
+ # BaseTrainer uses <=, so this is exactly one update.
91
+ total_iter: 0
92
+
93
+ val:
94
+ skip_first_eval: true
95
+ sample_freq: 100000
96
+ eval_freq: 100000
97
+
98
+ logger:
99
+ print_freq: 1
100
+ save_checkpoint_freq: 1000
101
+ save_eval_checkpoint_freq: 1000
102
+ clean_cache_freq: 1
103
+ use_wandb: false
LongVid/results/lm_aifm_anyflow_far_1b_smoke8/test_anyflow_far_1b_smoke8.yml ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # GENERATE TIME: Sun Aug 9 12:32:01 2026
2
+ # CMD:
3
+ # /mnt/workspace/fly/lm_aifm_20260809/src/AnyFlow/far/main.py config_path=options/test/lm_aifm/test_anyflow_far_1b_smoke8.yml
4
+
5
+ name: lm_aifm_anyflow_far_1b_smoke8
6
+ mode: eval
7
+ manual_seed: 0
8
+ mixed_precision: true
9
+
10
+ datasets:
11
+ sample:
12
+ type: PromptDataset
13
+ prompt_path: assets/evaluation/eval_caption_t2v_smoke8.json
14
+ preprocess_cfg:
15
+ height: 256
16
+ width: 448
17
+ dataloader_cfg:
18
+ batch_size_per_gpu: 1
19
+ num_workers: 0
20
+ shuffle: false
21
+ drop_last: false
22
+
23
+ models:
24
+ transformer_cfg:
25
+ model_name: /mnt/workspace/fly/lm_aifm_20260809/checkpoints/AnyFlow-FAR-Wan2.1-1.3B-Diffusers
26
+ model_type: FAR_Wan_Transformer3DModel
27
+ enable_gradient_checkpoint: false
28
+ far_config:
29
+ full_chunk_limit: 3
30
+ chunk_partition: [1, 3, 3, 3, 3, 3, 3, 2]
31
+ compressed_patch_size: [1, 4, 4]
32
+ long_context_training_ratio: 0.5
33
+ text_encoder_cfg:
34
+ drop_text_ratio: 0.0
35
+ fuse_guidance_scale: 3.0
36
+ vae_cfg:
37
+ load: true
38
+ scheduler_cfg:
39
+ shift: 5.0
40
+ weight_type: beta08
41
+ flowmap_cfg:
42
+ gate_value: 0.25
43
+ deltatime_type: r
44
+ diffusion_ratio: 0.5
45
+ consistency_ratio: 0.25
46
+ epsilon: 5
47
+
48
+ path:
49
+ pretrain_network: null
50
+
51
+ train:
52
+ train_pipeline: FAR_Wan_AnyFlow_Pretrain_Trainer
53
+
54
+ val:
55
+ val_pipeline: FARWanAnyFlowPipeline
56
+ sample_cfg:
57
+ height: 256
58
+ width: 448
59
+ seed: [0]
60
+ guidance_scale: 1.0
61
+ num_inference_steps: [2]
62
+ num_frames: 81
63
+ negative_prompt: "overexposed, static, blurry details, subtitles, low quality, deformed"
64
+
65
+ logger:
66
+ use_wandb: false
LongVid/results/lm_aifm_anyflow_far_1b_smoke8/test_lm_aifm_anyflow_far_1b_smoke8_20260809_122740.log ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 2026-08-09 12:27:43,453 INFO:
2
+ name: lm_aifm_anyflow_far_1b_smoke8
3
+ mode: eval
4
+ manual_seed: 0
5
+ mixed_precision: True
6
+ datasets:[
7
+ sample:[
8
+ type: PromptDataset
9
+ prompt_path: assets/evaluation/eval_caption_t2v_smoke8.json
10
+ preprocess_cfg:[
11
+ height: 256
12
+ width: 448
13
+ ]
14
+ dataloader_cfg:[
15
+ batch_size_per_gpu: 1
16
+ num_workers: 0
17
+ shuffle: False
18
+ drop_last: False
19
+ ]
20
+ ]
21
+ ]
22
+ models:[
23
+ transformer_cfg:[
24
+ model_name: /mnt/workspace/fly/lm_aifm_20260809/checkpoints/AnyFlow-FAR-Wan2.1-1.3B-Diffusers
25
+ model_type: FAR_Wan_Transformer3DModel
26
+ enable_gradient_checkpoint: False
27
+ far_config:[
28
+ full_chunk_limit: 3
29
+ chunk_partition: [1, 3, 3, 3, 3, 3, 3, 2]
30
+ compressed_patch_size: [1, 4, 4]
31
+ long_context_training_ratio: 0.5
32
+ ]
33
+ ]
34
+ text_encoder_cfg:[
35
+ drop_text_ratio: 0.0
36
+ fuse_guidance_scale: 3.0
37
+ ]
38
+ vae_cfg:[
39
+ load: True
40
+ ]
41
+ scheduler_cfg:[
42
+ shift: 5.0
43
+ weight_type: beta08
44
+ ]
45
+ flowmap_cfg:[
46
+ gate_value: 0.25
47
+ deltatime_type: r
48
+ diffusion_ratio: 0.5
49
+ consistency_ratio: 0.25
50
+ epsilon: 5
51
+ ]
52
+ ]
53
+ path:[
54
+ pretrain_network: None
55
+ results_root: results/lm_aifm_anyflow_far_1b_smoke8
56
+ log: results/lm_aifm_anyflow_far_1b_smoke8
57
+ visualization: results/lm_aifm_anyflow_far_1b_smoke8/visualization
58
+ ]
59
+ train:[
60
+ train_pipeline: FAR_Wan_AnyFlow_Pretrain_Trainer
61
+ ]
62
+ val:[
63
+ val_pipeline: FARWanAnyFlowPipeline
64
+ sample_cfg:[
65
+ height: 256
66
+ width: 448
67
+ seed: [0]
68
+ guidance_scale: 1.0
69
+ num_inference_steps: [2]
70
+ num_frames: 81
71
+ negative_prompt: overexposed, static, blurry details, subtitles, low quality, deformed
72
+ ]
73
+ ]
74
+ logger:[
75
+ use_wandb: False
76
+ ]
77
+ config_path: options/test/lm_aifm/test_anyflow_far_1b_smoke8.yml
78
+
LongVid/results/lm_aifm_anyflow_far_1b_smoke8/test_lm_aifm_anyflow_far_1b_smoke8_20260809_123201.log ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 2026-08-09 12:32:02,112 INFO:
2
+ name: lm_aifm_anyflow_far_1b_smoke8
3
+ mode: eval
4
+ manual_seed: 0
5
+ mixed_precision: True
6
+ datasets:[
7
+ sample:[
8
+ type: PromptDataset
9
+ prompt_path: assets/evaluation/eval_caption_t2v_smoke8.json
10
+ preprocess_cfg:[
11
+ height: 256
12
+ width: 448
13
+ ]
14
+ dataloader_cfg:[
15
+ batch_size_per_gpu: 1
16
+ num_workers: 0
17
+ shuffle: False
18
+ drop_last: False
19
+ ]
20
+ ]
21
+ ]
22
+ models:[
23
+ transformer_cfg:[
24
+ model_name: /mnt/workspace/fly/lm_aifm_20260809/checkpoints/AnyFlow-FAR-Wan2.1-1.3B-Diffusers
25
+ model_type: FAR_Wan_Transformer3DModel
26
+ enable_gradient_checkpoint: False
27
+ far_config:[
28
+ full_chunk_limit: 3
29
+ chunk_partition: [1, 3, 3, 3, 3, 3, 3, 2]
30
+ compressed_patch_size: [1, 4, 4]
31
+ long_context_training_ratio: 0.5
32
+ ]
33
+ ]
34
+ text_encoder_cfg:[
35
+ drop_text_ratio: 0.0
36
+ fuse_guidance_scale: 3.0
37
+ ]
38
+ vae_cfg:[
39
+ load: True
40
+ ]
41
+ scheduler_cfg:[
42
+ shift: 5.0
43
+ weight_type: beta08
44
+ ]
45
+ flowmap_cfg:[
46
+ gate_value: 0.25
47
+ deltatime_type: r
48
+ diffusion_ratio: 0.5
49
+ consistency_ratio: 0.25
50
+ epsilon: 5
51
+ ]
52
+ ]
53
+ path:[
54
+ pretrain_network: None
55
+ results_root: results/lm_aifm_anyflow_far_1b_smoke8
56
+ log: results/lm_aifm_anyflow_far_1b_smoke8
57
+ visualization: results/lm_aifm_anyflow_far_1b_smoke8/visualization
58
+ ]
59
+ train:[
60
+ train_pipeline: FAR_Wan_AnyFlow_Pretrain_Trainer
61
+ ]
62
+ val:[
63
+ val_pipeline: FARWanAnyFlowPipeline
64
+ sample_cfg:[
65
+ height: 256
66
+ width: 448
67
+ seed: [0]
68
+ guidance_scale: 1.0
69
+ num_inference_steps: [2]
70
+ num_frames: 81
71
+ negative_prompt: overexposed, static, blurry details, subtitles, low quality, deformed
72
+ ]
73
+ ]
74
+ logger:[
75
+ use_wandb: False
76
+ ]
77
+ config_path: options/test/lm_aifm/test_anyflow_far_1b_smoke8.yml
78
+
LongVid/results/lm_aifm_anyflow_far_1b_smoke8/visualization/sample/iter_final/task_t2v/sample_step_2/seed_0/00_A_golden_retriever_runs_through_a_sunny_.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:347a6c700e0a91215a06c193086ea40f2905b66250d164d60038a7d7688aa64e
3
+ size 303586
LongVid/results/lm_aifm_anyflow_far_1b_smoke8/visualization/sample/iter_final/task_t2v/sample_step_2/seed_0/01_A_red_vintage_car_drives_along_a_winding.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a9b3fb157769240d7ba0a00ab3e99c79bb9b8fa512fe704e9e1d9450cfc02e46
3
+ size 213071
LongVid/results/lm_aifm_anyflow_far_1b_smoke8/visualization/sample/iter_final/task_t2v/sample_step_2/seed_0/02_A_chef_mixes_ingredients_in_a_bright_mod.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f28d212a4e12402f4fa5c71070398f3821f6fd81f3f55102416ab87eaa88f38f
3
+ size 135648
LongVid/results/lm_aifm_anyflow_far_1b_smoke8/visualization/sample/iter_final/task_t2v/sample_step_2/seed_0/03_A_panda_cub_climbs_bamboo_on_a_misty_for.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b6b11812775af4840b533c71e8fd2821ef5478d0b1a6258e046a64b0789619bc
3
+ size 238897
LongVid/results/lm_aifm_anyflow_far_1b_smoke8/visualization/sample/iter_final/task_t2v/sample_step_2/seed_0/04_An_astronaut_walks_slowly_across_a_rocky.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:449562bf0186cd315ce7e1902ab79a2bf10fb627e7b600ddfc9b47049a934dbd
3
+ size 282367
LongVid/results/lm_aifm_anyflow_far_1b_smoke8/visualization/sample/iter_final/task_t2v/sample_step_2/seed_0/05_A_woman_in_a_red_dress_walks_through_a_n.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e2694e8a48ac50d73c996586307e67f0d6c179cc01e8c18c7b0dfa978b6b8958
3
+ size 168657
LongVid/results/lm_aifm_anyflow_far_1b_smoke8/visualization/sample/iter_final/task_t2v/sample_step_2/seed_0/06_A_small_sailboat_crosses_a_calm_mountain.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ddea7796ef790502c8cb6913f790ec9146317ca725b703efbc322fb6d1df2333
3
+ size 161150