Repository navigation
v1.7.0
LoRA Forge 1.7.0
Before you update
- NVIDIA driver 595 or newer is now required. LoRA Forge moves to PyTorch 2.15, which is built for CUDA 13.2 only. Check your driver version in the NVIDIA app or with
nvidia-smiand update it first if needed. - On the first launch, PyTorch and a few other packages are downloaded again (a few GB, once), and the first training of each model compiles again.
- flash-attn and xformers are removed from your
.venvon the first launch (if you had them): PyTorch 2.15's own attention runs on flash kernels, as fast as flash-attn was. Close anything that uses.venvfirst, for example VS Code with its Python extensions.
Faster defaults without extra installs
- Flash attention is now built in: Anima, SDXL, Krea 2 and MOSS-Image get it without installing anything. The
uv sync --extra flash-attnstep is gone. - The attention options are gone from the pages:
attn_modeon Anima, Krea 2 and MOSS-Image, and thexformersswitch on the SD1.5 / SDXL pages. An older config that asks for flash-attn or xformers uses PyTorch's attention instead, unless you installed that package yourself. - Short runs of every trainer on PyTorch 2.15 matched the old speed with flash-attn: Anima 1.627 vs 1.617 s/step, SDXL 0.837 vs 0.840, Krea 2 3.745 vs 3.694, MOSS-Image 2.105 vs 2.084.
Anima compile
compile_shapesnow defaults toauto: PyTorch 2.15 fixed the bug that made it fail (pytorch#193194). Different bucket sizes share two or three compiled graphs instead of one per bucket, at the same step speed.- LoRA Forge's own
boundedmode is gone: PyTorch 2.15 no longer accepts it. Configs that use it getauto. dynamicworks too when the Visual Studio C++ compiler is installed: one graph for all sizes, the same step speed.