#2828th of 135 in Image and video
AI Toolkit
LoRA and LoKr training suite for image, video and audio diffusion models
Run it:Vast.ai ↗ (opens in a new tab)RackNerd ↗ (opens in a new tab)RepoCloud ↗ (opens in a new tab)Clore.ai ↗ (opens in a new tab)Affiliate links, no effect on a rank.
- Stars
- 12.7k
- License
- MIT
- Last commit
- Nov 2026
- Language
- Python
9,836 on 28 Mar 202612,719 on 21 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
AI Toolkit trains LoRA and LoKr adapters for diffusion models, driven by YAML configs through `python run.py` or a web UI on port 8675. It covers image, instruction/edit, video and audio models, including FLUX.1/2, Qwen-Image, Z-Image, Wan 2.1/2.2, LTX-2 and Ace Step. It targets consumer Nvidia GPUs and has setup notes for RunPod and Modal.
Who it is for: People fine-tuning LoRAs for diffusion models on their own Nvidia GPU
Strengths
- Supports many recent models: FLUX.2, Qwen-Image, Wan 2.2, LTX-2, Ace Step
- Same jobs run from the CLI with YAML configs or from the web UI
- Layer targeting with only_if_contains and ignore_if_contains; LoKr supported
- Bucketing resizes images automatically, so no manual cropping is needed
Weaknesses
- Manual install requires an Nvidia GPU; Apple Silicon support is marked experimental
- AI Toolkit Manager installer is labelled experimental
- Datasets limited to jpg, jpeg and png; webp has issues
- Ctrl+C during a checkpoint save will likely corrupt that checkpoint
What it needs
- GPU required
- Docker + Compose
- Needs PyTorch, Node.js >20 (UI), Hugging Face model weights, git
- Models: FLUX.1, FLUX.2, Qwen-Image, Z-Image, SDXL
- port 8675
Known problems
Open now, reported in the last 90 days
- Automagic V4: learning rate runs away to ~57x its starting value in the first ~400 steps, wrecking the LoRA (MiniMax H3) ↗ (opens in a new tab)3 reactions
- automagic V4 works not well ↗ (opens in a new tab)1 reactions
- Krea 2 train on RAW preview on Turbo ↗ (opens in a new tab)1 reactions
- Qwen Image 2.1: baseline sampling crashes when text embeddings are cached ("prompt embeddings hold 741 reference image slots but 3 reference image(s) were passed") ↗ (opens in a new tab)1 reactions
- Stop Job CAN resume later. not working ↗ (opens in a new tab)1 reactions
Reported, then fixed by a linked change
- Error when training flux2-klein with control_folder ↗ (opens in a new tab)2 reactions · closed 25 Mar 2026Fixed by Fix CPU/CUDA device mismatch when training Klein edit with control_path ↗ (opens in a new tab)
- error when training qwen-image-2512 ↗ (opens in a new tab)1 reactions · closed 23 Mar 2026Fixed by Fix Qwen attention mask crash with diffusers >=0.37 ↗ (opens in a new tab)
Titles are the reporters' own words, taken from the project's GitHub issues and ranked by reactions. We have not tried to reproduce any of them.
Also in Image and video
See all 135| Rank | Project | Score |
|---|---|---|
| #26 | sdnextWeb UI for generating and editing images and video with diffusion models | 72 out of 100 |
| #27 | sanaEfficient diffusion models and training code for high-resolution image and video | 71 out of 100 |
| #29 | infinigenProcedural 3D scene generator on Blender with ground-truth renders | 70 out of 100 |
| #30 | beeftvDesktop canvas for AI video production with a built-in agent and workflows | 70 out of 100 |
| #31 | fastvideoPost-training and inference framework for accelerated video diffusion models | 69 out of 100 |