chansung commited on
Commit
2faeeb9
1 Parent(s): 510758e

Update entrypoint.sh

Browse files
Files changed (1) hide show
  1. 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 &