You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#!/bin/bashexportMODEL_PATH="CogVideoX1.5-5B"exportCACHE_PATH="~/.cache"exportDATASET_PATH="Disney-VideoGeneration-Dataset"exportOUTPUT_PATH="cogvideox1.5-lora-single-node"exportPYTORCH_CUDA_ALLOC_CONF=expandable_segments:TrueexportCUDA_VISIBLE_DEVICES=0,1,2,3,4,5,6,7# if you are not using wth 8 gus, change `accelerate_config_machine_single.yaml` num_processes as your gpu numberacceleratelaunch--config_fileaccelerate_config_machine_single.yaml--multi_gpu \
train_cogvideox_lora.py \
--gradient_checkpointing \
--pretrained_model_name_or_path $MODEL_PATH \
--cache_dir $CACHE_PATH \
--enable_tiling \
--enable_slicing \
--instance_data_root $DATASET_PATH \
--caption_columnprompt.txt \
--video_columnvideos.txt \
--validation_prompt"DISNEY A black and white animated scene unfolds with an anthropomorphic goat surrounded by musical notes and symbols, suggesting a playful environment. Mickey Mouse appears, leaning forward in curiosity as the goat remains still. The goat then engages with Mickey, who bends down to converse or react. The dynamics shift as Mickey grabs the goat, potentially in surprise or playfulness, amidst a minimalistic background. The scene captures the evolving relationship between the two characters in a whimsical, animated setting, emphasizing their interactions and emotions:::A panda, dressed in a small, red jacket and a tiny hat, sits on a wooden stool in a serene bamboo forest. The panda's fluffy paws strum a miniature acoustic guitar, producing soft, melodic tunes. Nearby, a few other pandas gather, watching curiously and some clapping in rhythm. Sunlight filters through the tall bamboo, casting a gentle glow on the scene. The panda's face is expressive, showing concentration and joy as it plays. The background includes a small, flowing stream and vibrant green foliage, enhancing the peaceful and magical atmosphere of this unique musical performance" \
--validation_prompt_separator ::: \
--num_validation_videos1 \
--validation_epochs100 \
--seed42 \
--rank128 \
--lora_alpha64 \
--mixed_precisionbf16 \
--output_dir $OUTPUT_PATH \
--height768 \
--width1360 \
--fps16 \
--max_num_frames81 \
--skip_frames_start0 \
--skip_frames_end0 \
--train_batch_size1 \
--num_train_epochs30 \
--checkpointing_steps1000 \
--gradient_accumulation_steps1 \
--learning_rate1e-3 \
--lr_schedulercosine_with_restarts \
--lr_warmup_steps200 \
--lr_num_cycles1 \
--enable_slicing \
--enable_tiling \
--gradient_checkpointing \
--optimizerAdamW \
--adam_beta10.9 \
--adam_beta20.95 \
--max_grad_norm1.0 \
--allow_tf32 \
--report_towandb
Expected behavior / 期待表现
使用diffusers微调1.5 t2v
The text was updated successfully, but these errors were encountered:
System Info / 系統信息
python3.10
cuda12.1
diffusers:0.32.0.dev0
ubuntu:20.04
GPU:8xA800
Information / 问题信息
Reproduction / 复现过程
代码是11月28号的main代码,通过diffusers微淘1.5t2v,finetune_single_rank.sh报错,错误如下,已修改height为768 width为1360 max_num_frames为81 fps为16。麻烦帮忙看下,感谢!
finetune_single_rank.sh
Expected behavior / 期待表现
使用diffusers微调1.5 t2v
The text was updated successfully, but these errors were encountered: