smu-lib-chat / tgi.sh
inflaton's picture
Duplicate from inflaton/smu-ai
d5edf96
raw
history blame
No virus
322 Bytes
#!/bin/sh
BASEDIR=$(dirname "$0")
cd $BASEDIR
echo Current Directory:
pwd
uname -a
. env/tgi.conf
echo Running $MODEL_ID with TGI
text-generation-launcher --model-id $MODEL_ID --port $PORT --max-input-length 2048 --max-total-tokens 4096 --ngrok --ngrok-authtoken $NGROK_AUTHTOKEN --ngrok-edge $NGROK_EDGE $QUANTIZE