Fluxgym: Simple FLUX LoRA Training UI with Low VRAM Support
This repository profile is provided by osrepos.com, an open source repository discovery platform.

Summary
Fluxgym offers a user-friendly web interface for training FLUX LoRA models, specifically designed to support systems with low VRAM, such as 12GB, 16GB, and 20GB GPUs. It combines the simplicity of a Gradio UI, forked from AI-Toolkit, with the powerful and flexible training capabilities of Kohya sd-scripts. This tool allows users to easily train custom LoRAs, including advanced features like automatic sample image generation and direct publishing to Hugging Face.
Repository Information
Topics
Click on any tag to explore related repositories
Use at your own risk
OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of code from these repositories is the user's own responsibility. Always review the repository, source code, dependencies, licenses, and security implications before running or installing anything. OSRepos is not responsible for issues, damages, or losses resulting from third-party repositories.
Introduction
Fluxgym is an intuitive web user interface designed to simplify the process of training FLUX LoRA models, especially for users with limited VRAM. It provides robust support for GPUs with 12GB, 16GB, and 20GB of VRAM, making advanced model training more accessible. The project integrates a user-friendly Gradio frontend, inspired by AI-Toolkit, with the highly flexible and powerful backend of Kohya sd-scripts, ensuring full compatibility with all Kohya features.
Installation
Fluxgym offers multiple convenient installation methods:
One-Click Install
For the easiest setup, you can use the Pinokio 1-click launcher:
https://pinokio.computer/item?uri=https://github.com/cocktailpeanut/fluxgym
Manual Installation
- Clone Repositories:
git clone https://github.com/cocktailpeanut/fluxgym cd fluxgym git clone -b sd3 https://github.com/kohya-ss/sd-scripts - Create and Activate Virtual Environment:
- Windows:
python -m venv env env\Scripts\activate - Linux:
python -m venv env source env/bin/activate
- Windows:
- Install Dependencies:
cd sd-scripts pip install -r requirements.txt cd .. pip install -r requirements.txt - Install PyTorch Nightly:
- For most GPUs (cu121):
pip install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121 - For NVIDIA RTX 50-series (cu128):
pip install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu128 pip install -U bitsandbytes
- For most GPUs (cu121):
- Start Fluxgym:
Ensure your virtual environment is activated, then run:
python app.py
Docker Installation
- Clone Repositories:
git clone https://github.com/cocktailpeanut/fluxgym cd fluxgym git clone -b sd3 https://github.com/kohya-ss/sd-scripts - Build and Run with Docker Compose:
Adjust
PUIDandPGIDenvironment variables if your user ID and group ID are not 1000.docker compose up -d --buildAccess the UI at http://localhost:7860 in your web browser.
Examples
Using Fluxgym is designed to be straightforward:
- Enter your LoRA information.
- Upload your training images and caption them, including your chosen trigger word.
- Click "start" to begin training.
Fluxgym also includes powerful configuration options:
- Automatic Sample Image Generation: Configure prompts and frequency to generate sample images during training, allowing you to monitor the LoRA's evolution. Advanced flags like
--d(seed) can be used for consistent comparisons. - Publishing to Hugging Face: Easily log in with your Hugging Face token and publish your trained LoRA models directly from the UI.
- Advanced Kohya Features: An "Advanced" tab, hidden by default, exposes all underlying Kohya sd-scripts launch flags, providing full control over the training process.
- Caption File Uploads: Supports uploading
.txtcaption files alongside corresponding image files.
Why Use Fluxgym?
Fluxgym addresses several key challenges in FLUX LoRA training:
- Low VRAM Accessibility: It democratizes FLUX LoRA training by supporting GPUs with as little as 12GB VRAM, which is a significant barrier for many users.
- Simplified User Experience: It provides a "dead simple" web UI, abstracting away the complexities of command-line arguments, making training accessible to a wider audience.
- Full Kohya Script Power: By leveraging Kohya sd-scripts as its backend, Fluxgym ensures users have access to all advanced features and flexibility, without sacrificing ease of use.
- Streamlined Workflow: Features like automatic model downloads, sample image generation, and direct Hugging Face publishing streamline the entire LoRA training and sharing process.
Links
- GitHub Repository: https://github.com/cocktailpeanut/fluxgym
- Pinokio One-Click Install: https://pinokio.computer/item?uri=https://github.com/cocktailpeanut/fluxgym
- More Info (X Thread): https://x.com/cocktailpeanut/status/1832084951115972653
Related repositories
Similar repositories that may be relevant next.

SkillOpt: Optimizing Self-Evolving Agent Skills for LLMs
August 11, 2026
SkillOpt is an innovative text-space optimizer from Microsoft that enables the training of reusable natural-language skills for frozen LLM agents. It approaches skill development with the rigor of deep-learning optimization, using trajectory-driven edits and validation-gated updates. This results in deployable `best_skill.md` artifacts that significantly boost agent performance across various benchmarks and models without modifying model weights.

Ragas: Supercharge Your LLM Application Evaluations
August 9, 2026
Ragas is an ultimate toolkit for evaluating and optimizing Large Language Model (LLM) applications. It offers objective metrics, intelligent test generation, and data-driven insights to move beyond subjective assessments. This framework helps developers build feedback loops and continuously improve their LLM applications.

awesome-cli-coding-agents: A Curated Directory of Terminal-Native AI Tools
August 9, 2026
The `awesome-cli-coding-agents` repository offers a comprehensive, curated directory of over 100 terminal-native AI coding agents. These powerful tools operate directly within your command line, enabling autonomous code reading, editing, and execution. The list also covers various harnesses and orchestration solutions for managing these agents.

QwenPaw: Your Personal AI Assistant for Local and Cloud Deployment
August 7, 2026
QwenPaw is a powerful personal AI assistant designed for easy installation and deployment, either on your local machine or in the cloud. It supports multiple chat applications and offers highly extensible capabilities, making it a versatile tool for various AI-driven tasks. With its robust memory system and security features, QwenPaw aims to be an intuitive and private partner in your digital life.
Source repository
Open the original repository on GitHub.
10 counted GitHub visits