arch4edu
リポジトリを追加する。paru -Syu rocm-hip-sdk rocm-opencl-sdk python-pytorch-rocm python-torchvision-rocm python-numpy yq
virtualenv --system-site-packages sdenv
source sdenv/bin/activate
git clone https://github.com/CompVis/stable-diffusion.git && cd stable-diffusion
yq '.dependencies[].pip?[]' environment.yaml | sed 's/"//g' | xargs -L1 pip install
https://huggingface.co/CompVis/stable-diffusion-v-1-4-original/resolve/main/sd-v1-4.ckpt
からチェックポイントファイルを入手して、models/ldm/stable-diffusion-v1/model.ckpt
に置くpython scripts/txt2img.py --prompt "a photograph of an astronaut riding a horse" --plms
Last active
September 3, 2023 05:22
-
-
Save elderica/2fb461a6c93d50231b587408a3f02a39 to your computer and use it in GitHub Desktop.
Stable Diffusion with ROCm and ArchLinux
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment