Miles-diffusion is an post-training framework for large-scale diffusion model training and production workloads, forked from and co-evolving with miles.
84
stars
1,140
commits
Python
primary language
Sep 10, 2026
updated
News | Quick Start | Key Features | Documentation
Miles-diffusion is currently a standalone repository built on Miles' design philosophy, focused on RL post-training for image and video diffusion models. SGLang-diffusion serves the rollout, and the DiT trains under FSDP2 on a backend that co-evolves with Miles' own. Models load from a diffusers pipeline, or from a native package when a family brings its own modeling. Shipped recipes carry explicit verification levels. Custom rewards, losses, and rollout functions plug in through flags.
TrainPipelineConfig allows for easy model support._cp_plan — or a self-written one — for agile model integration.--lora-ipc-weight-sync, PEFT LoRA on the FSDP2 actor ships only lora_A/lora_B pairs to colocated rollout engines over CUDA IPC and merges them engine-side. See LoRA Training and Weight Sync.Each model links to its recipe page; every documented recipe is labeled with a recipe verification level.
| Model | Task | Canonical Recipes |
|---|---|---|
| Stable Diffusion 3.5 | T2I | Flow-GRPO + OCR, DiffusionNFT + PickScore |
| Qwen-Image | T2I | Flow-GRPO + PickScore (flow_grpo-aligned) |
| Wan2.2-T2V-A14B | T2V | Flow-GRPO + PickScore, LoRA SFT |
| LTX-2.3 | T2V | Flow-GRPO + PickScore |
| Cosmos3 (Edge / Nano / Super) | T2I | Flow-GRPO + PickScore |
| MiniMax H3 | T2VA | Flow-GRPO + PickScore, LoRA SFT |
Miles-diffusion stands on the shoulders of giants and thanks the following repositories for their outstanding work: Miles · slime · SGLang · diffusers · VeOmni · Flow-GRPO · DiffusionNFT · Flow-Factory
From noise, a world takes shape — one step at a time.
(top 30 of 74)
Python
98.6%
Miles-diffusion is an post-training framework for large-scale diffusion model training and production workloads, forked from and co-evolving with miles.
84
stars
1,140
commits
Python
primary language
Sep 10, 2026
updated
News | Quick Start | Key Features | Documentation
Miles-diffusion is currently a standalone repository built on Miles' design philosophy, focused on RL post-training for image and video diffusion models. SGLang-diffusion serves the rollout, and the DiT trains under FSDP2 on a backend that co-evolves with Miles' own. Models load from a diffusers pipeline, or from a native package when a family brings its own modeling. Shipped recipes carry explicit verification levels. Custom rewards, losses, and rollout functions plug in through flags.
TrainPipelineConfig allows for easy model support._cp_plan — or a self-written one — for agile model integration.--lora-ipc-weight-sync, PEFT LoRA on the FSDP2 actor ships only lora_A/lora_B pairs to colocated rollout engines over CUDA IPC and merges them engine-side. See LoRA Training and Weight Sync.Each model links to its recipe page; every documented recipe is labeled with a recipe verification level.
| Model | Task | Canonical Recipes |
|---|---|---|
| Stable Diffusion 3.5 | T2I | Flow-GRPO + OCR, DiffusionNFT + PickScore |
| Qwen-Image | T2I | Flow-GRPO + PickScore (flow_grpo-aligned) |
| Wan2.2-T2V-A14B | T2V | Flow-GRPO + PickScore, LoRA SFT |
| LTX-2.3 | T2V | Flow-GRPO + PickScore |
| Cosmos3 (Edge / Nano / Super) | T2I | Flow-GRPO + PickScore |
| MiniMax H3 | T2VA | Flow-GRPO + PickScore, LoRA SFT |
Miles-diffusion stands on the shoulders of giants and thanks the following repositories for their outstanding work: Miles · slime · SGLang · diffusers · VeOmni · Flow-GRPO · DiffusionNFT · Flow-Factory
From noise, a world takes shape — one step at a time.
(top 30 of 74)
Python
98.6%