Repository navigation
Training

Teaches a model a person, an object or a style from your own pictures, and produces a new LoRA.
-
Name the LoRA. A trigger word is made from the name (for example
paper_cranes_zqx); you can change it. - Model to train on: SDXL (Diffusers runtime), FLUX.2 [klein], Krea 2, Z-Image or ERNIE-Image (MLX runtime).
-
Pictures: 10–30 good pictures are enough. Use Add pictures or Add a folder. With a folder,
.txtfiles with the same name as a picture are used as its caption. Every caption starts with the trigger word. Describe in the captions what is not meant to be learned, such as background or clothing. - Preset: Quick test (100 steps), Standard (500), Thorough (1200). You can also set steps (10–5000), resolution (512/768/1024), rank (8/16/32) and learning rate.
- Start the training. First every picture passes the content filter, as results do (Checking the pictures, with Allow nudity off no nudity at all); your pictures are only looked at, never changed or removed. If one does not pass, the training does not start and the panel names the pictures to take out. The captions and the trigger word are checked like a prompt. Then the panel shows the phase, step, loss curve and time left. The Mac stays awake, and generating is paused during the training.
When it is done, Compare strengths opens the new LoRA in the comparison. Rough times on an M2: SDXL about 2.5 s per step at 768 px, FLUX.2 [klein] 4B about 15 s, 9B about 30 s, Krea 2 about 45 s; on the Mac mini M4 with 16 GB Z-Image Turbo about 17 s and ERNIE-Image Turbo about 21 s at 512 px.
Z-Image: Z-Image Turbo and Z-Image (Base) can be trained too. For Turbo a helper adapter (ostris'
zimage_turbo_training_adapter, Apache-2.0, 0.3 GB) is downloaded once into the helpers folder and checked; it keeps
Turbo's few steps during training. It is made for short runs (a person, an object, a style); very long runs can still
make Turbo lose them, so with more than Standard the note turns into a !. On a Mac with 16 GB the base is
trained in 4 bit (about 10 GB, no swap), from 24 GB in 8 bit.
ERNIE-Image (Turbo and Base) trains without a helper adapter, likewise in 4 bit on 16 GB (about 11 GB) and in
8 bit from 24 GB.

VulKara · free · source · releases · changelog · Buy Me a Coffee · pictures made with VulKara carry the EU icon AI GENERATED
English · Deutsch · Español · Português (Brasil) · Português (Portugal)
Start
User guide
- Getting started
- The window
- Text to image
- Styles
- Image to image
- Inpainting
- AI Canvas
- Video
- Upscale
- Restore
- Pose editor
- Illusion
- LoRAs
- Training
- Models
- History
- Tips and tricks
- The large view
- Settings
- Hardware Logs Changelog Licenses About
- Content rules
- Where the data is
- Troubleshooting
Background
Developers