Skip to content

Release 0.18.0

Latest

Choose a tag to compare

@github-actions github-actions released this 07 Jun 20:00
48e5ae6

🎨 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-save support.
  • 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-kv with roughly 2.4× speedup on multi-reference edit workloads.

🐛 Bug Fixes

  • FLUX.2 Klein Edit guidance: Allow --guidance > 1.0 for 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: Fix FileNotFoundError: text_encoder_2 by routing Klein models through Flux2Klein and skipping the unused T5/text_encoder_2 weight 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.

👩‍💻 Contributors