SuperSecureHuman commited on
Commit
f76de01
·
1 Parent(s): 46de772

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -5
Dockerfile CHANGED
@@ -9,12 +9,12 @@ RUN apt-get update && \
9
 
10
  # Upgrade pip and install Python packages
11
  RUN pip3 install --upgrade pip
12
- RUN pip3 install torch torchvision torchaudio
13
- RUN pip install fschat accelerate pandas numpy
14
- RUN pip install xformers --no-deps
15
- RUN pip3 install transformers vllm
16
 
17
  # run this command - python -m vllm.entrypoints.openai.api_server --model mistralai/Mistral-7B-Instruct-v0.1
18
  # to start the server
19
 
20
- ENTRYPOINT [ "python", "-m", "vllm.entrypoints.openai.api_server", "--host", "0.0.0.0", "--port", "8080", "--model", "mistralai/Mistral-7B-Instruct-v0.1"]
 
9
 
10
  # Upgrade pip and install Python packages
11
  RUN pip3 install --upgrade pip
12
+ RUN pip3 install transformers
13
+ RUN pip3 install "fschat[model_worker,webui]"
14
+ RUN pip install accelerate pandas numpy
15
+
16
 
17
  # run this command - python -m vllm.entrypoints.openai.api_server --model mistralai/Mistral-7B-Instruct-v0.1
18
  # to start the server
19
 
20
+ ENTRYPOINT [ "python3", "-m", "fastchat.serve.openai_api_server", "--host", "0.0.0.0", "--port", "8080", "--device", "cpu", "--model-path", "mistralai/Mistral-7B-Instruct-v0.1"]