Sign inSign up

bobzhao1210/diffusion-webui

By bobzhao1210

•Updated about 3 years ago

A simple way to use diffusion-webui 简单的使用diffusion-webui的方法。(持续更新)

Image
18

10K+

bobzhao1210/diffusion-webui repository overview

⁠准备 / Prepare

⁠更新说明 / Update Info

  • 已更新至V1.5.1版本 the version V1.5.1 is now available
  • 已更新至V1.4.1版本 the version V1.4.1 is now available
  • 已更新至V1.3.2与v1.4.0-RC 版本 The version v1.3.2 and v1.4.0-RC is know available

⁠使用 / Use

使用以下命令拉取该镜像.
Use following command to pull the image.

docker pull bobzhao1210/diffusion-webui

使用镜像
use the image

docker run --gpus all --restart always --name diffusion_webui -d \
    -v ${MODELS}:/app/models \
    -v ${OUTPUTS}:/app/outputs \
    -v ${EXTENSIONS}:/app/extensions \
    -v ${CONFIGS}:/app/configs \
    -v ${OTHERS}:/temp/others \
    -p 7860:7860 \
   bobzhao1210/diffusion-webui

例如
example

docker run --gpus all --restart always --name diffusion_webui -d \
    -v /home/diffusion/models:/app/models \
    -v /home/diffusion/outputs:/app/outputs \
    -v /home/diffusion/extensions:/app/extensions \
    -v /home/diffusion/configs:/app/configs \
    -v /home/diffusion/others:/temp/others \
    -p 7860:7860 \
   bobzhao1210/diffusion-webui

⁠优化 / Optimiser

docker run --gpus all --restart always --name diffusion_webui -d \
    -v ${MODELS}:/app/models \
    -v ${OUTPUTS}:/app/outputs \
    -v ${EXTENSIONS}:/app/extensions \
    -v ${CONFIGS}:/app/configs \
    -v ${OTHERS}:/temp/others \
    -p 7860:7860 \
   bobzhao1210/diffusion-webui \
   python webui.py --listen --no-download-sd-model --enable-insecure-extension-access --api --xformers --opt-split-attention --medvram

⁠建议 / Tips

  • 非常建议把models与lora文件夹挂载出来,否则每次启动都会重新下载几个G的模型文件
    It is suggested that to volume models and the lora folder, otherwise the program will download several GBs model file every time the container created.
  • 如果有疑问欢迎联系我: [email protected]⁠
    If there is any promblem, welcome to concact me: [email protected]⁠

Tag summary

Content type

Image

Digest

sha256:9fe6fdc20…

Size

7.7 GB

Last updated

about 3 years ago

docker pull bobzhao1210/diffusion-webui