Diffusion Text-to-Image
UPDATE 2027-11-27
UI Update
UI -> CLICK
Backend
- Migrated the backend to FastAPI
- Sampling / inpainting run as background jobs (progress polling, live preview, cancel)
- Run:
uvicorn main:app --reload
Checkpoint
- Switched checkpoint format to safetensors (previously
.pt)
Update
Train State
Architecture
UI
TREE
Installation
git clone https://github.com/FREEANIMA/diffusion-inference.git
cd diffusion-inference
python3 -m venv .venv
source .venv/bin/activate
python -m pip install -r requirements.txt
python main.py
External Models
- Autoencoder: DC-AE f32c32 (32ร compression, 32 latent channels)
- Text Encoder: T5-Large
Model
- Architecture: MMDiT
- Parameters: 4B
- Task: Text-to-Image
- Weights: Hugging Face (currently being updated to VER10)
Please check the version in version.py.
Training Stages
| Stage | Description | Steps | Patch Size | max H x W |
|---|---|---|---|---|
| Stage 1 | Pre-training | 600K | 2 | 1024 x 1024 |
| Stage 2 | Fine-tuning | 100k | 1 | 1024 x 1024 |
| Stage 3 | Fine-tuning | 300K | 1 | 2048 x 2048 |

