luyu1021's picture
Add documented LTX-2 training source, recipes and checkpoint release plan
76b7b25 verified
Raw History Blame Contribute Delete
3.81 kB
checkpoint_path: ${WORKSPACE_ROOT}/data/checkpoints/LTX-2/ltx-2-19b-dev.safetensors
gemma_path: ${WORKSPACE_ROOT}/data/checkpoints/gemma-3-12b-it-qat-q4_0-unquantized
model_name: ltx2_av
generator_grad:
model: true
real_score_grad:
model: false
fake_score_grad:
model: true
dmd_enabled: true
critic_enabled: true
dmd_style: rcm_trig
dmd_p_D_shift: 5.0
backward_trig_timesteps:
- 1.5
- 1.4
- 1.0
denoising_step_list:
- 1000
- 757
- 522
- 0
num_train_timestep: 1000
real_video_guidance_scale: 3.0
real_audio_guidance_scale: 5.0
generator_task: bidirectional_av
real_task_type: bidirectional_av
fake_task_type: bidirectional_av
denoising_loss_type: velocity
distillation_loss: dmd
scm_enabled: true
scm_data_path: ${WORKSPACE_ROOT}/data/datasets/scm_latent_lmdb_60k
scm_batch_size: 1
scm_max_pair: 100000000
scm_weight: 1.0
scm_loss_scale: 1.0
dmd_weight: 1.0
scm_p_G_mean: 1.5
scm_p_G_std: 1.6
scm_fd_type: 0
scm_strict_rcm: true
scm_jvp_impl: internal
scm_fd_size: 0.0001
scm_tangent_warmup: 0
scm_time_eps: 0.0001
scm_loss_fp32: true
mixed_precision: true
gradient_checkpointing: true
batch_size: 1
checkpoint_iters: 1000
keep_optimizer_states: 2
skip_initial_checkpoint: true
lr: 2.0e-05
generator_lr: 2.0e-05
critic_lr: 2.0e-05
beta1: 0.0
beta2: 0.999
weight_decay: 0.01
dfake_gen_update_ratio: 5
separate_generator_critic_phases: true
share_scm_dmd_batch: true
max_grad_norm: 3.0
scheduler_type: constant
warmup_steps: 0
data_path: ${WORKSPACE_ROOT}/data/inputs/mapping.csv
backward_simulation: true
negative_prompt: blurry, out of focus, overexposed, underexposed, low contrast, washed
out colors, excessive noise, grainy texture, poor lighting, flickering, motion blur,
distorted proportions, unnatural skin tones, deformed facial features, asymmetrical
face, missing facial features, extra limbs, disfigured hands, wrong hand count,
artifacts around text, inconsistent perspective, camera shake, incorrect depth of
field, background too sharp, background clutter, distracting reflections, harsh
shadows, inconsistent lighting direction, color banding, cartoonish rendering, 3D
CGI look, unrealistic materials, uncanny valley effect, incorrect ethnicity, wrong
gender, exaggerated expressions, wrong gaze direction, mismatched lip sync, silent
or muted audio, distorted voice, robotic voice, echo, background noise, off-sync
audio, incorrect dialogue, added dialogue, repetitive speech, jittery movement,
awkward pauses, incorrect timing, unnatural transitions, inconsistent framing, tilted
camera, flat lighting, inconsistent tone, cinematic oversaturation, stylized filters,
or AI artifacts.
num_frames: 121
video_height: 512
video_width: 768
sharding_strategy: full_shard
fsdp_use_orig_params: true
generator_fsdp_wrap_strategy: transformer
real_score_fsdp_wrap_strategy: size
fake_score_fsdp_wrap_strategy: size
text_encoder_fsdp_enabled: false
text_encoder_fsdp_wrap_strategy: size
real_score_cpu_offload: false
fake_score_cpu_offload: false
text_encoder_cpu_offload: false
text_encoder_on_cpu: true
activation_cpu_offload: false
scm_dmd_alternate: false
debug_scm_trace: false
per_term_backward: true
fsdp_backward_prefetch: pre
output_path: ${WORKSPACE_ROOT}/output/ablation
log_iters: 1
train_log_all_scalars: true
wandb_project: TurboT2AV
wandb_entity: ''
wandb_name: planC
wandb_api_key: ''
seed: 42
benchmark_enabled: false
benchmark_iters: 50
benchmark_num_prompts: 10
benchmark_seed: 12345
benchmark_video_fps: 24
benchmark_audio_sample_rate: 24000
student_benchmark_use_cfg: false
teacher_benchmark_enabled: false
teacher_benchmark_video_guidance_scale: 3.0
teacher_benchmark_audio_guidance_scale: 5.0
scm_tangent_clip_mean: 20.0
reverse_scm_data_order: true
max_steps: 10
save_training_state: true
checkpoint_format: sharded
no_save: false
no_visualize: false