Skip to content

Dragoy/fluxgym-modal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FluxGym Trainer

A Modal-based application for training Stable Diffusion models using FluxGym interface.

Features

  • Runs on Modal cloud platform
  • Uses NVIDIA CUDA for GPU acceleration
  • Integrates with HuggingFace
  • Web-based UI powered by Gradio
  • Supports A100 GPU for training

Prerequisites

  • Modal account
  • HuggingFace account and API token
  • Python 3.11+

Setup

  1. Install Modal CLI:
pip install modal
  1. Configure Modal:
modal token new
  1. Set up HuggingFace secret in Modal:
modal secret create huggingface-secret HUGGINGFACE_SECRET=your_token_here

Running the Application

  1. To run on modal:
modal serve app.py

Environment

  • CUDA Version: 12.4.0
  • Base OS: Ubuntu 22.04
  • Python Version: 3.11
  • GPU: NVIDIA A100

Architecture

The application uses Modal's serverless infrastructure to run a Gradio-based web interface for training FLUX models. It utilizes persistent volume storage for outputs and integrates with HuggingFace for model management.

License

MIT License

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages