Training Details
dataset.toml
resolutions = [[ 1280, 704]]
enable_ar_bucket = true
min_ar = 0.5
max_ar = 2.0
num_ar_buckets = 7
ar_buckets = [[1280, 704]]
frame_buckets = [ 1, 24, 46, 81,]
[[directory]]
path = "/home/user/beauty_of_rain_dataset/videos"
num_repeats = 4
train.toml
output_dir = "/home/user/beauty_of_rain_dataset/5B"
dataset = "/home/user/beauty_of_rain_5B.toml"
epochs = 120
micro_batch_size_per_gpu = 1
pipeline_stages = 1
gradient_accumulation_steps = 1
gradient_clipping = 1
warmup_steps = 100
eval_every_n_epochs = 1
eval_before_first_step = true
eval_micro_batch_size_per_gpu = 1
eval_gradient_accumulation_steps = 1
save_every_n_epochs = 12
activation_checkpointing = true
partition_method = "parameters"
save_dtype = "bfloat16"
caching_batch_size = 1
steps_per_print = 10
video_clip_mode = "single_beginning"
[model]
type = "wan"
ckpt_path = "/home/user/Wan2.2-TI2V-5B"
dtype = "bfloat16"
transformer_dtype = "float8"
timestep_sample_method = "logit_normal"
[adapter]
type = "lora"
rank = 32
dtype = "bfloat16"
[optimizer]
type = "adamw_optimi"
lr = 8e-5
betas = [ 0.9, 0.99,]
weight_decay = 0.01
eps = 1e-8