Skip to content

Instantly share code, notes, and snippets.

@e96031413
Created January 30, 2025 09:23
Show Gist options
  • Save e96031413/0601afb9615cf68dd87ad007de1d067e to your computer and use it in GitHub Desktop.
Save e96031413/0601afb9615cf68dd87ad007de1d067e to your computer and use it in GitHub Desktop.

如何使用Stable Diffusion Webui (GPU版本)

使用指令

git clone https://github.com/jim60105/docker-stable-diffusion-webui.git
cd docker-stable-diffusion-webui
docker compose up -d

注意事項

  • 開啟網頁介面: http://localhost:7860
  • 模型和設置將被儲存在目錄 ./data
  • 在預設情況下,輸出的圖片將儲存在./data/output
  • 更換不同模型可至 Stable Diffusion 3.5下載權重,注意GPU的RAM大小,16GB以下只能用到Stable Diffusion 3.5 Medium版本。
將權重放在./data/models/Stable-diffusion資料夾底下,並重開網頁介面http://localhost:7860

參考資料

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment