Spaces:
Runtime error
Runtime error
Commit
·
f76de01
1
Parent(s):
46de772
Update Dockerfile
Browse files- 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
|
13 |
-
RUN
|
14 |
-
RUN pip install
|
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 [ "
|
|
|
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"]
|