Replies: 2 comments 25 replies
-
Could you share the output of |
Beta Was this translation helpful? Give feedback.
-
hi, @MMY1994 : Good luck! |
Beta Was this translation helpful? Give feedback.
-
Could you share the output of |
Beta Was this translation helpful? Give feedback.
-
hi, @MMY1994 : Good luck! |
Beta Was this translation helpful? Give feedback.
-
This is my shell script
export MODEL_NAME="./model_base/sd_xl_base"
export VAE_NAME="./model_base/sdxl-vae-fp16-fix"
accelerate launch
--config_file /root/.cache/huggingface/accelerate/default_config.yaml
--num_cpu_threads_per_process=8
./diffusers/examples/text_to_image/train_text_to_image_sdxl_mmy.py
--pretrained_model_name_or_path=$MODEL_NAME
--pretrained_vae_model_name_or_path=$VAE_NAME
--train_data_dir="./fineturn/fineturn.py"
--output_dir="./sdxl-dreamshape-fineturn-model/"
--enable_xformers_memory_efficient_attention
--resolution=1024 --center_crop --random_flip
--proportion_empty_prompts=0.2
--train_batch_size=1
--mixed_precision="fp16"
--gradient_accumulation_steps=4 --gradient_checkpointing
--max_train_steps=5000
--use_8bit_adam
--learning_rate=1e-07
--lr_scheduler="constant" --lr_warmup_steps=0
--validation_prompt="a young man climbing the ladder, high quality" --validation_epochs 1
--checkpointing_steps=200
I Use A800 40GB and --enable_xformers_memory_efficient_attention, --mixed_precision="fp16".
Even when I use 512 resolution and batchsize=1, this error still happen. i don't think it's normal
Beta Was this translation helpful? Give feedback.
All reactions