model:
  model_path: /tmp/ltxjob/models/ltx-2.3-22b-dev.safetensors
  text_encoder_path: /tmp/ltxjob/gemma
  training_mode: lora
  load_checkpoint: null
lora:
  rank: 32
  alpha: 32
  dropout: 0.0
  target_modules:
  - attn1.to_k
  - attn1.to_q
  - attn1.to_v
  - attn1.to_out.0
  - attn2.to_k
  - attn2.to_q
  - attn2.to_v
  - attn2.to_out.0
  - ff.net.0.proj
  - ff.net.2
training_strategy:
  name: flexible
  video:
    is_generated: true
    latents_dir: latents
    conditions:
    - type: reference
      latents_dir: reference_latents
      probability: 1.0
    - type: first_frame
      probability: 0.2
optimization:
  learning_rate: 0.0002
  steps: 20
  batch_size: 1
  gradient_accumulation_steps: 1
  max_grad_norm: 1.0
  optimizer_type: adamw
  scheduler_type: linear
  scheduler_params: {}
  enable_gradient_checkpointing: true
acceleration:
  mixed_precision_mode: bf16
  quantization: null
  load_text_encoder_in_8bit: false
  offload_optimizer_during_validation: true
data:
  preprocessed_data_root: /tmp/ltxjob/run/dataset/.precomputed
  num_dataloader_workers: 2
validation:
  samples:
  - prompt: "A young couple \u2014 bearded man in a navy puffer vest and white shirt,\
      \ woman in a striped grey sweater \u2014 jog playfully across a moss-covered\
      \ coastal rock plateau toward the camera; rough sea, a small wind-bent pine\
      \ and distant rocky shoreline under a flat overcast sky behind them; cool muted\
      \ light, vertical handheld follow shot with slight camera bob."
    conditions:
    - type: reference
      video: /tmp/ltxjob/run/dataset/videos/2_people_running_in_nature_reference.mp4
      include_in_output: true
  negative_prompt: worst quality, inconsistent motion, blurry, jittery, distorted
  video_dims:
  - 768
  - 512
  - 49
  frame_rate: 25.0
  seed: 42
  inference_steps: 30
  interval: 20
  guidance_scale: 4.0
  stg_scale: 1.0
  stg_blocks:
  - 29
  stg_mode: stg_v
  generate_audio: false
  skip_initial_validation: true
checkpoints:
  interval: 20
  keep_last_n: -1
  precision: bfloat16
flow_matching:
  timestep_sampling_mode: shifted_logit_normal
  timestep_sampling_params: {}
hub:
  push_to_hub: false
  hub_model_id: null
wandb:
  enabled: false
  project: ltx-2-trainer
  entity: null
  tags:
  - ltx2
  - jobs
  log_validation_videos: true
seed: 42
output_dir: /tmp/ltxjob/run/outputs
