Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
tools:stable_diffusion [2024/12/08 10:25] – created - external edit 127.0.0.1tools:stable_diffusion [2024/12/08 11:02] (current) – [OPENVINO] darron
Line 47: Line 47:
 mkdir -p ~/src && cd ~/src mkdir -p ~/src && cd ~/src
 git clone --recursive https://github.com/AUTOMATIC1111/stable-diffusion-webuii git clone --recursive https://github.com/AUTOMATIC1111/stable-diffusion-webuii
-cd stable-diffusion-webui -O stable-diffusion-webui.automatic1111+cd stable-diffusion-webui stable-diffusion-webui.automatic1111
 echo 'export PYTORCH_TRACING_MODE=TORCHFX' >> webui-user.sh echo 'export PYTORCH_TRACING_MODE=TORCHFX' >> webui-user.sh
 echo 'export COMMANDLINE_ARGS="--skip-torch-cuda-test --precision full --no-half --listen"' >> webui-user.sh echo 'export COMMANDLINE_ARGS="--skip-torch-cuda-test --precision full --no-half --listen"' >> webui-user.sh
Line 61: Line 61:
  
 [[https://github.com/openvinotoolkit/stable-diffusion-webui|Github]] [[https://github.com/openvinotoolkit/stable-diffusion-webui|Github]]
 +
 +NB OpenVINO acceleration is not working (the script is never loaded).
  
 ==Install== ==Install==
Line 66: Line 68:
 <code> <code>
 mkdir -p ~/src && cd ~/src mkdir -p ~/src && cd ~/src
-git clone --recursive https://github.com/openvinotoolkit/stable-diffusion-webui -O stable-diffusion-webui.openvino+git clone --recursive https://github.com/openvinotoolkit/stable-diffusion-webui stable-diffusion-webui.openvino
 cd stable-diffusion-webui cd stable-diffusion-webui
 wget "https://raw.githubusercontent.com/openvinotoolkit/stable-diffusion-webui/refs/heads/master/scripts/openvino_accelerate.py" -O scripts/openvino_accelerate.py wget "https://raw.githubusercontent.com/openvinotoolkit/stable-diffusion-webui/refs/heads/master/scripts/openvino_accelerate.py" -O scripts/openvino_accelerate.py
Line 73: Line 75:
 ==Patch== ==Patch==
  
 +/*
 <code> <code>
 diff -u requirements.txt.bak requirements.txt diff -u requirements.txt.bak requirements.txt
Line 88: Line 91:
  diffusers  diffusers
 </code> </code>
 +*/
 <code> <code>
 diff -u webui-user.sh.orig webui-user.sh diff -u webui-user.sh.orig webui-user.sh
Line 122: Line 125:
 <code> <code>
 mkdir -p ~/src && cd ~/src mkdir -p ~/src && cd ~/src
-git clone --recursive https://github.com/vladmandic/automatic -O sd.next+git clone --recursive https://github.com/vladmandic/automatic automatic.sd.next
 cd automatic cd automatic
 </code> </code>