nightmareai / k-diffusion

CLIP Guided latent k-diffusion

  • Public
  • 7.4K runs
  • GitHub
  • Paper
  • License

Run time and cost

This model costs approximately $0.15 to run on Replicate, or 6 runs per $1, but this varies depending on your inputs. It is also open source and you can run it on your own computer with Docker.

This model runs on Nvidia T4 GPU hardware. Predictions typically complete within 12 minutes. The predict time for this model varies significantly based on the inputs.

Readme

This demo is based a simplified diffusion codebase implemented by RiversHaveWings (Katherine Crowson).

Currently it implements CLIP guidance on Jack’s finetuned latent diffusion using OpenCLIP ViT32-LAION2b. This runs slowly due to parameters in the model requiring gradient calculation.

This is a testbed for future developments and will change often and possibly break. You have been warned.