Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/primamateria/stabble-diffusion
https://github.com/primamateria/stabble-diffusion
Last synced: 17 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/primamateria/stabble-diffusion
- Owner: PrimaMateria
- License: mit
- Created: 2022-10-10T16:45:45.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-10-10T18:13:50.000Z (over 2 years ago)
- Last Synced: 2025-01-03T08:38:59.031Z (22 days ago)
- Language: Nix
- Size: 4.22 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Stable Diffusion with Nix
Quickly get up and running using Stable Diffusion with Nix flakes.
Cloned from [collinarnett/stable-diffusion-nix](https://github.com/collinarnett/stable-diffusion-nix).## Requirements
* [Nix](https://nixos.org/download.html)
* 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`
1. Use `nix run --impure` to spawn a Jupyter Lab instance. The `--impure` flag allows nixGL to find your Nvidia drivers on non-nixos systems.
1. Copy `stable-diff.sample.cfg` to `stable-diff.cfg`
1. Update `stable-diff.cfg` with HuggingFace token and make sure to accept the [License Agreement](https://huggingface.co/CompVis/stable-diffusion-v1-4) for Stable Diffusion.
1. Update `stable-diff.cfg` with output directory
1. Execute the cells in `stable-diff.ipynb` to generate images.