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
For hf_stablediffusion_img2img.py
download https://github.com/huggingface/diffusers/blob/main/examples/inference/image_to_image.py