gfjiogopdfgdfs commited on
Commit
87fd2e2
·
verified ·
1 Parent(s): 86fb0a8

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -1
Dockerfile CHANGED
@@ -38,7 +38,9 @@ RUN wget -O tokenizer.model "https://huggingface.co/NeverSleep/MiquMaid-v2-2x70B
38
 
39
  # Download tokenizer_config.json
40
  RUN wget -O tokenizer_config.json "https://huggingface.co/NeverSleep/MiquMaid-v2-2x70B-DPO/resolve/main/tokenizer_config.json?download=true"
41
-
 
 
42
  EXPOSE 7860
43
  # Should expose on all network interfaces so 0.0.0.0 not only localhost
44
  CMD /bin/bash -c "/bin/python3 -m aphrodite.endpoints.openai.api_server $ENGINE_ARGS --port 7860 --host 0.0.0.0 --model $HOME/app/"
 
38
 
39
  # Download tokenizer_config.json
40
  RUN wget -O tokenizer_config.json "https://huggingface.co/NeverSleep/MiquMaid-v2-2x70B-DPO/resolve/main/tokenizer_config.json?download=true"
41
+ RUN wget -O gguf_to_torch.py https://raw.githubusercontent.com/PygmalionAI/aphrodite-engine/main/examples/gguf_to_torch.py
42
+ RUN python3 -m pip install protobuf==3.20.*
43
+ RUN python3 gguf_to_torch.py --input $HOME/app/model.gguf --output $HOME/app/
44
  EXPOSE 7860
45
  # Should expose on all network interfaces so 0.0.0.0 not only localhost
46
  CMD /bin/bash -c "/bin/python3 -m aphrodite.endpoints.openai.api_server $ENGINE_ARGS --port 7860 --host 0.0.0.0 --model $HOME/app/"