Skip to content

Parallel inference and training of diffusion models (UNet or Transformer backbone) using my custom methods alongside other open-source repositories.

License

Notifications You must be signed in to change notification settings

smile2game/parafuser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚀Parallel Inference and traing Diffusion model

Read this in Chinese.

This repository serves as a review of parallel inference and training for diffusion models (both UNet and Transformer backbones), using my custom methods alongside other open-source repositories.

I have tested all open-source methods for parallel inference and training of diffusion models, listed them below, and conducted comparative experiments in the experiments section to evaluate their performance.

Additionally, based on these foundations, I developed my own parallelization solutions and extended support for more models.

⚙️ Structure

.
├── docs
├── examples #examples not for mine but also distrifuser,xdit,megatron-lm(tensor parallel),deepspeed(ulysses),Ring attention...
├── experiments # performance comparative experiment between all the methods
├── infer 
├── scripts #bash for quick start
├── thirdparty
└── train

🛠️ Prerequisites

pip install distrifuser

🐼 Usage Example

sh scripts/run_distrifuser_sdxl.py

About

Parallel inference and training of diffusion models (UNet or Transformer backbone) using my custom methods alongside other open-source repositories.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published