GithubHelp home page GithubHelp logo

yftzeng / stable-diffusion-webui-docker Goto Github PK

View Code? Open in Web Editor NEW
133.0 133.0 17.0 20 KB

Easily and quickly run stable-diffsion-webui with ControlNet in Docker.

License: MIT License

Shell 37.75% Dockerfile 62.25%

stable-diffusion-webui-docker's Introduction

Profile

Experienced architect and consultant across multiple industries with proven business practices, process assessment, and agile skills to provide deep and actionable insights. Skilled in working with cross-functional teams and stakeholders, with strong communication skills.

Work Experience

» LeadBest Consulting Group - Chief Executive Consultant / 首席執行顧問

» Top Geeks' Organization (TGO) - Taipei branch - Membership committee

» CHROOT : Taiwan security group - Member

Skill Summary

Transformation

  • Business reengineering experience with cross-functional teams, including stakeholders, customers, legal team, sales team, marketing team, finance team, and PR team
  • Strong communication skills (verbal and written)

Architecture

  • Multi-industry architect/consultant in AdTech, Fintech (e-commerce, smartcard), Classical music, OTT media and IFEC
  • Experience in planning, designing and implementing software architecture for small-mid-large scale business solutions to meet business needs and priorities
  • Ensuring solutions are of high quality, are high performance and are scalable. Reach 10000+ thousands MAU, 100+ thousands current users, 10+ PB data, scale up/down in 2/7 minutes

Security

  • Experience in reverse-engineering software (web application and Android app), dig out business insights of competitor
  • Familiar with authentication, anti-DDoS, man-in-the-middle, and information operation. Zero security damage occurred

Law / Compliance

  • Experience in trademarks, patents and copyright, especially open source compliance, understand practices to meet business global strategies. Ever filed 6 patents
  • Familiar with privacy and compliance, GDPR, CCPA, etc.

Public Presentation

stable-diffusion-webui-docker's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

stable-diffusion-webui-docker's Issues

strange error: end of file unexpected when end of file unexpected

I got a strange error when trying , any feedback is appreciated

ubuntu@instance-:~/stable-diffusion-webui-docker-main$ sudo docker compose --profile cpu up -d
[+] Building 1.6s (6/9)
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 32B 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [internal] load metadata for docker.io/library/ubuntu:22.04 1.2s
=> [internal] load build context 0.0s
=> => transferring context: 62B 0.0s
=> CACHED [1/5] FROM docker.io/library/ubuntu:22.04@sha256:9a0bdde4188b896a372804be2384015e90e3f84906b750c1a53539b585fbbe7f 0.0s
=> ERROR [2/5] RUN if [ "Etc/UTC" = "Asia/Taipei" ]; then sed -i '/^deb/{s/ [^ ]*/ http://free.nchc.org.tw/ubuntu//1}' /etc/apt/sources.list fi && apt-get update && apt-get dist-upgrade -yq --no-install-recommends && apt-get install 0.3s

[2/5] RUN if [ "Etc/UTC" = "Asia/Taipei" ]; then sed -i '/^deb/{s/ [^ ]*/ http://free.nchc.org.tw/ubuntu//1}' /etc/apt/sources.list fi && apt-get update && apt-get dist-upgrade -yq --no-install-recommends && apt-get install -yq --no-install-recommends sudo git-core git-lfs python3 python3-pip python3-venv python3-opencv && groupadd --gid 1000 wow && useradd --uid 1000 --gid 1000 -m wow && echo wow ALL=(root) NOPASSWD:ALL > /etc/sudoers.d/wow && chmod 0440 /etc/sudoers.d/wow && curl -sL https://raw.githubusercontent.com/AUTOMATIC1111/stable-diffusion-webui/master/webui.sh | sudo -u wow env COMMANDLINE_ARGS="--lowvram --precision full --no-half --allow-code --enable-insecure-extension-access --api --listen --port 7861 --exit --skip-torch-cuda-test" bash && sudo -u wow python3 -m pip install xformers && sudo -u wow git clone https://github.com/Mikubill/sd-webui-controlnet.git /home/wow/stable-diffusion-webui/extensions/sd-webui-controlnet && sudo -u wow git clone https://huggingface.co/webui/ControlNet-modules-safetensors /home/wow/stable-diffusion-webui/models/ControlNet && sudo -u wow mkdir -p /home/wow/stable-diffusion-webui/extensions/sd-webui-controlnet/annotator/openpose && sudo -u wow curl -Lo /home/wow/stable-diffusion-webui/extensions/sd-webui-controlnet/annotator/openpose/body_pose_model.pth https://huggingface.co/lllyasviel/ControlNet/resolve/main/annotator/ckpts/body_pose_model.pth && sudo -u wow curl -Lo /home/wow/stable-diffusion-webui/extensions/sd-webui-controlnet/annotator/openpose/hand_pose_model.pth https://huggingface.co/lllyasviel/ControlNet/resolve/main/annotator/ckpts/hand_pose_model.pth:
#0 0.264 /bin/sh: 1: Syntax error: end of file unexpected (expecting "fi")


failed to solve: executor failed running [/bin/sh -c if [ "$TZ" = "Asia/Taipei" ]; then sed -i '/^deb/{s/ [^ ]*/ http://free.nchc.org.tw/ubuntu//1}' /etc/apt/sources.list fi && apt-get update && apt-get dist-upgrade -yq --no-install-recommends && apt-get install -yq --no-install-recommends sudo git-core git-lfs python3 python3-pip python3-venv python3-opencv && groupadd --gid $USER_GID $USERNAME && useradd --uid $USER_UID --gid $USER_GID -m $USERNAME && echo $USERNAME ALL=(root) NOPASSWD:ALL > /etc/sudoers.d/$USERNAME && chmod 0440 /etc/sudoers.d/$USERNAME && curl -sL https://raw.githubusercontent.com/AUTOMATIC1111/stable-diffusion-webui/master/webui.sh | sudo -u $USERNAME env COMMANDLINE_ARGS="${BUILD_ARGS}" bash && sudo -u $USERNAME python3 -m pip install xformers && sudo -u $USERNAME git clone https://github.com/Mikubill/sd-webui-controlnet.git /home/$USERNAME/stable-diffusion-webui/extensions/sd-webui-controlnet && sudo -u $USERNAME git clone https://huggingface.co/webui/ControlNet-modules-safetensors /home/$USERNAME/stable-diffusion-webui/models/ControlNet && sudo -u $USERNAME mkdir -p /home/$USERNAME/stable-diffusion-webui/extensions/sd-webui-controlnet/annotator/openpose && sudo -u $USERNAME curl -Lo /home/$USERNAME/stable-diffusion-webui/extensions/sd-webui-controlnet/annotator/openpose/body_pose_model.pth https://huggingface.co/lllyasviel/ControlNet/resolve/main/annotator/ckpts/body_pose_model.pth && sudo -u $USERNAME curl -Lo /home/$USERNAME/stable-diffusion-webui/extensions/sd-webui-controlnet/annotator/openpose/hand_pose_model.pth https://huggingface.co/lllyasviel/ControlNet/resolve/main/annotator/ckpts/hand_pose_model.pth]: exit code: 2

No such file or directory!!

stable-diffusion-webui-docker-automatic1111-gpu-1 | bash: line 1: /home/wow/stable-diffusion-webui/venv/bin/activate: No such file or directory
stable-diffusion-webui-docker-automatic1111-gpu-1 | /home/wow/stable-diffusion-webui
stable-diffusion-webui-docker-automatic1111-gpu-1 | /home/wow/stable-diffusion-webui
stable-diffusion-webui-docker-automatic1111-gpu-1 | /home/wow/stable-diffusion-webui
stable-diffusion-webui-docker-automatic1111-gpu-1 | /home/wow/stable-diffusion-webui
stable-diffusion-webui-docker-automatic1111-gpu-1 | python3: can't open file '/home/wow/stable-diffusion-webui/webui.py': [Errno 2] No such file or directory
stable-diffusion-webui-docker-automatic1111-gpu-1 exited with code 2

Torch is not able to use GPU

#0 920.0 RuntimeError: Error running command.
#0 920.0 Command: "/home/wow/stable-diffusion-webui/venv/bin/python3" -c "import torch; assert torch.cuda.is_available(), 'Torch is not able to use GPU; add --skip-torch-cuda-test to COMMANDLINE_ARGS variable to disable this check'"
#0 920.0 Error code: 1
#0 920.0 stdout:
#0 920.0 stderr: Traceback (most recent call last):
#0 920.0 File "", line 1, in
#0 920.0 AssertionError: Torch is not able to use GPU; add --skip-torch-cuda-test to COMMANDLINE_ARGS variable to disable this check
#0 920.0
#0 920.0

failed to solve: process "/bin/sh -c if [ "$TZ" = "Asia/Taipei" ]; then sed -i '/^deb/{s/ [^ ]*/ http:\/\/free.nchc.org.tw\/ubuntu\//1}' /etc/apt/sources.list ;fi && apt-get update && apt-get dist-upgrade -yq --no-install-recommends && apt-get install -yq --no-install-recommends curl sudo git-core \tgit-lfs \tpython3 \tpython3-pip \tpython3-venv \tpython3-opencv && groupadd --gid $USER_GID $USERNAME && useradd --uid $USER_UID --gid $USER_GID -m $USERNAME && echo $USERNAME ALL=\(root\) NOPASSWD:ALL > /etc/sudoers.d/$USERNAME && chmod 0440 /etc/sudoers.d/$USERNAME && curl -sL https://raw.githubusercontent.com/AUTOMATIC1111/stable-diffusion-webui/master/webui.sh | sudo -u $USERNAME env COMMANDLINE_ARGS="${BUILD_ARGS}" bash && sudo -u $USERNAME python3 -m pip install xformers && sudo -u $USERNAME git clone https://github.com/Mikubill/sd-webui-controlnet.git /home/$USERNAME/stable-diffusion-webui/extensions/sd-webui-controlnet && sudo -u $USERNAME git clone https://huggingface.co/webui/ControlNet-modules-safetensors /home/$USERNAME/stable-diffusion-webui/models/ControlNet && sudo -u $USERNAME mkdir -p /home/$USERNAME/stable-diffusion-webui/extensions/sd-webui-controlnet/annotator/openpose && sudo -u $USERNAME curl -Lo /home/$USERNAME/stable-diffusion-webui/extensions/sd-webui-controlnet/annotator/openpose/body_pose_model.pth https://huggingface.co/lllyasviel/ControlNet/resolve/main/annotator/ckpts/body_pose_model.pth && sudo -u $USERNAME curl -Lo /home/$USERNAME/stable-diffusion-webui/extensions/sd-webui-controlnet/annotator/openpose/hand_pose_model.pth https://huggingface.co/lllyasviel/ControlNet/resolve/main/annotator/ckpts/hand_pose_model.pth" did not complete successfully: exit code: 1

No such file or directory

stable-diffusion-webui-docker-automatic1111-gpu-1  | bash: line 1: /home/wow/stable-diffusion-webui/venv/bin/activate: No such file or directory
stable-diffusion-webui-docker-automatic1111-gpu-1  | /home/wow/stable-diffusion-webui
stable-diffusion-webui-docker-automatic1111-gpu-1  | /home/wow/stable-diffusion-webui
stable-diffusion-webui-docker-automatic1111-gpu-1  | /home/wow/stable-diffusion-webui
stable-diffusion-webui-docker-automatic1111-gpu-1  | /home/wow/stable-diffusion-webui
stable-diffusion-webui-docker-automatic1111-gpu-1  | python3: can't open file '/home/wow/stable-diffusion-webui/webui.py': [Errno 2] No such file or directory
stable-diffusion-webui-docker-automatic1111-gpu-1 exited with code 2

Bypass downloaded models

enhancing.sh should bypass existing models rather than re-download them, as most checkpoints are typically several Gigabytes.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.