0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

EVO-X2でStable Diffusion web UIやーる(Windows11、Python3.10)

Posted at

はじめに

EVO-X2でStable Diffusion web UIを動かしてみました

開発環境

導入

HIP SDK 6.2.4をインストールします

20251215-042224-43b86dcc.png

こちらのリポジトリをクローンします

git clone https://github.com/lshqqytiger/stable-diffusion-webui-amdgpu.git
cd stable-diffusion-webui-amdgpu

webui-user.batを編集します

HIP SDKとPython 3.10のパスを指定してください。

webui-user.bat
@echo off

REM HIP SDKのパスを設定(インストール場所に合わせて変更)
set HIP_PATH=C:\Program Files\AMD\ROCm\6.2

REM conda環境のPythonを直接指定
set PYTHON=C:\xxxx\python.exe

REM venvの作成をスキップ(conda環境に直接インストール)
set VENV_DIR=-
set SKIP_VENV=1
set GIT=
set COMMANDLINE_ARGS=--use-zluda

call webui.bat

実行

webui-user.batを実行します

webui-user.bat

こちらを参考に画像生成のモデルを変更します。

各モデルをダウンロードして、下記のフォルダに配置します。

sd_xl_base_1.0.safetensors → stable-diffusion-webui-amdgpu/models/Stable-diffusion
sd_xl_refiner_1.0.safetensors → stable-diffusion-webui-amdgpu/models/Stable-diffusion
sdxl_vae.safetensors → stable-diffusion-webui-amdgpu/models/VAE

SettingsのUser interfaceでsd_vaeを追加し、Apply Settings → Reload UIします
20251215-044152-bfdfcc4c.png

Stable Diffusion checkpointをsd_xl_base_1.0.safetensor
SD_VAEをsdxl_vae.safetensors
Refinerをsd_xl_refiner_1.0.safetensors
に設定してプロンプトを入力し、Generateします。

20251215-045400-969ab31e.png

1024 x 1024 でも生成してみました。

お疲れさまでした。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?