zyddnys / k-diffusion

Karras et al. (2022) diffusion models for PyTorch

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

k-diffusion

An implementation of Elucidating the Design Space of Diffusion-Based Generative Models (Karras et al., 2022) for PyTorch.

This repo is a work in progress (models may break on later versions, script options may change).

Multi-GPU and multi-node training is supported with Hugging Face Accelerate. You can configure Accelerate by running:

$ accelerate config

on all nodes, then running:

$ accelerate launch train.py --train-set LOCATION_OF_TRAINING_SET --size IMAGE_SIZE

on all nodes.

About

Karras et al. (2022) diffusion models for PyTorch

License:MIT License


Languages

Language:Python 100.0%