Spaces:
Build error
Build error
dockerilfe
Browse files- Dockerfile +1 -1
- server/entrypoint.sh +1 -1
Dockerfile
CHANGED
@@ -32,6 +32,6 @@ ENV HF_HOME $HOME/code/.hf_home/
|
|
32 |
|
33 |
ENV DEVICE cuda:0
|
34 |
# ENV ATTN_IMPLEMENTATION flash_attention_2
|
35 |
-
ENV ATTN_IMPLEMENTATION
|
36 |
|
37 |
ENTRYPOINT [ "./entrypoint.sh" ]
|
|
|
32 |
|
33 |
ENV DEVICE cuda:0
|
34 |
# ENV ATTN_IMPLEMENTATION flash_attention_2
|
35 |
+
ENV ATTN_IMPLEMENTATION sdpa
|
36 |
|
37 |
ENTRYPOINT [ "./entrypoint.sh" ]
|
server/entrypoint.sh
CHANGED
@@ -10,7 +10,7 @@ ls .venv/bin/ -al
|
|
10 |
ls .venv/lib/python3.11/site-packages/ -al
|
11 |
|
12 |
curl -sS https://bootstrap.pypa.io/get-pip.py | ./.venv/bin/python
|
13 |
-
./.venv/bin/python -m pip install flash_attn
|
14 |
|
15 |
echo "Installation done"
|
16 |
|
|
|
10 |
ls .venv/lib/python3.11/site-packages/ -al
|
11 |
|
12 |
curl -sS https://bootstrap.pypa.io/get-pip.py | ./.venv/bin/python
|
13 |
+
./.venv/bin/python -m pip install flash_attn --no-build-isolation
|
14 |
|
15 |
echo "Installation done"
|
16 |
|