Spaces:
Build error
Build error
Commit
·
af8ee45
1
Parent(s):
d932a94
Update entrypoint.sh.template
Browse files- entrypoint.sh.template +3 -3
entrypoint.sh.template
CHANGED
@@ -5,9 +5,9 @@ mongod &
|
|
5 |
|
6 |
# Start the text-generation-inference process
|
7 |
pip3 install -U transformers && pip install -U transformers
|
8 |
-
mkdir /data/model_gptq
|
9 |
-
text-generation-server quantize ${MODEL_NAME} /data/model_gptq
|
10 |
-
text-generation-launcher --model-id /
|
11 |
|
12 |
# Wait for text-generation-inference to start
|
13 |
curl --retry 60 --retry-delay 10 --retry-connrefused http://127.0.0.1:8080/health
|
|
|
5 |
|
6 |
# Start the text-generation-inference process
|
7 |
pip3 install -U transformers && pip install -U transformers
|
8 |
+
# mkdir /data/model_gptq
|
9 |
+
# text-generation-server quantize ${MODEL_NAME} /data/model_gptq
|
10 |
+
text-generation-launcher --model-id TheBloke/zephyr-7B-beta-GPTQ --quantize gptq --num-shard 1 --port 8080 &
|
11 |
|
12 |
# Wait for text-generation-inference to start
|
13 |
curl --retry 60 --retry-delay 10 --retry-connrefused http://127.0.0.1:8080/health
|