#7777th of 135 in Training and fine-tuning
fastgen
PyTorch framework for distilling diffusion models into few-step image and video generators
Run it:Vast.ai ↗ (opens in a new tab)Clore.ai ↗ (opens in a new tab)Affiliate links, no effect on a rank.
Watch puts fastgen on your watch list: its new releases and known problems since your last visit. Kept in this browser, no account.fastgen is on your watch list. Its new releases and problems show there.
- Stars
- 1.1k
- License
- Apache-2.0
- Last commit
- Nov 2026
- Last release
- Oct 2026
- Language
- Python
731 on 13 May 20261,138 on 2 Dec 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
FastGen is NVIDIA's PyTorch training framework for distilling diffusion models into few-step or real-time generators. It implements trajectory matching (CM, sCM, MeanFlow, AYF), distribution matching (DMD2, Self-Forcing, CausVid) and fine-tuning methods, with reference networks for image, video and video+audio models. Training runs on a single GPU, DDP or FSDP2, driven by Hydra-style config overrides.
Who it is for: ML researchers and engineers distilling diffusion models to few steps
Strengths
- Many distillation methods in one codebase: DMD2, sCM, MeanFlow, AYF, Self-Forcing, CausVid
- Reference networks include FLUX.1/2, Qwen-Image, Wan2.1/2.2, Cosmos, LTX-2, SDXL
- Scales to DDP and FSDP2 sharding; README states support for 20B+ parameter models
- Includes ComfyUI nodes and links to vLLM-Omni and FlashDreams for serving
Weaknesses
- README calls the current codebase early-access with experimental features
- Not all method and network combinations are supported; only predefined configs are tested
- Reported results come from v0.1.0, not the current code
- Research-oriented; no end-user app, you write or edit Python configs
What it needs
- GPU required
- Docker
- Needs PyTorch 2.10, CUDA, Weights & Biases (optional), conda or Docker
- Models: EDM, EDM2, DiT, SiT, SD 1.5
What changed
From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS
Also in Training and fine-tuning
See all 135| Rank | Project | Score |
|---|---|---|
| #75 | setfitFew-shot text classification by fine-tuning Sentence Transformers, no prompts | 52 out of 100 |
| #76 | dlroverFault-tolerant, auto-scaling distributed training on Kubernetes or Ray | 52 out of 100 |
| #78 | flagaiPyTorch toolkit for training and fine-tuning Chinese and English language models | 51 out of 100 |
| #79 | songeProxy that fine-tunes a LoRA adapter for your local model while idle | 51 out of 100 |
| #80 | the_wellPyTorch datasets and benchmarks of physics simulations for PDE surrogate models | 50 out of 100 |