roll-ai commited on
Commit
fcb37d8
·
verified ·
1 Parent(s): 7d37772

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -4
Dockerfile CHANGED
@@ -35,10 +35,6 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
35
  RUN pip install --upgrade pip setuptools wheel packaging ninja
36
 
37
  # Uninstall any prebuilt flash-attn
38
- RUN pip uninstall -y flash-attn || true
39
-
40
- # Build from source so it links correctly
41
- RUN pip install flash-attn --no-build-isolation --no-cache-dir
42
 
43
  ENV CONDA_FORGE=1 \
44
  CONDA_AUTO_UPDATE_CONDA=false
@@ -56,6 +52,10 @@ RUN pip install --upgrade pip && \
56
 
57
  # Install the rest of the dependencies
58
  RUN pip install --no-cache-dir -r requirements.txt
 
 
 
 
59
 
60
  # Copy project code
61
  COPY . .
 
35
  RUN pip install --upgrade pip setuptools wheel packaging ninja
36
 
37
  # Uninstall any prebuilt flash-attn
 
 
 
 
38
 
39
  ENV CONDA_FORGE=1 \
40
  CONDA_AUTO_UPDATE_CONDA=false
 
52
 
53
  # Install the rest of the dependencies
54
  RUN pip install --no-cache-dir -r requirements.txt
55
+ RUN pip uninstall -y flash-attn || true
56
+
57
+ # Build from source so it links correctly
58
+ RUN pip install flash-attn --no-build-isolation --no-cache-dir
59
 
60
  # Copy project code
61
  COPY . .