Fluxgym: Simple FLUX LoRA Training UI with Low VRAM Support

This repository profile is provided by osrepos.com, an open source repository discovery platform.

Fluxgym: Simple FLUX LoRA Training UI with Low VRAM Support

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

Analyzed by OSRepos on October 12, 2025

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

  1. Clone Repositories:
    git clone https://github.com/cocktailpeanut/fluxgym
    cd fluxgym
    git clone -b sd3 https://github.com/kohya-ss/sd-scripts
    
  2. Create and Activate Virtual Environment:
    • Windows:
      python -m venv env
      env\Scripts\activate
      
    • Linux:
      python -m venv env
      source env/bin/activate
      
  3. Install Dependencies:
    cd sd-scripts
    pip install -r requirements.txt
    cd ..
    pip install -r requirements.txt
    
  4. 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
      
  5. Start Fluxgym:

    Ensure your virtual environment is activated, then run:

    python app.py
    

Docker Installation

  1. Clone Repositories:
    git clone https://github.com/cocktailpeanut/fluxgym
    cd fluxgym
    git clone -b sd3 https://github.com/kohya-ss/sd-scripts
    
  2. Build and Run with Docker Compose:

    Adjust PUID and PGID environment variables if your user ID and group ID are not 1000.

    docker compose up -d --build
    

    Access the UI at http://localhost:7860 in your web browser.

Examples

Using Fluxgym is designed to be straightforward:

  1. Enter your LoRA information.
  2. Upload your training images and caption them, including your chosen trigger word.
  3. 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 .txt caption 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

Related repositories

Similar repositories that may be relevant next.

Open Index: A Deterministic Memory Layer for Your AI Agents

Open Index: A Deterministic Memory Layer for Your AI Agents

September 16, 2026

Open Index is a powerful tool for building domain-specific, accurate, and structured data that AI agents can effectively operate on. It enables the creation of a "brain," a searchable and continuously improving context graph tailored to any domain. This system ensures agents have access to reliable, up-to-date information, enhancing their capabilities and decision-making processes.

AI AgentsKnowledge GraphAgent Memory
tooltrim: Drastically Reduce LLM Agent Tool Output Tokens, Improve Accuracy

tooltrim: Drastically Reduce LLM Agent Tool Output Tokens, Improve Accuracy

September 16, 2026

tooltrim provides drop-in compression for LLM agent tool outputs, drastically cutting tokens while often improving answer accuracy. This provider-agnostic solution offers content-aware compression, faithfulness benchmarks, and seamless integration with popular frameworks or as an OpenAI-compatible proxy.

PythonLLM AgentsContext Compression
AgentShield: Python Firewall for AI Agent Spend Control

AgentShield: Python Firewall for AI Agent Spend Control

September 16, 2026

AgentShield is a pure Python library designed to prevent runaway AI agents from exceeding budget limits. It offers 10 composable spend rules, evaluated in under 1ms, providing robust cost control. Although its core development has transitioned to sipi.bot, the AgentShield Python package remains available for existing users and its test fixtures are open-source.

PythonAI AgentsCost Control
DA-Forge: Streamlining Declarative Agent Creation for Copilot Notebooks

DA-Forge: Streamlining Declarative Agent Creation for Copilot Notebooks

September 12, 2026

DA-Forge is a Python-based tool by Microsoft designed to automate the creation and deployment of Declarative Agents for Copilot Notebooks. It significantly reduces the manual effort and time required to set up AI assistants with specific grounding references, transforming an 85-minute process into just a few minutes. This tool is essential for developers and researchers working with Copilot Notebooks and Declarative Agents.

PythonMicrosoft 365Copilot

Source repository

Open the original repository on GitHub.

15 counted GitHub visits

View on GitHub
OS
OSRepos

Analysis and discovery of open source repositories. Find interesting projects and follow their updates.

Monitor your website with YourWebsiteScore

OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of third-party repository code is at your own risk. Always review source code, dependencies, licenses, and security implications before running anything.

© 2025 OSRepos. Built with Nuxt 3 and lots of ❤️