nateraw commited on
Commit
a2e8ee6
·
1 Parent(s): 470b5cf

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -0
Dockerfile CHANGED
@@ -91,6 +91,11 @@ 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
  # Python packages
95
  RUN --mount=target=requirements.txt,source=requirements.txt \
96
  pip install --no-cache-dir --upgrade -r requirements.txt
 
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