File size: 741 Bytes
bd7ffdb |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
source /home/Ubuntu/apps/stable-diffusion-webui/venv/bin/activate
cd /home/Ubuntu/apps/stable-diffusion-webui
git pull
cd /home/Ubuntu/apps/stable-diffusion-webui/extensions
git clone https://github.com/NVIDIA/Stable-Diffusion-WebUI-TensorRT
cd /home/Ubuntu/apps/stable-diffusion-webui
wget https://huggingface.co/MonsterMMORPG/SECourses/resolve/main/styles.csv -O styles.csv
pip install nvidia-cudnn-cu11==8.9.4.25 --no-cache-dir
pip install --pre --extra-index-url https://pypi.nvidia.com tensorrt==9.0.1.post11.dev4 --no-cache-dir
pip install polygraphy --extra-index-url https://pypi.ngc.nvidia.com
pip install protobuf==3.20.2
pip install onnx-graphsurgeon --extra-index-url https://pypi.ngc.nvidia.com
pip install optimum
|