| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
| Name | GitHub | ||
|---|---|---|---|
| 1 | Harmandeep Pal |
An interactive Streamlit-based benchmarking and evaluation dashboard comparing spatial acceleration frameworks for the FLUX.1-dev Diffusion Transformer (DiT).
Unlike temporal acceleration methods that reduce denoising steps, this project evaluates spatial optimizations that modify latent resolution and caching dynamically during generation (Baseline vs. TaylorSeer vs. RALU). It tracks and plots latencies, speedup factors, step counts (NFEs), and peak GPU VRAM allocations.
This project implements a unified evaluation framework for spatially accelerating FLUX.1-dev:
diffusion-models-for-image-generation/
│
├── .github/
│ └── workflows/
│ └── update-repo-info.yml ← Auto-syncs GitHub About & Topics on git push
│
├── assets/ ← Dashboard screenshots & previews (place images here)
│ └── dashboard_preview.png ← Readme placeholder
│
├── models/ ← Ignored by git, holds cached FLUX weights
│ └── flux1-dev/ ← Gated HF model weights folder (~34 GB)
│
├── notebooks/ ← Evaluative summary notebooks
│ ├── 03_runpod_ralu.ipynb ← Stage execution and testing
│ ├── 05_runpod_eval_summary.ipynb ← Aggregates CSV logs & generates performance plots
│ └── 06_runpod_demo_launcher.ipynb ← Background runner and log monitor for RunPod
│
├── outputs/ ← Output benchmark images (ignored by git)
│ └── demo/ ← Saves `{method}_seed{seed}_{prompt_slug}.png`
│
├── src/ ← Python code directories
│ ├── ralu/ ← RALU pipeline implementation
│ ├── taylorseer_flux/ ← TaylorSeer forwards and utils
│ ├── dashboard.py ← Zinc-themed Streamlit benchmark frontend
│ ├── dashboard_backend.py ← Backend patching logic and registry controller
│ └── download_model.py ← CLI downloader for weights
│
├── bootstrap.ps1 ← Windows Conda environment setup & runner script
├── bootstrap.sh ← Linux / Codespaces environment setup & runner script
├── repo_metadata.json ← Description & keywords config for GitHub
├── requirements.yml ← Conda environment configuration
└── README.md ← This file
FLUX.1-dev is a gated model. Before downloading it, you must:
HF_TOKEN=hf_xxxxxxxxxxxxxxxxxxxxRun the PowerShell bootstrap script from the root folder:
.\bootstrap.ps1If Execution Policies block scripts from running, bypass them for the active terminal using:
Set-ExecutionPolicy -Scope Process -ExecutionPolicy BypassWhat it automates:
Access the UI at: http://localhost:8501
Run the bash script from the root folder:
chmod +x bootstrap.sh
./bootstrap.shInside GitHub Codespaces:
If you prefer to configure your environment manually without using the bootstrap scripts:
# 1. Create and activate the conda environment
conda env create -f requirements.yml
conda activate deep_learning
# 2. Install extra dashboard requirements
pip install streamlit psutil huggingface_hub python-dotenv
# 3. Download the model weights
python src/download_model.py
# 4. Start the dashboard
streamlit run src/dashboard.py --server.port 8501 --server.address 0.0.0.0 --server.enableCORS false --server.enableXsrfProtection falseModel weights are ignored by git to keep the repository lightweight. When src/download_model.py is invoked (via the bootsrappers or manually), it calls huggingface_hub.snapshot_download to download the weights from the official repository:
This project includes a metadata syncing system that updates your GitHub repository's About section, Homepage link, and Keywords (topics) automatically on git push using the configuration file repo_metadata.json.
Because changing repository properties (like description and keywords) requires admin permissions, GitHub Actions cannot do it by default. You need to explicitly authorize it:
Create an Access Token on GitHub:
Add it as a Secret in your Repository:
Now, whenever you push changes to the main or master branch, the metadata script runs, reads repo_metadata.json, and updates your GitHub repo settings instantly!
This benchmark dashboard evaluates and incorporates the following research works:
TaylorSeer (ICCV 2025):
RALU (CVPR 2026 Highlight):
Ensure you have activated the environment before running streamlit. Run the bootstrap script or manually execute:
pip install streamlit psutil huggingface_hub python-dotenvVerify that your Hugging Face Account has accepted the license for FLUX.1-dev and that your token has READ access. Check your .env file credentials.
Last updated: June 2026
| Back | FazBrowse Home | New Git URL |