File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -43,6 +43,8 @@ Then launch LoRA fine-tuning. Below we provide an example for LTX-Video. We refe
43
43
<details >
44
44
<summary >Training command</summary >
45
45
46
+ TODO: LTX does not do too well with the disney dataset. We will update this to use a better example soon.
47
+
46
48
``` bash
47
49
#! /bin/bash
48
50
export WANDB_MODE=" offline"
@@ -75,18 +77,18 @@ dataset_cmd="--data_root $DATA_ROOT \
75
77
dataloader_cmd=" --dataloader_num_workers 0"
76
78
77
79
# Diffusion arguments
78
- diffusion_cmd=" --flow_resolution_shifting "
80
+ diffusion_cmd=" --flow_weighting_scheme logit_normal "
79
81
80
82
# Training arguments
81
83
training_cmd=" --training_type lora \
82
84
--seed 42 \
83
85
--mixed_precision bf16 \
84
86
--batch_size 1 \
85
- --train_steps 1200 \
87
+ --train_steps 3000 \
86
88
--rank 128 \
87
89
--lora_alpha 128 \
88
90
--target_modules to_q to_k to_v to_out.0 \
89
- --gradient_accumulation_steps 1 \
91
+ --gradient_accumulation_steps 4 \
90
92
--gradient_checkpointing \
91
93
--checkpointing_steps 500 \
92
94
--checkpointing_limit 2 \
Original file line number Diff line number Diff line change @@ -36,18 +36,18 @@ dataset_cmd="--data_root $DATA_ROOT \
36
36
dataloader_cmd=" --dataloader_num_workers 0"
37
37
38
38
# Diffusion arguments
39
- diffusion_cmd=" --flow_resolution_shifting "
39
+ diffusion_cmd=" --flow_weighting_scheme logit_normal "
40
40
41
41
# Training arguments
42
42
training_cmd=" --training_type lora \
43
43
--seed 42 \
44
44
--mixed_precision bf16 \
45
45
--batch_size 1 \
46
- --train_steps 1200 \
46
+ --train_steps 3000 \
47
47
--rank 128 \
48
48
--lora_alpha 128 \
49
49
--target_modules to_q to_k to_v to_out.0 \
50
- --gradient_accumulation_steps 1 \
50
+ --gradient_accumulation_steps 4 \
51
51
--gradient_checkpointing \
52
52
--checkpointing_steps 500 \
53
53
--checkpointing_limit 2 \
You can’t perform that action at this time.
0 commit comments