Stable Diffusion 2.0 のインストール (Windowsローカル環境)

前提

404 エラー : @niftyホームページサービス

上記の通り、xFormers のインストールを前提とします。

インストール

Build software better, together
GitHub is where people build software. More than 150 million people use GitHub to discover, fork, and contribute to over 420 million projects.

上記を git clone します。

stablediffusion ディレクトリ以下に移動します。

python -m pip install --upgrade pip setuptools
Requirement already satisfied: pip in c:\usr\python310\lib\site-packages (22.3.1)
Requirement already satisfied: setuptools in c:\usr\python310\lib\site-packages (65.6.3)
python -m pip install transformers==4.19.2 diffusers invisible-watermark
python -m pip install -r requirements.txt
python -m pip install -e .

これでインストールは完了です。

Copied title and URL