Skip to content
This repository has been archived by the owner on Jun 28, 2024. It is now read-only.

Commit

Permalink
docs: update lora training with sd-xl info
Browse files Browse the repository at this point in the history
  • Loading branch information
evshiron committed Aug 14, 2023
1 parent c798692 commit 6c8422e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion content/post/lora-training/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ tags:

To follow this tutorial, it's recommended to use our fork of SD:Next.

The official SD:Next will be able to do so once [the PR](https://github.com/vladmandic/automatic/pull/2009) is landed.

### Prepare

Prepare you images for training and place them in a directory (e.g. `automatic/datasets/cutecats`).
Expand All @@ -41,8 +43,12 @@ cd automatic

# `--type lyco` works too
python3 cli/train.py --type lora --name cutecats --tag cutecats --input datasets/cutecats
```

# training for sd-xl is also supported by adding --sdxl to cli/train.py
# and add --model to specify the sd-xl checkpoint, or you need to select it in the webui
# currently no_half_vae is used to fix the original vae, which will cost more vram and have lower performance
# so it only works on rx 7900 xtx/xt for now, unless you use the fixed vae (see pr for detail)
```

Now you will see logs about images being processed according to the steps specified in the `--process` argument.

Expand Down

0 comments on commit 6c8422e

Please sign in to comment.