🎨 New Model Support
- ERNIE-Image & ERNIE-Image-Turbo: Port Baidu's ERNIE-Image models with text-to-image CLI entrypoints, LoRA inference and training, and
mflux-savesupport. - Ideogram 4 FP8: Add Ideogram 4 FP8 text-to-image support with JSON caption handling, FP8 safetensors loading, and a dedicated CLI entrypoint.
✨ Improvements
- FLUX.2 Klein 9B KV-cache: Add KV-cache support for
flux2-klein-9b-kvwith roughly 2.4× speedup on multi-reference edit workloads.
🐛 Bug Fixes
- FLUX.2 Klein Edit guidance: Allow
--guidance > 1.0for FLUX.2 Klein edits by checking the resolved FLUX.2 model config instead of requiring a base model name; defaults remain unchanged. - FLUX.2 Klein
mflux-generate: FixFileNotFoundError: text_encoder_2by routing Klein models throughFlux2Kleinand skipping the unused T5/text_encoder_2weight path. - Memory management: Evict the text encoder after encoding and clear the MLX cache between seeds on multi-seed runs to prevent OOM on large models such as FLUX.2 Klein 9B.
📝 Documentation
- Related projects: Add mlx-taef and mlx-teacache to the Related projects list.