Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +5 -5
Dockerfile
CHANGED
@@ -80,6 +80,11 @@ RUN --mount=target=/root/packages.txt,source=packages.txt \
|
|
80 |
RUN --mount=target=/root/on_startup.sh,source=on_startup.sh,readwrite \
|
81 |
bash /root/on_startup.sh
|
82 |
|
|
|
|
|
|
|
|
|
|
|
83 |
#######################################
|
84 |
# End root user section
|
85 |
#######################################
|
@@ -91,11 +96,6 @@ RUN curl https://sh.rustup.rs -sSf | bash -s -- -y
|
|
91 |
ENV PATH="$HOME/.cargo/bin:${PATH}"
|
92 |
RUN chmod -R 777 $HOME/.cargo/
|
93 |
|
94 |
-
# Install ninja, which might help speed up flash attn build time
|
95 |
-
RUN apt-get update && apt-get install -y --no-install-recommends \
|
96 |
-
ninja-build \
|
97 |
-
&& rm -rf /var/lib/apt/lists/*
|
98 |
-
|
99 |
# Python packages
|
100 |
RUN --mount=target=requirements.txt,source=requirements.txt \
|
101 |
pip install --no-cache-dir --upgrade -r requirements.txt
|
|
|
80 |
RUN --mount=target=/root/on_startup.sh,source=on_startup.sh,readwrite \
|
81 |
bash /root/on_startup.sh
|
82 |
|
83 |
+
# Install ninja, which might help speed up flash attn build time
|
84 |
+
RUN apt-get update && apt-get install -y --no-install-recommends \
|
85 |
+
ninja-build \
|
86 |
+
&& rm -rf /var/lib/apt/lists/*
|
87 |
+
|
88 |
#######################################
|
89 |
# End root user section
|
90 |
#######################################
|
|
|
96 |
ENV PATH="$HOME/.cargo/bin:${PATH}"
|
97 |
RUN chmod -R 777 $HOME/.cargo/
|
98 |
|
|
|
|
|
|
|
|
|
|
|
99 |
# Python packages
|
100 |
RUN --mount=target=requirements.txt,source=requirements.txt \
|
101 |
pip install --no-cache-dir --upgrade -r requirements.txt
|