1.2.5 - Krea 2 generation & LoRA training #16
imprsnst
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
v1.2.5
Krea 2 lands as the second local model family, for both generation and LoRA training.
Krea 2 is a 12.9B single-stream MMDiT shipped as two checkpoints that work together. RAW is the undistilled base you fine-tune, Turbo is the 8-step distilled checkpoint you generate with, and a LoRA trained on RAW applies to Turbo unchanged. Both nodes are built around that workflow.
Generation
Comfy-Org/Krea-2. Only thebf16builds load: thefp8_scaled,int8_convrot,mxfp8andnvfp4variants carry ComfyUI-specific scale tensors, and the node says so up front. The VAE is the diffusers-format one fromQwen/Qwen-Image, which the popup fetches for you. No Hugging Face token needed anywhere.LoRA training
z-imageandkrea2each declaring its own base resolution, target modules and text-encoder handling.auto,none,nf4), LoRA scope (fullorattention), caption dropout, and flip augmentation.Training benchmarks
12 steps at rank 16, batch 1, gradient checkpointing on. The number is
torch.cuda.max_memory_allocated, so leave headroom for the CUDA context and allocator slack.A training adapter is free: it is fused into the base before training starts, so Turbo-plus-adapter and the undistilled base peak identically.
Note that training Krea 2 is cheaper than generating with it. Generation peaks around 36GB at 1024 with guidance on, so a 40GB+ card is the practical floor there, while the 4-bit path trains at 512 inside 12GB. Z-Image remains the low-VRAM option for generation.
Under the hood
The shared pipeline machinery moved out of the Z-Image runner into
models/pipeline_runtime.pyandmodels/loaders.py, cuttingzimage/runner.pyfrom roughly 1000 lines to 250 and giving both model families one device, dtype and offload path.Project
Full changelog: v1.2.41...v1.2.5
What's Changed
Full Changelog: v1.2.41...v1.2.5
This discussion was created from the release 1.2.5 - Krea 2 generation & LoRA training.
All reactions