gfjiogopdfgdfs commited on
Commit
0703f7d
·
verified ·
1 Parent(s): 030f0fd

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -6
Dockerfile CHANGED
@@ -20,12 +20,11 @@ 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 TheBloke/goliath-120b-GPTQ --local-dir $HOME/goliath-gptq --local-dir-use-symlinks False --cache-dir $HOME/cache
27
-
28
 
29
  EXPOSE 7860
30
  # Should expose on all network interfaces so 0.0.0.0 not only localhost
31
- CMD /bin/bash -c "/bin/python3 -m aphrodite.endpoints.openai.api_server $ENGINE_ARGS --port 7860 --host 0.0.0.0 --model ~/goliath-gptq"
 
20
  COPY --chown=user . $HOME/app
21
 
22
  RUN python3 -m pip install aphrodite-engine
23
+ RUN wget -O part_a.gguf $MODEL_PART_A
24
+ RUN wget -O part_b.gguf $MODEL_PART_B
25
+ RUN cat part_a.gguf part_b.gguf > model.gguf
26
+ RUN rm part_a.gguf part_b.gguf
 
27
 
28
  EXPOSE 7860
29
  # Should expose on all network interfaces so 0.0.0.0 not only localhost
30
+ CMD /bin/bash -c "/bin/python3 -m aphrodite.endpoints.openai.api_server $ENGINE_ARGS --port 7860 --host 0.0.0.0 --model $HOME/app/"