-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
the main branch is broken for controlnet training with sdxl #4206
Labels
bug
Something isn't working
Comments
Maybe the recent introduction of |
sayakpaul
added a commit
that referenced
this issue
Jul 25, 2023
* fix: #4206 * add: sdxl controlnet training smoketest. * remove unnecessary token inits. * add: licensing to model card. * include SDXL licensing in the model card and make public visibility default * debugging * debugging * disable local file download. * fix: training test. * fix: ckpt prefix.
#4223 should have fixed this issue. |
orpatashnik
pushed a commit
to orpatashnik/diffusers
that referenced
this issue
Aug 1, 2023
…4223) * fix: huggingface#4206 * add: sdxl controlnet training smoketest. * remove unnecessary token inits. * add: licensing to model card. * include SDXL licensing in the model card and make public visibility default * debugging * debugging * disable local file download. * fix: training test. * fix: ckpt prefix.
orpatashnik
pushed a commit
to orpatashnik/diffusers
that referenced
this issue
Aug 1, 2023
…4223) * fix: huggingface#4206 * add: sdxl controlnet training smoketest. * remove unnecessary token inits. * add: licensing to model card. * include SDXL licensing in the model card and make public visibility default * debugging * debugging * disable local file download. * fix: training test. * fix: ckpt prefix.
orpatashnik
pushed a commit
to orpatashnik/diffusers
that referenced
this issue
Aug 1, 2023
…4223) * fix: huggingface#4206 * add: sdxl controlnet training smoketest. * remove unnecessary token inits. * add: licensing to model card. * include SDXL licensing in the model card and make public visibility default * debugging * debugging * disable local file download. * fix: training test. * fix: ckpt prefix.
yoonseokjin
pushed a commit
to yoonseokjin/diffusers
that referenced
this issue
Dec 25, 2023
…4223) * fix: huggingface#4206 * add: sdxl controlnet training smoketest. * remove unnecessary token inits. * add: licensing to model card. * include SDXL licensing in the model card and make public visibility default * debugging * debugging * disable local file download. * fix: training test. * fix: ckpt prefix.
AmericanPresidentJimmyCarter
pushed a commit
to AmericanPresidentJimmyCarter/diffusers
that referenced
this issue
Apr 26, 2024
…4223) * fix: huggingface#4206 * add: sdxl controlnet training smoketest. * remove unnecessary token inits. * add: licensing to model card. * include SDXL licensing in the model card and make public visibility default * debugging * debugging * disable local file download. * fix: training test. * fix: ckpt prefix.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
the main branch (all PRs up to #4205) failed the controlnet training with sdxl. Some kind of disalignment of arguments.
Reproduction
export MODEL_DIR="stabilityai/stable-diffusion-xl-base-0.9"
export VAE_DIR="madebyollin/sdxl-vae-fp16-fix"
export OUTPUT_DIR="product_train_output_extract_1stbatch_100k_sdxl0.9_1024_lr1"
export CACHE_DIR="/home/ubuntu/lamda-filesystem/custom_cache"
accelerate launch --mixed_precision="fp16" train_controlnet_sdxl.py
--pretrained_model_name_or_path=$MODEL_DIR
--output_dir=$OUTPUT_DIR
--pretrained_vae_model_name_or_path=$VAE_DIR
--cache_dir=$CACHE_DIR
--dataset_name=all_training_full_extract
--image_column="target"
--conditioning_image_column="source"
--caption_column="prompt"
--resolution=1024
--learning_rate=1e-5
--validation_image "./val1_extract_source.jpg" "./val2_extract_source.jpg" "./val3_extract_source.jpg" "./popchange.png"
--validation_prompt "a white trash can sitting on a table next to a plant" "a bottle of liquid with flower in it" "a rack with a bunch of shoes on it" "a doll in galaxy"
--train_batch_size=1
--gradient_accumulation_steps=12
--tracker_project_name="product_train_output_extract_1stbatch_100k_sdxl0.9_1024_lr1"
--num_train_epochs=20
--report_to=wandb
--validation_steps=100
--checkpointing_steps=1000
--checkpoints_total_limit=10
--seed=42
--enable_xformers_memory_efficient_attention
Logs
System Info
diffusers
version: 0.19.0.dev0Who can help?
@patrickvonplaten @sayakpaul
The text was updated successfully, but these errors were encountered: