stablediffusion icon indicating copy to clipboard operation
stablediffusion copied to clipboard

Add runtime requirements

Open lwneal opened this issue 1 year ago • 1 comments

Simply copies kornia, streamlit-drawable-canvas, and invisible-watermark from the conda-style environment.yaml to the pip-style requirements.txt.

Tested with the following:

    git clone https://github.com/Stability-AI/stablediffusion/
    cd stablediffusion
    python -m venv venv
    source venv/bin/activate
    pip install -U pip
    pip install -r requirements.txt
    python scripts/txt2img.py --prompt "our galaxy itself contains a hundred billion stars" --ckpt ../768-v-ema.ckpt --config configs/stable-diffusion/v2-inference-v.yaml --H 768 --W 768  --n_samples 1

on Ubuntu 22 with Python 3.8, or similar, on a machine with CUDA already installed.

lwneal avatar Nov 24 '22 05:11 lwneal

This would fix #31. 👍

woctezuma avatar Nov 24 '22 23:11 woctezuma