Discover and explore top open-source AI tools and projects—updated daily.
Text-to-image training scripts
Top 65.9% on SourcePulse
This repository provides a diffusers-based training script for LoRA (Low-Rank Adaptation) and other image generation models, targeting users who want to fine-tune models like Qwen Image, Flux, Kolors, and SD3.5. It simplifies the LoRA training process with a focus on ease of use and configuration flexibility, enabling users to achieve state-of-the-art results with manageable VRAM requirements.
How It Works
T2ITrainer leverages the Hugging Face diffusers
library to implement various training scripts. It supports configuration-driven training, allowing users to define parameters like image suffixes, training layouts, and model types in JSON files. This approach streamlines the setup and execution of complex training tasks, such as single-image training, traditional pair training, and mixed-layout training, while optimizing for different GPU VRAM capacities.
Quick Start & Requirements
setup.bat
for an automated setup (virtual environment, dependencies, model downloads), or follow manual installation steps.torch>=2.3.0+cu121
(CUDA 12.1)diffusers
library (update to v0.35.0
for Qwen edit support)huggingface-cli
for model downloads.Highlighted Details
setup.bat
) for simplified installation.Maintenance & Community
The project is under active development with frequent updates and changelogs available. Contact and community channels include X (Twitter) @Lrzjason, QQ Group 866612947, and WeChat ID fkdeai. Sponsorship information is available in the sponsor_list.txt
file.
Licensing & Compatibility
The repository's license is not explicitly stated in the provided README. Compatibility for commercial use or closed-source linking would require clarification on the licensing terms.
Limitations & Caveats
The project is currently in active development, and stability is not guaranteed, with frequent updates requiring users to check changelogs. UI selection is not yet supported for all training scripts. The "Kolors Black Image Issue" may require using an FP16 Fixed VAE.
4 days ago
Inactive