Spaces:
Build error
Build error
Commit
•
de8c35c
1
Parent(s):
5de3588
Update entrypoint.sh.template
Browse files- entrypoint.sh.template +1 -6
entrypoint.sh.template
CHANGED
@@ -4,12 +4,7 @@
|
|
4 |
mongod &
|
5 |
|
6 |
# Start the text-generation-inference process
|
7 |
-
|
8 |
-
pip install -U transformers
|
9 |
-
mkdir /data/
|
10 |
-
mkdir /data/model-gptq
|
11 |
-
text-generation-server quantize ${MODEL_NAME} /data/model-gptq
|
12 |
-
text-generation-launcher --model-id /data/model-gptq/ --num-shard 1 --port 8080 --quantize gptq &
|
13 |
|
14 |
# Wait for text-generation-inference to start
|
15 |
curl --retry 60 --retry-delay 10 --retry-connrefused http://127.0.0.1:8080/health
|
|
|
4 |
mongod &
|
5 |
|
6 |
# Start the text-generation-inference process
|
7 |
+
text-generation-launcher --model-id ${MODEL_NAME} --num-shard 1 --port 8080 --trust-remote-code &
|
|
|
|
|
|
|
|
|
|
|
8 |
|
9 |
# Wait for text-generation-inference to start
|
10 |
curl --retry 60 --retry-delay 10 --retry-connrefused http://127.0.0.1:8080/health
|