← all repositories

crowsonkb/k-diffusion

A PyTorch implementation of diffusion-based generative models from the Karras et al. (2022) paper with transformer-based enhancements.

k-diffusion
Velocity · 7d
+1.8
★ / day
Trend
steady
star history

This library implements the Elucidating the Design Space of Diffusion-Based Generative Models paper by Karras et al. (2022) for PyTorch. It includes enhancements such as improved sampling algorithms and transformer-based diffusion models like image_transformer_v2, which combines ideas from Hourglass Transformer and DiT. The project supports training on image datasets like Oxford Flowers and requires custom CUDA kernels (NATTEN, FlashAttention-2) for optimal performance.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.