Create deepsparse_reproduce.bash
Browse files- deepsparse_reproduce.bash +16 -0
deepsparse_reproduce.bash
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# mpt-7b-gsm8k_mpt_pretrain-pruned60 \
|
2 |
+
# mpt-7b-gsm8k_mpt_pretrain-pruned60_quantized \
|
3 |
+
|
4 |
+
models="mpt-7b-gsm8k_mpt_pretrain-base \
|
5 |
+
mpt-7b-gsm8k_mpt_pretrain-base_quantized \
|
6 |
+
mpt-7b-gsm8k_mpt_pretrain-pruned50 \
|
7 |
+
mpt-7b-gsm8k_mpt_pretrain-pruned50_quantized \
|
8 |
+
mpt-7b-gsm8k_mpt_pretrain-pruned70 \
|
9 |
+
mpt-7b-gsm8k_mpt_pretrain-pruned70_quantized"
|
10 |
+
|
11 |
+
mkdir ds.benchmark/
|
12 |
+
for model in $models; do
|
13 |
+
cmd="deepsparse.benchmark zoo:$model -t 120"
|
14 |
+
echo *****$cmd***** | tee -a ds.benchmark/$model.log
|
15 |
+
eval $cmd 2>&1 | tee -a ds.benchmark/$model.log
|
16 |
+
done
|