"...git@developer.sourcefind.cn:chenpangpang/transformers.git" did not exist on "71356034232cfce20d8f24df1213944665e7fe08"
Commit a8d8bf90 authored by jerrrrry's avatar jerrrrry
Browse files

Update client.sh

parent e328df95
echo "tp,data_type,batch,prompt_tokens,completion_tokens,TOTAL_THROUGHPUT(toks/s),generate_throughput(toks/s), TTFT(ms),TPOT(ms),ITL(ms),P99_TTFT(ms),P99_TPOT(ms),P99_ITL(ms)" > DeepSeek-R1-0528-W4A8-V2.csv
echo "tp,data_type,batch,prompt_tokens,completion_tokens,TOTAL_THROUGHPUT(toks/s),generate_throughput(toks/s), TTFT(ms),TPOT(ms),ITL(ms),P99_TTFT(ms),P99_TPOT(ms),P99_ITL(ms)" > DeepSeek-R1-0528-W4A8-V2_tp8-nopc.csv
pairs=( "512 512" "1024 512" "2048 512" "4096 512" "8192 512" "16384 512") pairs=( "512 512" "1024 512" "2048 512" "4096 512" "8192 512" "16384 512")
model_path="/module3/DeepSeek-R1-0528-W4A8-V2" model_path="/module3/DeepSeek-R1-0528-W4A8-V2"
tp=8 tp=8
...@@ -15,7 +14,7 @@ for pair in "${pairs[@]}"; do ...@@ -15,7 +14,7 @@ for pair in "${pairs[@]}"; do
# benchmark_throughput.py # benchmark_throughput.py
python benchmark_serving.py \ python benchmark_serving.py \
--backend openai \ --backend openai \
--port 20011\ --port 10002\
--model ${model_path} \ --model ${model_path} \
--trust-remote-code \ --trust-remote-code \
--dataset-name random \ --dataset-name random \
...@@ -35,6 +34,6 @@ for pair in "${pairs[@]}"; do ...@@ -35,6 +34,6 @@ for pair in "${pairs[@]}"; do
P99_ITL=`grep "^P99 ITL" $log_path| awk -F ' ' '{print $4}'` P99_ITL=`grep "^P99 ITL" $log_path| awk -F ' ' '{print $4}'`
P99_TTFT=`grep "^P99 TTFT" $log_path| awk -F ' ' '{print $4}'` P99_TTFT=`grep "^P99 TTFT" $log_path| awk -F ' ' '{print $4}'`
P99_TPOT=`grep "^P99 TPOT" $log_path| awk -F ' ' '{print $4}'` P99_TPOT=`grep "^P99 TPOT" $log_path| awk -F ' ' '{print $4}'`
echo "$tp,$data_type,$batch,$prompt_tokens,$completion_tokens,$TOTAL_THROUGHPUT,$GEN_THROUGHPUT,$TTFT,$TPOT, $ITL,$P99_TTFT,$P99_TPOT,$P99_ITL" >> DeepSeek-R1-0528-W4A8-V2_tp8-nopc.csv echo "$tp,$data_type,$batch,$prompt_tokens,$completion_tokens,$TOTAL_THROUGHPUT,$GEN_THROUGHPUT,$TTFT,$TPOT, $ITL,$P99_TTFT,$P99_TPOT,$P99_ITL" >> DeepSeek-R1-0528-W4A8-V2.csv
done done
done done
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment