SuperAPIAI Directory

SimpleTuner

github.com · AI video

SimpleTuner is a general-purpose fine-tuning toolkit for image, video, and audio diffusion models, developed and open-sourced by bghira. The project emphasizes simple, easy-to-understand code and sensible defaults, reducing the burden of parameter tuning while supporting training from small datasets to massive sample counts. It provides training support for a variety of architectures including Flux, Stable Diffusion, SDXL, Wan Video, Hunyuan Video, LTX Video, ACE-Step, and more, with features such as a Web UI, multi-GPU distributed training, caching, DeepSpeed/FSDP2 memory optimization, LoRA and full training, concept sliders, masked loss, S3 training, EMA, and more. It also offers multi-user and enterprise management features, such as worker node orchestration, SSO, role permissions, quotas, task queues, and approval workflows. By default, data is not sent to third parties; it is only transmitted externally when report_to, push_to_hub, or webhook are manually configured.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsAPI

About this tool

Purpose

SimpleTuner is a general-purpose fine-tuning toolkit, primarily aimed at image, video, and audio diffusion models, used for training and experimentation with a variety of generative models. Its design goal is "simplicity": to provide good defaults suitable for most scenarios as much as possible, reduce the cost of parameter tuning, while keeping the code easy to understand, and it is open for contributions as a shared academic exercise project.

Main capabilities

  • Multimodal training: A unified pipeline supports image, video, and audio generative models.
  • Broad model architecture support: Covers Flux.1/Flux.2, Z-Image, Ideogram 4, Chroma, Stable Diffusion 3, SDXL, Auraflow, PixArt Sigma, Sana, Lumina2, Kwai Kolors, LongCat (image/video/editing), LTX Video, Hunyuan Video 1.5, Wan Video, HiDream, Cosmos2, OmniGen, Qwen Image, Stable Cascade, Kandinsky 5.0, and more, with dedicated features for some models.
  • User-friendly Web UI: Manage the entire training lifecycle through a dashboard.
  • Multi-GPU distributed training: Automatically optimizes training across multiple GPUs and supports multi-node distributed training configurations.
  • Advanced caching: Cache images, videos, audio, and caption embeddings to disk to accelerate training.
  • CaptionFlow integration: Generate dataset captions via the Web UI task queue using a local GPU.
  • Aspect ratio bucketing: Supports a variety of image/video sizes and aspect ratios.
  • Concept slider: Slider-style target control for LoRA/LyCORIS/full training, supporting positive/negative/neutral sampling and per-prompt strength.
  • Memory optimization: Most models can be trained on a 24G GPU, and some can run on 16G after optimization.
  • DeepSpeed and FSDP2 integration: Supports optimizer state offloading, parameter/gradient sharding, context-parallel attention, gradient checkpointing, and more.
  • S3 training: Train by reading data directly from cloud storage (Cloudflare R2, Wasabi S3).
  • EMA support: Exponential moving average weights improve stability and quality.
  • Custom implTracker validation: You can place accelerate.GeneralTracker into simpletuner/custom-trackers and enable it via parameters.
  • Training techniques: Includes TREAD token dropping, masked loss training, prior regularization, gradient checkpointing, L2/Huber/Smooth L1 loss functions and scheduling, Min-SNR weighting, validation adapter sweeps, external validation hooks, AnyFlow distillation, CREPA regularization, LoRA input/output format compatibility (PEFT standard and ComfyUI style), Flux Kontext edit conditioning training, reference input training, PixArt two-stage training, flow matching scheduling, HiDream MoE gating loss enhancement, T5 masked training, QKV fusion, Wan 2.x I2V high/low stage presets, optional reintroduction of classifier-free guidance, and more.

Multi-user and enterprise features

The project also includes a free, open-source multi-user training platform that provides: worker node orchestration (SSE task distribution), SSO integration (LDAP/AD, OIDC), role-based access control (Viewer/Researcher/Lead/Admin and 17+ fine-grained permissions), organization and team hierarchical quotas, cost and concurrency limits, a five-level priority task queue with fair scheduling, approval workflows, SMTP/IMAP email notifications, API keys with scopes and expiration, and audit logs with chainable verification.

Usage

  • Most users can install via pip (the exact commands are not fully given in the documentation; please refer to the installation documentation).
  • A manually configured Quick Start guide, a Web UI tutorial, and a command-line-like tutorial are provided; it is recommended to read the README first before starting.
  • For memory-constrained systems, refer to the DeepSpeed documentation and use 🤗Accelerate to configure optimizer state offloading; for DTensor sharding and context parallelism, see the FSDP2 guide; there is a dedicated guide for multi-node training.
  • Debug logging can be enabled via the environment variable SIMPLETUNER_LOG_LEVEL=DEBUG, and training loop profiling can be enabled by setting SIMPLETUNER_TRAINING_LOOP_LOG_LEVEL=DEBUG.

Use cases

Suitable for researchers, developers, and teams who need to fine-tune image, video, and audio diffusion models, especially those who want to use fewerparameters to obtain usable results, need multi-GPU or distributed training, need LoRA/full training, concept control, dataset captioning, or organizational scenarios that require multi-user quotas and approval management.

Limitations and notes

  • Training results are closely tied to hardware, and different model sizes have different VRAM requirements; quantization can significantly reduce VRAM requirements, but specific model requirements should be checked in the corresponding quick start guide.
  • Recommended hardware: NVIDIA RTX 3080+ (tested up to H200); AMD 7900 XTX 24GB and MI300X have been verified (with higher VRAM usage than NVIDIA); Apple M3 Max+ with 24GB+ unified memory can perform LoRA training.
  • Data is not sent to third parties by default; it is only transmitted externally when report_to, push_to_hub, or webhook are manually configured.
  • The license for each model is subject to the SimpleTuner model assistant or the upstream model card; for entries without a specified license, consult the upstream model card before use.
  • Some features (such as audio model training and support for certain new models) are in the newly added stage; the corresponding guides should be read before use.
Up/Down to navigate · Enter to open · ESC to closeBrowse all tools