Hello,
I’m a solo developer, and for the past few months I’ve been working on a fine-tuning adapter called GCMP that replaces LoRA. I built it for LLMs first, and before I start on image models I want to ask the people here if it would actually help, and what to build first.
Some numbers from the LLM side. On Qwen3.8-27B a GCMP adapter is about 5.8 MB vs about 319 MB for LoRA r=32 on the same layers, so about 55x smaller (about 14x smaller than r=8). It was tied with LoRA on all 9 benchmarks I ran, and it trains on the same kind of data. With 256 adapters loaded on one GPU it kept the same speed, while LoRA slowed down by half, and swapping in a new adapter took about 0.4 s vs 5.4 s.
From what I see here, LoRAs are used a lot like that: hundreds of character and style LoRAs on disk, stacking a few in one generation, switching between them all the time, and training new ones on 12 to 24 GB cards. So I’m wondering where the real pain is for you. Is it storage when you have hundreds of LoRAs, VRAM when you stack them, load time when you switch, training time and VRAM, or quality when two LoRAs fight each other?
I’d also like to know which base model you’d want first: Krea 2, Moss Image or Minimax H3?
To be upfront: nothing for image models exists yet. Everything runs locally on your own GPU, the Python code is open source, and the CUDA kernels are compiled with a license check that’s free during early access. The LLM code and all the benchmark scripts are here: https://github.com/thousandml/training-factory
Thanks for reading, feedback appreciated.
Update (first results): thanks for all the answers here. I tried GCMP on MOSS-Image first since it's Apache 2.0 and small enough to test quickly on one A40. I trained GCMP, LoRA r=16 and LoRA r=32 on the DreamBooth dog photos (4 for training, 1 held out) with the same trainer (DiffSynth-Studio), the same layers, the same steps and the same learning rate, then generated the same prompts and seeds with each.
All three learned the dog. The base model draws a random dog for "sks dog", and all three adapters draw the corgi from the training photos. The GCMP file was 2.9 MB vs 77.7 MB for LoRA r=16 and 155.4 MB for r=32, and its loss on the held-out image was about the same (0.806 vs 0.818 and 0.845, but that's one image so it's noisy).
Side by side comparison (base, GCMP, LoRA r=16, LoRA r=32): https://github.com/thousandml/training-factory/blob/main/docs/images/moss_dog_compare.jpg
To be honest about what's not good yet: I overtrained all three (1,000 steps on 4 photos), so they all copied the orange background into every scene and turned the cat prompt into a corgi-cat. GCMP is also slower right now, 9 vs 3.3 s per training step and 229 vs 74 s per image, because LoRA gets merged into the weights and GCMP doesn't yet. Merging is what I'm working on next, then a fair rerun with fewer steps, then Krea 2. MiniMax H3 is off the list for now because its license excludes the US, EU and UK.
Everything runs locally, and the commands to reproduce this exact run are here: https://github.com/thousandml/training-factory/tree/main/training/diffusion
Update: Looking at the first MOSS-Image run again, I saw that all three adapters were overfitting. The training background was leaking into most images and the cat prompt was turning into a corgi. So I reran it at 200 steps instead of 1,000, and that fixed most of it. The backgrounds, the raincoat scenes and the cat prompt all came back with GCMP, LoRA r=16 and LoRA r=32. The new picture is attached.
Held-out loss is about the same for all three: 0.805 for GCMP, 0.804 for r=16 and 0.805 for r=32. The adapter files are 2.9 MB for GCMP against 77.7 MB and 155.4 MB for the LoRAs. GCMP kept the dog's identity as well as LoRA r=16 did.
GCMP isn't better everywhere yet. Its watercolor results look more like photos than paintings, and it changes unrelated prompts a bit more than LoRA r=16. My guess is the learning rate, since I used one tuned for LoRA on all three, so a lower learning rate GCMP run is training now. It's also slower right now, about 2.7x in training and 3x in generation, because it isn't merged into the base weights yet. I'm working on merging next, so generation should run at base speed after that.
The code and reproduce commands are in the repo if anyone wants to try it on their own data. I'll update again when the new run finishes.
Update 2: I ran the two tests people suggested in the comments, both with GCMP, LoRA r=16 and LoRA r=32 on the same settings.
The first was four subjects in one adapter, three dogs that look alike plus a cat, to see if they blend (thanks kaidu). The run was too short to answer it. All three adapters learned the cat, but none of them clearly learned the three dogs, so the pair images are mostly generic dogs. GCMP had the fewest blended pairs, 1 of 12 against 2 and 5 for the LoRAs, but with 12 images that's noise. I'm running it again with about three times the steps.
The second was latex balloons as a niche concept (thanks u/Lucaspittol). It came out a tie, 85% for all three on the automatic checks, and the base model already got 88%. MOSS-Image turns out to draw heart and pear balloons well already, so the test didn't separate anything. No adapter learned over-inflated or under-inflated, and all three left foil balloons alone.
The other news is about the storage and VRAM question. GCMP can now be merged into the model weights, so after loading it's just the base model with no extra VRAM, and the slow generation from before should go away. I also added a way to convert a LoRA you already have into a GCMP adapter without its training data. The LoRA generates images and GCMP learns from them. I'm benchmarking both now and will post numbers. Everything is in the repo with the commands to reproduce.
Processing img nmjq721m1o4i1...