v4.12.1 - Default H3 Image training assistant2026-11-17
SimpleTuner v4.12.1 是基于 v4.12.0 的补丁版本,只处理 H3 Image 的辅助 LoRA 训练问题。
H3 Image LoRA 训练现在会自动从 SimpleTuner/minimax-h3-image-training-assistant 加载冻结的辅助模型(pytorchloraweights.safetensors)。此前辅助模型加载有 bug,这次改用 H3 原生的模块化管线 LoRA 加载器,并兼容 ComfyUI 转换流程。辅助 LoRA 始终冻结,与可训练适配器并存,导出可训练参数时会被正确排除,不会混入权重文件。
想关掉它,设 disableassistantlora=true 即可;自定义的 assistantlorapath、assistantloraweight_name 路径依然生效。视频变体和全量模型训练不自动加载该辅助模型。官方 80 GB H3 Image LoRA 示例已启用它,相关指南和参数文档同步更新了英、中、日、葡、西、印地六种语言。
官方在 H200 上验证:2048/4096 步优化器更新数值正常,辅助张量保持不变,仅导出可训练参数;Python 3.13 回归测试 203 通过、3 跳过。
v4.12.0 - MiniMax H3 Image, Webshart Parquet/S3, and attention updates2026-11-17
Upgrade notes
- Both NVIDIA extras, cuda and cuda13, 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 modelfamily=minimaxh3, modelflavour=h3image using 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 with loraformat=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: https://github.com/bghira/SimpleTuner/compare/v4.11.0...v4.12.0
v4.11.0 - CuTe attention by default, FP32 EMA accumulation, bugfixes2026-10-28
v4.11.0 更新:CuTe 注意力新增 Ampere(3090)性能调优支持,Ada(4090、L40S)速度进一步提升;kohakufa-cute 现已随 cuda、cuda13 依赖安装,可直接作为默认 attention_mechanism。由于 cuDNN-frontend 各版本持续存在正确性问题,cuDNN 注意力被强制关闭。
训练方面,EMA 累积改为在 FP32 下进行,此前小增量丢失会导致 EMA 卡死或退化;遇到 CUDA OOM 会自动开启 VAE 分块,不必手动重启训练器。LoRA/LyCORIS 适配器新增 --adaptermodelprecision=no_change|fp32 选项,用 FP32 权重训练,改善 MOSS Image 这类模型 bf16 权重收敛慢的问题。重启训练时,batch size、repeats 等数据集配置会覆盖旧检查点的缓存值。
修复包括 AnyFlow 正确性与稳定性改进(含 caption dropout、FP32 潜变量插值)、MOSS Image 区域编译触达 dynamo 缓存上限、REPA 多卡训练下载模型时的进程竞争,以及 LyCORIS 升级到 4.1.3 解决 LoKr 内核分派问题。
v4.10.1 - KohakuFA speedup, MOSS Image flow schedule shift fix2026-10-18
SimpleTuner v4.10.1 更新:MOSS Image 现在支持用 edit / reference 数据集做 LoRA 训练,玩法对齐 Krea2、Flux 一类模型;flow schedule shift 也做了调整,1024px 及以上分辨率的训练更稳。同时修正了噪声采样与 flow 时间步网格的错误。性能方面,批量训练不再逐条序列循环,改为让 transformer 一次前向跑完,速度明显提升;KohakuFA 的 CuTe attention 也修复了 caption 长度变化时无法复用 kernel 的问题,不同文本长度的推理与训练都能吃到优化。
v4.10.0 - high-quality MOSS-Image & Flux 3 Klein training2026-10-17
SimpleTuner 4.10.0 更新
新增 MOSS-Image 的 Base 与 SFT 训练支持,并附上省显存的配置示例;FLUX.3 Image Klein 加入训练与图像编辑能力,同时默认启用官方蒸馏训练适配器(assistant LoRA)。安装 attention-cute 扩展后,KohakuFA 注意力机制现在自动作为训练默认值。
多卡训练(FSDP2 与 DDP)修复了多处正确性问题,包括 LoRA/LyCORIS 训练、FSDP2 下的梯度裁剪,以及断点续训时学习率调度位置被覆盖的问题。WebUI 的指标显示与采集、大型数据集下的 VAE 缓存速度也都有改进,缓存时还去掉了冗余的图像缩放。
其他值得留意的修复:训练报告在指标与时间步历史量大时不再出错,文本 caption 在缓存查找前会先规范化,本地 checkpoint 的模型卡基础信息得以保留。依赖方面,现在要求 CaptionFlow 0.5.7 与 PyTorch 2.13。
v4.9.3 - high quality qwen image 2.1 training2026-10-01
SimpleTuner v4.9.3:新增 Qwen Image 2.1 支持,配套高质量训练助手 LoRA 与调优过的配置示例(实验记录见 Hugging Face 上的 Qwen-Image-2.1-LoRA-experiments 仓库),并附实测显存档位与快速上手文档。核心改动是「按提示词驱动的在线助手 LoRA」训练与生图流程,默认启用助手 v3。数据侧针对 Webshart 数据集加入原生 JSON 标注、按分片优先的长宽比分桶缓存,读取标注只走元数据缓存,避免反复全桶扫描。稳定性与精度方面:修正随机优化器更新缩放、验证图分辨率标签、DDP 下各 rank 的 RNG 与采样器检查点保存,保留 AnyFlow 检查点 RNG 状态;Qwen 2.1 换用 Ollin 纹理固定 VAE,修复 RGBA 输入与 DINO patch 特征问题。
v4.9.2 - minor bugfixes and QoL2026-09-07
v4.9.2 主要修复一批使用中的细节问题:嵌套数据集目录里的 conditioning 掩码失效、混合桶元数据缓存刷新时键类型不一致、静态训练报告无法切换检查点等均已修好。WebUI 侧修正了验证适配器配置路径、Hugging Face 模型卡上的验证图像标签,并新增「Continue」按钮,本地任务失败后可直接续跑,同时会显示项目与运行名称。
Webshart 现要求 0.5.4 以上版本,配合自定义 caption 字段使用,并支持多 caption 的自定义键。训练报告会在 post-upload 脚本执行前刷新,验证流程结束后也会正确触发该钩子。此外,低磁盘策略会在 TorchInductor 编译前生效,直接调用 SDPA 时遵循原生注意力后端选择,训练指标显示精度改为四舍五入,MiniMax H3 检查点支持混合 ConvRot 组。
v4.9.1 - optimisations and bugfixes2026-09-01
v4.9.1 是一次以稳定性为主的修复版本:数据筛选在各后端统一做了性能优化,discovery 后端的元数据分桶扩展到了静态图;新增 Krea2 turbo LoRA 支持并修正其评测时的动态 shift 尺寸计算。报告功能重构了 report_to 配置,多 tracker 并存时不再提供 "all" 选项。WebUI 与训练服务修复较集中——保存脏状态跟踪、验证阶段的 adapter 状态恢复、灯箱切换 checkpoint、指标面板在大量验证样本下的排版等均有改进,另补上了 W&B tracker 初始化和 CUDA OOM 日志提取的问题。
v4.9.0 - torch compile speedup, MegaCache import/export, NextLat, Explorative Modeling, block swap optimisations2026-08-30
本版有几项破坏性改动需留意:Diffusers 的 group offload 已移除(PR 3150),Torch inductor 后端从 python 切换为 C++ wrapper,MiniMax Music 3 训练目标也做了调整——训练进行中不要升级。
性能方面,默认启用 inductor 的 C++ wrapper 后,LTX 2.5 的 torch 编译训练提速明显;新增 --dynamo.. 系列选项,可从 HuggingFace 或本地导入导出 torch Mega-Cache;RamTorch 在多 GPU 进程间共享量化权重,降低显存占用。内置 RVC trainer,可在 dataloader 中配置,用于扩充音乐模型数据集。
训练方法上新增 NextLat(NextLat)与 Explorative Modeling(XM):前者正则化隐状态使模型内部转移更平滑,后者每步只用损失候选中"最好"的一个训练,以训练时算力换取推理质量。MiniMax Music 3 提供 continuation 模式与 random crop 模式,位置锚定更稳。
修复包括:MiniMax H3 单文件检查点加载与 torchcodec 兼容、Musubi block swap 与梯度检查点协同工作且不再多占显存、torch compile 在区域/全量编译模式下正确启用、SDNQ 编译在各配置下可用、reduce-overhead 模式配合激活检查点生效,以及 LTX 2.5(含 Flash Attention 2)的图中断问题。
v4.8.0 - InfiniteTalk, training metrics UI, new distillers and representation learning methods2026-08-21
这版为 SimpleTuner 带来不少训练侧的新能力:新增 InfiniteTalk 支持,并附上显存与性能权衡的示例配置;时间步采样改用三次样条分布;内置了替代 TensorBoard/W&B 的本地训练指标面板(含 Prometheus 导出与 Metrics 页面)。训练方法上加入 MixFlow,针对流匹配模型的曝光偏差,让模型学会修正轨迹中早前的错误,且不拖慢单步耗时;另有 Self-Transcendence 蒸馏与 Internal Guidance,把深层才学到的规律前移到浅层或推理时使用;iREPA 空间表征对齐也已落地。DiffusionBlocks 则彻底改造训练目标,让内部重组为专职去噪专家,但推理端必须同步改动并配置路由才能生效。
修复方面:音频数据集在视频模型上自动开启 audioonly;多字幕输入不再污染键控缓存(Qwen Edit、Krea2 等编辑模型受益);多卡 DDP 批次改为确定性划分;音频 VAE 在 vaebatch_size>1 时不再崩溃;在线数据集配置成为权威来源,改动不可变属性会给出更清晰的报错;H3 的上下文并行与音频验证也有小修。