@@ -29,7 +29,7 @@ def run(self, config: Config, finetrainers_path: str, log_file: str):
2929 if config .get ('layerwise_upcasting_modules' ) != 'none' :
3030 model_cmd += ["--layerwise_upcasting_modules" , config .get ('layerwise_upcasting_modules' ),
3131 "--layerwise_upcasting_storage_dtype" , config .get ('layerwise_upcasting_storage_dtype' ),
32- "--layerwise_upcasting_granularity " , config .get ('layerwise_upcasting_granularity ' )]
32+ "--layerwise_upcasting_skip_modules_pattern " , config .get ('layerwise_upcasting_skip_modules_pattern ' )]
3333
3434 dataset_cmd = ["--data_root" , config .get ('data_root' ),
3535 "--video_column" , config .get ('video_column' ),
@@ -45,6 +45,7 @@ def run(self, config: Config, finetrainers_path: str, log_file: str):
4545 "--text_encoder_2_dtype" , config .get ('text_encoder_2_dtype' ),
4646 "--text_encoder_3_dtype" , config .get ('text_encoder_3_dtype' ),
4747 "--vae_dtype" , config .get ('vae_dtype' ),
48+ "--transformer_dtype" , config .get ('transformer_dtype' ),
4849 '--precompute_conditions' if config .get ('precompute_conditions' ) else '' ]
4950 if config .get ('dataset_file' ):
5051 dataset_cmd += ["--dataset_file" , config .get ('dataset_file' )]
@@ -56,7 +57,6 @@ def run(self, config: Config, finetrainers_path: str, log_file: str):
5657
5758 training_cmd = ["--training_type" , config .get ('training_type' ),
5859 "--seed" , config .get ('seed' ),
59- "--mixed_precision" , config .get ('mixed_precision' ),
6060 "--batch_size" , config .get ('batch_size' ),
6161 "--train_steps" , config .get ('train_steps' ),
6262 "--rank" , config .get ('rank' ),
0 commit comments