Spaces:
Sleeping
Sleeping
Commit ·
0335637
1
Parent(s): 4ee15db
Attempted to install problematic flash attention from source
Browse files- Dockerfile +3 -0
- requirements.txt +0 -2
Dockerfile
CHANGED
|
@@ -3,6 +3,9 @@ FROM python:${PYTHON_VERSION}-slim as base
|
|
| 3 |
|
| 4 |
WORKDIR /app
|
| 5 |
|
|
|
|
|
|
|
|
|
|
| 6 |
COPY requirements.txt .
|
| 7 |
RUN python -m pip install --no-cache-dir -r requirements.txt
|
| 8 |
|
|
|
|
| 3 |
|
| 4 |
WORKDIR /app
|
| 5 |
|
| 6 |
+
# Install problematic flash attention from source
|
| 7 |
+
RUN pip install git+https://github.com/Dao-AILab/flash-attention.git
|
| 8 |
+
|
| 9 |
COPY requirements.txt .
|
| 10 |
RUN python -m pip install --no-cache-dir -r requirements.txt
|
| 11 |
|
requirements.txt
CHANGED
|
@@ -1,5 +1,3 @@
|
|
| 1 |
-
packaging
|
| 2 |
-
flash_attn==2.5.8
|
| 3 |
torch==2.3.1
|
| 4 |
accelerate==0.31.0
|
| 5 |
transformers==4.43.0
|
|
|
|
|
|
|
|
|
|
| 1 |
torch==2.3.1
|
| 2 |
accelerate==0.31.0
|
| 3 |
transformers==4.43.0
|