xzyao commited on
Commit
8f1aebb
·
1 Parent(s): 0be57bc

Update entrypoint.sh.template

Browse files
Files changed (1) hide show
  1. entrypoint.sh.template +0 -6
entrypoint.sh.template CHANGED
@@ -1,11 +1,5 @@
1
  #!/bin/bash
2
 
3
- # Start the text-generation-inference process
4
- text-generation-launcher --model-id ${MODEL_NAME} --num-shard 1 --port 8080 --trust-remote-code &
5
-
6
- # Wait for text-generation-inference to start
7
- curl --retry 60 --retry-delay 10 --retry-connrefused http://127.0.0.1:8080/health
8
-
9
  # Start the chat-ui process
10
  pm2 start /app/build/index.js -i $CPU_CORES --no-daemon &
11
 
 
1
  #!/bin/bash
2
 
 
 
 
 
 
 
3
  # Start the chat-ui process
4
  pm2 start /app/build/index.js -i $CPU_CORES --no-daemon &
5