Repository navigation
v4.12.0 - MiniMax H3 Image, Webshart Parquet/S3, and attention updates
Upgrade notes
- Both NVIDIA extras,
cudaandcuda13, now select CUDA 13.2 PyTorch wheels. CUDA 12 is no longer selected by those extras; follow the updated installation instructions when upgrading. - The Apple and NVIDIA training stacks move to PyTorch 2.15 and TorchAO 0.18. The ROCm stack uses the ROCm 10.0 PyTorch wheels and retains the Python-only TorchAO 0.17 wheel.
- Rebuild H3 image/video VAE caches created with the affected pixel-range handling. The old path narrowed input pixels to
[0.5, 1], producing washed-out training targets. This release corrects normalization but does not automatically invalidate existing caches or repair adapters trained with them. - Webshart Parquet/S3 loading requires
webshart>=0.8.0; TrainingSample is pinned to 0.4.0. The vendored KohakuFA-CuTe implementation includes upstream AGPL-3.0-or-later licensing and updated third-party notices.
Features
- MiniMax H3 Image: add
model_family=minimaxh3,model_flavour=h3_imageusing the existing H3 model wrapper, with the image VAE, custom VAE-path overrides, audio-free operation, six PDD output heads and released sampling schedule. Load native ComfyUI diffusion checkpoints and import/export adapters withlora_format=comfyui. - Add optional H3 Image prompt-expander server integration, explicit assistant-LoRA loading, a 2048px training example, and translated setup documentation. Assistant training remains experimental; a completed assistant adapter is not part of this release.
- Webshart Parquet and S3: load image bytes from local, Hugging Face Hub and S3-compatible Parquet catalogs. Configure image/caption/dimension columns and capture manifests, reuse AWS transport settings, and batch row-group reads. The WebUI preserves these settings across save/reload; a bounded loader benchmark is included.
- CuTe attention: update vendored KohakuFA-CuTe 0.4.0 kernels and dispatch, including A100/SM80 training and GB10/SM121 support, refreshed architecture schedules, logical-view handling, deterministic-policy checks, and updated default arithmetic.
- Expose explicit 2D neighborhood attention with shifted boundary windows, autograd and compilation support, without requiring NATTEN. Existing 3D LTX decoder attention remains separate.
Fixes
- Preserve dataset filters during backend setup and caption precaching. Keep paired Parquet reference IDs tied to their physical rows instead of rewriting them as filesystem paths.
- Fix bounded, multi-GPU caption precaching so rank-local captions are not split twice, and keep Webshart sample/cache identifiers canonical.
- Reduce Krea 2 masked grouped-query attention memory by allowing efficient SDPA on ROCm instead of materializing the math-attention matrix.
- Export schedule-free optimizer inference weights consistently, including text encoder adapters and FSDP2 full-model exports.
- Honor the configured model revision when loading noise schedulers across shared and model-specific loaders.
- Restore MageFlow compatibility with current Transformers output types; update TorchAO and Transformer Engine integration for the refreshed dependency stack.
- Fix split-server WebUI routing and callback discovery, preserve explicit Accelerate CLI overrides, and fix SDK pending-job cancellation, duplicate IDs, thread iteration and trainer-class selection.
- Make event lightbox images visible and scope navigation to the clicked event.
- Omit blank Model Default selections from CLI arguments while preserving intentional empty values.
- Remove the obsolete urllib3 cap that blocked otherwise compatible bootstrap installations, and declare aiohttp for OIDC discovery and JWKS requests.
- Correct dataset-helper documentation links and expand regression coverage for AnyFlow precision/guidance, attention kernels, cache handling and WebUI behavior.
Changes since v4.11.0
- Add GB10 support from latest KohakuFA-CuTe (#3305)
- docs: add worktree management guidelines (#3306)
- test: cover AnyFlow precision and guidance regressions (#3307)
- Sync KohakuFA-CuTe 0.4.0 kernels and dispatch (#3308)
- docs: point dataset script links at scripts/datasets (#3309)
- Fix empty Model Default selections in training configs (#3310)
- Fix schedule-free optimizer weights in final model exports (#3312)
- Honor the configured model revision when loading noise schedulers (#3313)
- Import KohakuFA-CuTe with 2D neighborhood attention (#3314)
- Fix MageFlow imports with current Transformers (#3315)
- Remove obsolete urllib3 cap to fix bootstrap dependency resolution (#3316)
- Add MiniMax H3 Image support and ComfyUI LoRA interoperability (#3317)
- Fix Krea 2 masked GQA attention memory usage (#3318)
- Update ROCm dependency chain to PyTorch 2.15 and ROCm 10.0 (#3319)
- Fix invisible event lightbox and per-event image navigation (#3320)
- Fix bounded caption precaching and Webshart sample paths (#3321)
- Update training dependencies and standardize NVIDIA installs on CUDA 13.2 (#3322)
- Fix WebUI server routing, CLI launch overrides, and SDK job handling (#3323)
- Fix H3 image and video VAE input pixel range (#3324)
- Support S3 Parquet datasets in the Webshart backend (#3325)
- Fix dataset filters and paired Webshart reference IDs (#3326)
Full changelog: v4.11.0...v4.12.0