conda create -n diffusers
conda activate diffusers
conda install -y pytorch torchvision torchaudio cudatoolkit=11.6 -c pytorch -c conda-forge
pip install diffusers transformers piexif
OUTDATED For hf_stablediffusion_img2img.py
download https://github.com/huggingface/diffusers/blob/main/examples/inference/image_to_image.py (edit: this has been deprecated)
For hf_stablediffusion_inpaint.py
run pip install git+https://github.com/huggingface/diffusers.git
(not yet been released). At time of writing the DDIM scheduler worked, the default PNDM one did not.