Created
June 15, 2023 23:12
-
-
Save safa-dayo/6eec26dd6103ca5798d4660d3b286573 to your computer and use it in GitHub Desktop.
Google Colab上でBracingEvoMixの3モデルを導入した状態でStable Diffusion web UIのv1.3.2の環境を構築するためのコマンドです。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### BracingEvoMix(3モデル)環境構築コマンド ### | |
# stable diffusion webuiのリポジトリをクローンして、クローンしたフォルダに移動 | |
!git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui | |
%cd /content/stable-diffusion-webui | |
# ライブラリのバージョンでエラーになるため以下を実施 | |
!pip install torch==2.0.0+cu118 torchdata==0.6.0 torchtext==0.15.1 torchvision==0.15.1+cu118 torchaudio==2.0.1 --index-url https://download.pytorch.org/whl/cu118 | |
# v1.3.2を利用する | |
!git checkout tags/v1.3.2 | |
# モデルファイルのダウンロード(BracingEvoMix) | |
!wget https://huggingface.co/sazyou-roukaku/BracingEvoMix/resolve/main/BracingEvoMix_v1.safetensors --directory-prefix=/content/stable-diffusion-webui/models/Stable-diffusion/ | |
# モデルファイルのダウンロード(BracingEvoMix - Another) | |
!wget https://huggingface.co/sazyou-roukaku/BracingEvoMix/resolve/main/BracingEvoMix_Another_v1.safetensors --directory-prefix=/content/stable-diffusion-webui/models/Stable-diffusion/ | |
# モデルファイルのダウンロード(BracingEvoMix - Fast) | |
!wget https://huggingface.co/sazyou-roukaku/BracingEvoMix/resolve/main/BracingEvoMix_Fast_v1.safetensors --directory-prefix=/content/stable-diffusion-webui/models/Stable-diffusion/ | |
# Web UIを実行 | |
!python launch.py --share --xformers --enable-insecure-extension-access --theme dark |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment