#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.

Stars
1.1k
License
Apache-2.0
Last commit
Nov 2026
Last release
Oct 2026
Language
Python
Stars, last 29 weeks+407
13 May 2026: 731 stars20 May 2026: 741 stars27 May 2026: 744 stars3 Jun 2026: 787 stars10 Jun 2026: 803 stars17 Jun 2026: 811 stars24 Jun 2026: 817 stars1 Jul 2026: 822 stars8 Jul 2026: 838 stars15 Jul 2026: 846 stars22 Jul 2026: 857 stars29 Jul 2026: 887 stars5 Aug 2026: 926 stars12 Aug 2026: 938 stars19 Aug 2026: 948 stars26 Aug 2026: 956 stars2 Sept 2026: 981 stars9 Sept 2026: 990 stars16 Sept 2026: 1,000 stars23 Sept 2026: 1,010 stars30 Sept 2026: 1,017 stars7 Oct 2026: 1,021 stars14 Oct 2026: 1,032 stars21 Oct 2026: 1,037 stars28 Oct 2026: 1,065 stars4 Nov 2026: 1,104 stars11 Nov 2026: 1,118 stars18 Nov 2026: 1,124 stars25 Nov 2026: 1,133 stars2 Dec 2026: 1,138 stars

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
Also in Training and fine-tuning
RankProjectScore
#75setfitFew-shot text classification by fine-tuning Sentence Transformers, no prompts2.9k starsApache-2.052 out of 100
#76dlroverFault-tolerant, auto-scaling distributed training on Kubernetes or Ray1.7k starscustom license52 out of 100
#78flagaiPyTorch toolkit for training and fine-tuning Chinese and English language models3.9k starsApache-2.051 out of 100
#79songeProxy that fine-tunes a LoRA adapter for your local model while idle1.3k stars+1,248 (+12,480%) in 30 daysApache-2.051 out of 100
#80the_wellPyTorch datasets and benchmarks of physics simulations for PDE surrogate models4.6k stars+90 (+2.0%) in 30 daysBSD-3-Clause50 out of 100