Spaces:
Sleeping
Sleeping
Update entrypoint.sh
Browse files- entrypoint.sh +4 -0
entrypoint.sh
CHANGED
@@ -1,5 +1,9 @@
|
|
1 |
#!/bin/bash
|
2 |
|
|
|
|
|
|
|
|
|
3 |
# Start the text-generation-inference process
|
4 |
if [[ -n "$QUANTIZE" && "$QUANTIZE" != "false" ]]; then
|
5 |
text-generation-launcher --model-id $MODEL_NAME --num-shard 1 --port 8080 --trust-remote-code --quantize $QUANTIZE &
|
|
|
1 |
#!/bin/bash
|
2 |
|
3 |
+
echo "MODEL_NAME: $MODEL_NAME"
|
4 |
+
echo "QUANTIZE: $QUANTIZE"
|
5 |
+
echo "GRADIO_PORT: $GRADIO_PORT"
|
6 |
+
|
7 |
# Start the text-generation-inference process
|
8 |
if [[ -n "$QUANTIZE" && "$QUANTIZE" != "false" ]]; then
|
9 |
text-generation-launcher --model-id $MODEL_NAME --num-shard 1 --port 8080 --trust-remote-code --quantize $QUANTIZE &
|