Skip to content

v1.6.0

Choose a tag to compare

@github-actions github-actions released this 26 Oct 18:50
· 6 commits to main since this release

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 .venv folder and downloads the packages again (a few GB, once). Close anything that uses .venv first, for example VS Code with its Python extensions: a file in use stops the rebuild halfway. If that happens, close the program and run uv sync --extra flash-attn (or uv sync without 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_swap on 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 set blocks_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.