rrevo commited on
Commit
b38ccd1
·
1 Parent(s): 57e30e9

dockerilfe

Browse files
Files changed (2) hide show
  1. Dockerfile +1 -1
  2. 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 flash_attention
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==1.0.9 --no-build-isolation
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