mirror of
https://github.com/storytold/FineTrainers-Conditioning.git
synced 2026-10-28 08:57:10 +00:00
adaption for CogVideoX1.5 (#92)
* adaption for CogVideoX1.5 * add patch_size_t in full finetuning of T2V and lora finetuning of I2V * Update training/args.py Co-authored-by: Sayak Paul <spsayakpaul@gmail.com> --------- Co-authored-by: Sayak Paul <spsayakpaul@gmail.com>
This commit is contained in:
@@ -787,6 +787,7 @@ def main(args):
|
||||
num_frames=num_frames,
|
||||
vae_scale_factor_spatial=VAE_SCALE_FACTOR_SPATIAL,
|
||||
patch_size=model_config.patch_size,
|
||||
patch_size_t=model_config.patch_size_t if hasattr(model_config, "patch_size_t") else None,
|
||||
attention_head_dim=model_config.attention_head_dim,
|
||||
device=accelerator.device,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user