Spaces:
Runtime error
Runtime error
Use venv pip
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -77,8 +77,8 @@ RUN poetry install
|
|
77 |
# Install xformers for the specified GPU
|
78 |
ARG GPU
|
79 |
RUN case "$GPU" in \
|
80 |
-
[aA]10[gG]) pip install https://github.com/camenduru/stable-diffusion-webui-colab/releases/download/0.0.16/xformers-0.0.16+814314d.d20230119.A10G-cp310-cp310-linux_x86_64.whl;; \
|
81 |
-
[tT]4) pip install https://github.com/camenduru/stable-diffusion-webui-colab/releases/download/0.0.16/xformers-0.0.16+814314d.d20230118-cp310-cp310-linux_x86_64.whl;; \
|
82 |
*) echo "invalid GPU setting"; exit 1;; \
|
83 |
esac
|
84 |
|
|
|
77 |
# Install xformers for the specified GPU
|
78 |
ARG GPU
|
79 |
RUN case "$GPU" in \
|
80 |
+
[aA]10[gG]) /opt/venv/bin/pip install https://github.com/camenduru/stable-diffusion-webui-colab/releases/download/0.0.16/xformers-0.0.16+814314d.d20230119.A10G-cp310-cp310-linux_x86_64.whl;; \
|
81 |
+
[tT]4) /opt/venv/bin/pip install https://github.com/camenduru/stable-diffusion-webui-colab/releases/download/0.0.16/xformers-0.0.16+814314d.d20230118-cp310-cp310-linux_x86_64.whl;; \
|
82 |
*) echo "invalid GPU setting"; exit 1;; \
|
83 |
esac
|
84 |
|