Skip to content

PrimaMateria/stabble-diffusion

Repository files navigation

Stable Diffusion with Nix

Quickly get up and running using Stable Diffusion with Nix flakes. Cloned from collinarnett/stable-diffusion-nix.

Requirements

  • Nix
  • Nvidia GPU (3.2GB VRAM)
  • x86_64 Linux

Setup

  1. Enable flakes by editing either ~/.config/nix/nix.conf or /etc/nix/nix.conf and add experimental-features = nix-command flakes
  2. Use nix run --impure to spawn a Jupyter Lab instance. The --impure flag allows nixGL to find your Nvidia drivers on non-nixos systems.
  3. Copy stable-diff.sample.cfg to stable-diff.cfg
  4. Update stable-diff.cfg with HuggingFace token and make sure to accept the License Agreement for Stable Diffusion.
  5. Update stable-diff.cfg with output directory
  6. Execute the cells in stable-diff.ipynb to generate images.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published