Update benchmark scripts (#8)
This commit is contained in:
6
scripts/launch_tgi.sh
Normal file
6
scripts/launch_tgi.sh
Normal file
@@ -0,0 +1,6 @@
|
||||
docker run --name tgi --rm -ti --gpus all --network host \
|
||||
-v /home/ubuntu/model_weights/Llama-2-7b-chat-hf:/Llama-2-7b-chat-hf \
|
||||
ghcr.io/huggingface/text-generation-inference:1.3.0 \
|
||||
--model-id /Llama-2-7b-chat-hf --num-shard 1 --trust-remote-code \
|
||||
--max-input-length 2048 --max-total-tokens 4096 \
|
||||
--port 24000
|
||||
Reference in New Issue
Block a user