Spaces:
Paused
Paused
add something
Browse files- Dockerfile +1 -0
- README.md +1 -1
- entrypoint.sh +4 -0
Dockerfile
CHANGED
@@ -16,6 +16,7 @@ RUN pip3 install "torch==2.1.1"
|
|
16 |
RUN pip3 install -U openai
|
17 |
RUN pip3 install -U vllm
|
18 |
RUN pip3 install -U pydantic
|
|
|
19 |
|
20 |
# Set up a new user named "user" with user ID 1000
|
21 |
RUN useradd -m -u 1000 user
|
|
|
16 |
RUN pip3 install -U openai
|
17 |
RUN pip3 install -U vllm
|
18 |
RUN pip3 install -U pydantic
|
19 |
+
RUN pip3 install -U aioprometheus
|
20 |
|
21 |
# Set up a new user named "user" with user ID 1000
|
22 |
RUN useradd -m -u 1000 user
|
README.md
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
---
|
2 |
-
title:
|
3 |
emoji: 🔥
|
4 |
colorFrom: purple
|
5 |
colorTo: gray
|
|
|
1 |
---
|
2 |
+
title: 7B or 8B Models
|
3 |
emoji: 🔥
|
4 |
colorFrom: purple
|
5 |
colorTo: gray
|
entrypoint.sh
CHANGED
@@ -41,6 +41,10 @@ if [[ ! -z "${SERVED_MODEL_NAME}" ]]; then
|
|
41 |
additional_args="${additional_args} --served-model-name ${SERVED_MODEL_NAME}"
|
42 |
fi
|
43 |
|
|
|
|
|
|
|
|
|
44 |
if [[ ! -z "${CHAT_TEMPLATE}" ]]; then
|
45 |
additional_args="${additional_args} --chat-template ${CHAT_TEMPLATE}"
|
46 |
fi
|
|
|
41 |
additional_args="${additional_args} --served-model-name ${SERVED_MODEL_NAME}"
|
42 |
fi
|
43 |
|
44 |
+
if [[ ! -z "${SWAP_SPACE}" ]]; then
|
45 |
+
additional_args="${additional_args} --swap-space ${SWAP_SPACE}"
|
46 |
+
fi
|
47 |
+
|
48 |
if [[ ! -z "${CHAT_TEMPLATE}" ]]; then
|
49 |
additional_args="${additional_args} --chat-template ${CHAT_TEMPLATE}"
|
50 |
fi
|