Repository navigation
v1.6.0
LoRA Forge 1.6.0
Before you update
- LoRA Forge now runs on Python 3.14 (was 3.12). On the first launch after updating, uv rebuilds the
.venvfolder and downloads the packages again (a few GB, once). Close anything that uses.venvfirst, for example VS Code with its Python extensions: a file in use stops the rebuild halfway. If that happens, close the program and runuv sync --extra flash-attn(oruv syncwithout flash-attn) in the LoRA Forge folder. - The first training of each model recompiles once, because compile caches are kept per Python version.
- sd-scripts v0.12.3 is now the tested version, and new installs clone it. Existing installs:
.\run_gui.ps1 update-sd-scripts --branch v0.12.3(Linux:bash run_gui.sh update-sd-scripts --branch v0.12.3). Until then, System info shows the installed sd-scripts as outdated.
MOSS-Image on smaller GPUs
- New option
blocks_to_swapon the MOSS-Image page: the weights of up to 40 of the 42 blocks stay in system RAM and are copied to the GPU just before they are used. The trained LoRA is the same as without swapping. On a 16 GB card at 1024 px:
blocks_to_swap |
VRAM | Speed |
|---|---|---|
| 0 (default) | about 13 GB | – |
| 20 | about 9 GB | the same |
| 30 | about 7 GB | 6% slower |
| 40 | about 5 GB | 13% slower |
use_pinned_memory_for_block_swap(on by default) keeps the copies alongside the computation; without it, 40 blocks were 53% slower. Pinned RAM takes about 0.2 GB per swapped block and cannot be paged out.- Block swap needs
gradient_checkpointing; the page turns it on when you setblocks_to_swap.
Also
- Short Anima, SDXL, Krea 2 and MOSS-Image runs on Python 3.14 matched Python 3.12 in speed, compiled graphs and loss, and sd-scripts v0.12.3 matched v0.12.2.
- Dependencies updated to their latest versions, among them diffusers 0.41 and wandb 0.31.