Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +0 -7
Dockerfile
CHANGED
|
@@ -49,13 +49,6 @@ COPY requirements.txt .
|
|
| 49 |
RUN pip install --upgrade pip && \
|
| 50 |
pip install torch==2.6 torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu121
|
| 51 |
|
| 52 |
-
# Install the rest of the dependencies
|
| 53 |
-
RUN pip install --no-cache-dir -r requirements.txt
|
| 54 |
-
RUN pip uninstall -y flash-attn || true
|
| 55 |
-
|
| 56 |
-
# Build from source so it links correctly
|
| 57 |
-
RUN pip install "flash-attn<2.8" --no-build-isolation --no-cache-dir
|
| 58 |
-
|
| 59 |
# Copy project code
|
| 60 |
COPY . .
|
| 61 |
|
|
|
|
| 49 |
RUN pip install --upgrade pip && \
|
| 50 |
pip install torch==2.6 torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu121
|
| 51 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 52 |
# Copy project code
|
| 53 |
COPY . .
|
| 54 |
|