0
stars
1,118
commits
Python
primary language
Nov 9, 2025
updated
ℹ️ No data is sent to any third parties except through opt-in flag
report_to,push_to_hub, or webhooks which must be manually configured.
SimpleTuner is geared towards simplicity, with a focus on making the code easily understood. This codebase serves as a shared academic exercise, and contributions are welcome.
If you'd like to join our community, we can be found on Discord via Terminus Research Group. If you have any questions, please feel free to reach out to us there.
Please fully explore this README before embarking on the tutorial, as it contains vital information that you might need to know first.
For a quick start without reading the full documentation, you can use the Quick Start guide.
For memory-constrained systems, see the DeepSpeed document which explains how to use 🤗Accelerate to configure Microsoft's DeepSpeed for optimiser state offload.
For multi-node distributed training, this guide will help tweak the configurations from the INSTALL and Quickstart guides to be suitable for multi-node training, and optimising for image datasets numbering in the billions of samples.
Full training support for HiDream is included:
--base_model_precision to int8-quanto or fp8-quanto for major memory savings--text_encoder_4_precision set to int4-quanto or int8-quanto to run on 24G cards.See hardware requirements or the quickstart guide.
Full training support for Flux.1 is included:
--fuse_qkv_projections option, taking advantage of Flash Attention 3 on Hopper systems--base_model_precision to int8-quanto or fp8-torchao for major memory savingsSee hardware requirements or the quickstart guide.
SimpleTuner has preliminary training integration for Wan 2.1 which has a 14B and 1.3B type, both of which work.
See the Wan Video Quickstart guide to start training.
SimpleTuner has preliminary training integration for LTX Video, efficiently training on less than 16G.
See the LTX Video Quickstart guide to start training.
SimpleTuner has extensive training integration with PixArt Sigma - both the 600M & 900M models load without modification.
See the PixArt Quickstart guide to start training.
SimpleTuner has extensive training integration with NVLabs Sana.
This is a lightweight, fun, and fast model that makes getting into model training highly accessible to a wider audience.
See the NVLabs Sana Quickstart guide to start training.
See the Stable Diffusion 3 Quickstart to get going.
An SDXL-based model with ChatGLM (General Language Model) 6B as its text encoder, doubling the hidden dimension size and substantially increasing the level of local detail included in the prompt embeds.
Kolors support is almost as deep as SDXL, minus ControlNet training support.
A 2B parameter flow-matching model that uses the 16ch Flux VAE.
A Lumina2 Quickstart is available with example configurations.
A 2B / 14B parameter model that can do video as well as text-to-image.
A Cosmos2 Predict Quickstart is available with full example configuration and dataset.
A massive 20B MMDiT that can do text-to-image.
A Qwen Image Quickstart is available with example configuration and dataset, as well as general training/configuration tips.
RunwayML's SD 1.5 and StabilityAI's SD 2.x are both trainable under the legacy designation.
Pretty much anything 3080 and up is a safe bet. YMMV.
LoRA and full-rank tuning are verified working on a 7900 XTX 24GB and MI300X.
Lacking xformers, it will use more memory than Nvidia equivalent hardware.
LoRA and full-rank tuning are tested to work on an M3 Max with 128G memory, taking about 12G of "Wired" memory and 4G of system memory for SDXL.
HiDream has not been tested on 16G cards, but with aggressive quantisation and pre-caching of embeds, you might make it work, though even 24G is pushing limits.
Flux prefers being trained with multiple large GPUs but a single 16G card should be able to do it with quantisation of the transformer and text encoders.
Kontext requires a bit beefier compute and memory allocation; a 4090 will go from ~3 to ~6 seconds per step when it is enabled.
For more information about the associated toolkit distributed with SimpleTuner, refer to the toolkit documentation.
Detailed setup information is available in the installation documentation.
Enable debug logs for a more detailed insight by adding export SIMPLETUNER_LOG_LEVEL=DEBUG to your environment (config/config.env) file.
For performance analysis of the training loop, setting SIMPLETUNER_TRAINING_LOOP_LOG_LEVEL=DEBUG will have timestamps that highlight any issues in your configuration.
For a comprehensive list of options available, consult this documentation.
Python
98.8%
0
stars
1,118
commits
Python
primary language
Nov 9, 2025
updated
ℹ️ No data is sent to any third parties except through opt-in flag
report_to,push_to_hub, or webhooks which must be manually configured.
SimpleTuner is geared towards simplicity, with a focus on making the code easily understood. This codebase serves as a shared academic exercise, and contributions are welcome.
If you'd like to join our community, we can be found on Discord via Terminus Research Group. If you have any questions, please feel free to reach out to us there.
Please fully explore this README before embarking on the tutorial, as it contains vital information that you might need to know first.
For a quick start without reading the full documentation, you can use the Quick Start guide.
For memory-constrained systems, see the DeepSpeed document which explains how to use 🤗Accelerate to configure Microsoft's DeepSpeed for optimiser state offload.
For multi-node distributed training, this guide will help tweak the configurations from the INSTALL and Quickstart guides to be suitable for multi-node training, and optimising for image datasets numbering in the billions of samples.
Full training support for HiDream is included:
--base_model_precision to int8-quanto or fp8-quanto for major memory savings--text_encoder_4_precision set to int4-quanto or int8-quanto to run on 24G cards.See hardware requirements or the quickstart guide.
Full training support for Flux.1 is included:
--fuse_qkv_projections option, taking advantage of Flash Attention 3 on Hopper systems--base_model_precision to int8-quanto or fp8-torchao for major memory savingsSee hardware requirements or the quickstart guide.
SimpleTuner has preliminary training integration for Wan 2.1 which has a 14B and 1.3B type, both of which work.
See the Wan Video Quickstart guide to start training.
SimpleTuner has preliminary training integration for LTX Video, efficiently training on less than 16G.
See the LTX Video Quickstart guide to start training.
SimpleTuner has extensive training integration with PixArt Sigma - both the 600M & 900M models load without modification.
See the PixArt Quickstart guide to start training.
SimpleTuner has extensive training integration with NVLabs Sana.
This is a lightweight, fun, and fast model that makes getting into model training highly accessible to a wider audience.
See the NVLabs Sana Quickstart guide to start training.
See the Stable Diffusion 3 Quickstart to get going.
An SDXL-based model with ChatGLM (General Language Model) 6B as its text encoder, doubling the hidden dimension size and substantially increasing the level of local detail included in the prompt embeds.
Kolors support is almost as deep as SDXL, minus ControlNet training support.
A 2B parameter flow-matching model that uses the 16ch Flux VAE.
A Lumina2 Quickstart is available with example configurations.
A 2B / 14B parameter model that can do video as well as text-to-image.
A Cosmos2 Predict Quickstart is available with full example configuration and dataset.
A massive 20B MMDiT that can do text-to-image.
A Qwen Image Quickstart is available with example configuration and dataset, as well as general training/configuration tips.
RunwayML's SD 1.5 and StabilityAI's SD 2.x are both trainable under the legacy designation.
Pretty much anything 3080 and up is a safe bet. YMMV.
LoRA and full-rank tuning are verified working on a 7900 XTX 24GB and MI300X.
Lacking xformers, it will use more memory than Nvidia equivalent hardware.
LoRA and full-rank tuning are tested to work on an M3 Max with 128G memory, taking about 12G of "Wired" memory and 4G of system memory for SDXL.
HiDream has not been tested on 16G cards, but with aggressive quantisation and pre-caching of embeds, you might make it work, though even 24G is pushing limits.
Flux prefers being trained with multiple large GPUs but a single 16G card should be able to do it with quantisation of the transformer and text encoders.
Kontext requires a bit beefier compute and memory allocation; a 4090 will go from ~3 to ~6 seconds per step when it is enabled.
For more information about the associated toolkit distributed with SimpleTuner, refer to the toolkit documentation.
Detailed setup information is available in the installation documentation.
Enable debug logs for a more detailed insight by adding export SIMPLETUNER_LOG_LEVEL=DEBUG to your environment (config/config.env) file.
For performance analysis of the training loop, setting SIMPLETUNER_TRAINING_LOOP_LOG_LEVEL=DEBUG will have timestamps that highlight any issues in your configuration.
For a comprehensive list of options available, consult this documentation.
Python
98.8%