-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14 from invoke-ai/ryan/sdxl-lora-2
Add SDXL fine-tuning with LoRA
- Loading branch information
Showing
17 changed files
with
1,178 additions
and
191 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# This is a sample config for finetuning a SDXL 1.0 model with LoRA to produce a Pokemon LoRA model. | ||
|
||
output: | ||
base_output_dir: output/ | ||
|
||
optimizer: | ||
learning_rate: 5.0e-4 | ||
|
||
dataset: | ||
dataset_name: lambdalabs/pokemon-blip-captions | ||
|
||
# General | ||
model: stabilityai/stable-diffusion-xl-base-1.0 | ||
vae_model: madebyollin/sdxl-vae-fp16-fix | ||
seed: 1 | ||
train_text_encoder: False | ||
gradient_accumulation_steps: 4 | ||
mixed_precision: fp16 | ||
xformers: True | ||
gradient_checkpointing: True | ||
max_train_steps: 4000 | ||
save_every_n_epochs: 1 | ||
save_every_n_steps: null | ||
max_checkpoints: 100 | ||
validation_prompts: | ||
- yoda | ||
- astronaut | ||
- yoda in a space suit | ||
validate_every_n_epochs: 1 | ||
train_batch_size: 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.