gfjiogopdfgdfs commited on
Commit
c3049dc
1 Parent(s): 718364e

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -5
Dockerfile CHANGED
@@ -19,14 +19,15 @@ ENV HOME=/home/user \
19
  WORKDIR $HOME/app
20
  COPY --chown=user . $HOME/app
21
 
22
- RUN python3 -m pip install aphrodite-engine
 
 
 
 
23
  RUN pip install huggingface-hub hf-transfer
24
 
25
  ENV HF_HUB_ENABLE_HF_TRANSFER=1
26
- RUN huggingface-cli download ycros/BagelMIsteryTour-v2-8x7B-AWQ --revision 32g --local-dir $HOME/goliath-gptq --local-dir-use-symlinks False --cache-dir $HOME/cache
27
-
28
-
29
 
30
  EXPOSE 7860
31
- # Should expose on all network interfaces so 0.0.0.0 not only localhost
32
  CMD /bin/bash -c "/bin/python3 -m aphrodite.endpoints.openai.api_server $ENGINE_ARGS --port 7860 --host 0.0.0.0 --model ~/goliath-gptq"
 
19
  WORKDIR $HOME/app
20
  COPY --chown=user . $HOME/app
21
 
22
+ # Clone the specific branch of aphrodite-engine
23
+ RUN git clone --branch feat/exllamav2 https://github.com/PygmalionAI/aphrodite-engine.git $HOME/aphrodite-engine
24
+ # Install aphrodite-engine from the cloned directory
25
+ RUN python3 -m pip install -e $HOME/aphrodite-engine
26
+
27
  RUN pip install huggingface-hub hf-transfer
28
 
29
  ENV HF_HUB_ENABLE_HF_TRANSFER=1
30
+ RUN huggingface-cli download LoneStriker/TinyLlama-1.1B-32k-Instruct-8.0bpw-h8-exl2 --local-dir $HOME/goliath-gptq --local-dir-use-symlinks False --cache-dir $HOME/cache
 
 
31
 
32
  EXPOSE 7860
 
33
  CMD /bin/bash -c "/bin/python3 -m aphrodite.endpoints.openai.api_server $ENGINE_ARGS --port 7860 --host 0.0.0.0 --model ~/goliath-gptq"