Releases: mflux-community/mflux
Releases · mflux-community/mflux
Release list
Release 0.18.1
🎨 New Model Support
- Krea 2: Add text-to-image support for
krea/Krea-2-Turbo— a single-stream MMDiT built on the Qwen-Image stack (Qwen-Image VAE + a 12-layer Qwen3-VL-4B text-encoder tap). Includes themflux-generate-krea2CLI (live progress,--metadata, stepwise output),er_sdeand Euler samplers, andmflux-savequantization caching.
✨ Improvements
- Atomic
--loraand--imageflags: Pair each path with its value on a single, repeatable flag —--lora A.safetensors 0.7 --lora B.safetensors(scale defaults to1.0) and--image photo.jpg 0.6(strength defaults to the model default). This removes the positional-alignment footgun of the parallel--lora-paths/--lora-scalesand--image-path/--image-strengthlists, which remain fully supported and are marked deprecated in--help. (#438)
🐛 Bug Fixes
- Ideogram 4 stepwise output: Fix
--stepwise-image-output-dirfor Ideogram 4 by routing unpacked latents tovae.decodeinstead ofdecode_packed_latentswhen channels are already VAE-ready. (#444)
📝 Documentation
- Related projects: Add mflux-paint to the Related projects list. (#471)
🧰 DX & Maintenance
- PyPI trusted publishing: Publish releases via GitHub Actions OIDC (
pypa/gh-action-pypi-publish) instead of a long-livedPYPI_API_TOKENsecret.
👩💻 Contributors
Release 0.18.0
🎨 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.
👩💻 Contributors
Release 0.17.5
🐛 Bug Fixes
- Qwen Image Edit
mflux-save: Route Qwen edit model names toQwenImageEditand save through the same path as inference so VisionTransformer (encoder.visual) weights are written. Saving withQwenImagepreviously omitted those weights and led to random vision encoders after reload. - Battery saver callback: Harden Apple Silicon battery detection when
system_profileris missing and resolve the helper script via absolute paths.
📝 Documentation
- Related projects: Clarify that MindCraft Studio is a macOS app built on mflux.
🧰 DX & Maintenance
- Dependencies: Relax the
protobufupper bound to allow current 7.x releases while keeping a safe ceiling below 8.0.
👩💻 Contributors
Release 0.17.4
🐛 Bug Fixes
- Z-Image PEFT/ModelScope LoRA keys: Extend the Z-Image LoRA mapping with
.defaulttensor name variants so adapters in PEFT/ModelScope layouts (for example Tongyi-MAI exports) resolve and apply correctly instead of matching zero weights.
👩💻 Contributors
Release 0.17.3
🐛 Bug Fixes
- FLUX.2 edit guidance metadata: Preserve the requested guidance value for FLUX.2 Klein base image-edit runs so
mflux-infoand saved metadata report the actual guidance used instead of always showing1.0.
👩💻 Contributors
Release 0.17.2
🐛 Bug Fixes
- Shared tokenizer cache resolution: Fix Hugging Face tokenizer resolution when a repo is only partially cached locally, preserving offline-first behavior for valid cached layouts while retrying ambiguous cached primaries once before surfacing real load errors.
🧰 DX & Maintenance
- Tokenizer resolution coverage: Expand shared tokenizer-resolution regression tests to cover root-layout tokenizers, fallback edge cases, and refresh failure handling.
👩💻 Contributors
Release 0.17.1
🐛 Bug Fixes
- Hugging Face tokenizer dependencies: Declare
protobufso minimal installs (includinguv tool install mflux) include packages Transformers may require when loading tokenizers, fixing failures such asmflux-generate-fibowhen the tokenizer falls back off the fast path.
👩💻 Contributors
Release 0.17.0
🎨 New Model Support
- FIBO Edit: Add image-editing support for the FIBO model family.
- FIBO Edit remove-background workflow: Support the dedicated remove-background edit path for FIBO.
✨ Improvements
- Training image scaling: Scale training images by area rather than longest side for more consistent preprocessing.
- MLX 0.31.x: Allow MLX 0.31.x in dependency ranges.
- FLUX.2 LoRA mapping: Expand LoRA key mapping coverage for FLUX.2.
🐛 Bug Fixes
- Training optimizer state: Evaluate optimizer state after each training step as intended.
- Local tokenizer loading: Fix loading tokenizers from local paths.
- Dynamic-resolution image edit: Restore correct behavior for image edit when using dynamic resolution.
👩💻 Contributors
Release 0.16.9
✨ Improvements
- Broader LoRA compatibility for FLUX.2 and Z-Image: Expand LoRA mapping coverage so more adapter key layouts resolve cleanly for FLUX.2 and Z-Image models.
👩💻 Contributors
Release 0.16.8
✨ Improvements
- Local-model LoRA training: Allow LoRA training to work when the base model is supplied from a local path, including the FLUX.2 and Z-Image training adapters.
📝 Documentation
- Distilled-model step defaults: Clarify CLI guidance so examples prefer model default inference steps unless the user intentionally overrides them.