-
Notifications
You must be signed in to change notification settings - Fork 0
/
_run_inferences.sh
executable file
·58 lines (47 loc) · 3.69 KB
/
_run_inferences.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#!/bin/bash
# REPS=1
# python3 testing/main.py -i ov -r $REPS | tee -a results/out_ov.log;
# python3 testing/main.py -i onnx -r $REPS | tee -a results/out_onnx.log;
# python3 testing/main.py -i torchscript -r $REPS | tee -a results/out_torchscript.log;
# python3 testing/main.py -i torch -r $REPS | tee -a results/out_torch.log;
# python3 testing/main.py -i ov -r 10 | tee -a results/out_ov.log;
# python3 testing/main.py -i onnx -r 10 | tee -a results/out_onnx.log;
# python3 testing/main.py -i torchscript -r 10 | tee -a results/out_torchscript.log;
# python3 testing/main.py -i torch -r 10 | tee -a results/out_torch.log;
# python3 testing/main.py -i ov -r 3 | tee -a results/out_ov.log;
# python3 testing/main.py -i onnx -r 3 | tee -a results/out_onnx.log;
# python3 testing/main.py -i torchscript -r 3 | tee -a results/out_torchscript.log;
# python3 testing/main.py -i torch -r 3 | tee -a results/out_torch.log;
#MODELS = [ 'codet5-base', 'codeparrot-small', 'pythia-410m', 'codet5p-220'] #'gpt-neo-125m', 'codet5p-220'
# python3 testing/main.py -i ov -r 1 -m 'codet5-base' | tee -a results/out_ov.log;
# echo "________________________________________" | tee -a results/out_ov.log;
# python3 testing/main.py -i ov -r 1 -m 'codet5p-220' | tee -a results/out_ov.log;
# echo "________________________________________" | tee -a results/out_ov.log;
# python3 testing/main.py -i ov -r 1 -m 'codeparrot-small' | tee -a results/out_ov.log;
# echo "________________________________________" | tee -a results/out_ov.log;
# python3 testing/main.py -i ov -r 1 -m 'pythia-410m' | tee -a results/out_ov.log;
# echo "________________________________________" | tee -a results/out_ov.log;
# python3 testing/main.py -i onnx -r 1 -m 'codet5-base' | tee -a results/out_onnx.log;
# python3 testing/main.py -i onnx -r 1 -m 'codet5p-220' | tee -a results/out_onnx.log;
# python3 testing/main.py -i onnx -r 1 -m 'codeparrot-small' | tee -a results/out_onnx.log;
# python3 testing/main.py -i onnx -r 1 -m 'pythia-410m' | tee -a results/out_onnx.log;
# python3 testing/main.py -i torchscript -r 1 -m 'codet5-base' | tee -a results/out_torchscript.log;
# python3 testing/main.py -i torchscript -r 1 -m 'codet5p-220' | tee -a results/out_torchscript.log;
#python3 testing/main.py -i torchscript -r 1 -m 'codeparrot-small' | tee -a results/out_torchscript.log;
#python3 testing/main.py -i torchscript -r 1 -m 'pythia-410m' | tee -a results/out_torchscript.log;
# python3 testing/main.py -i torch -r 1 -m 'codet5-base' | tee -a results/out_torch.log;
# echo "________________________________________" | tee -a results/out_torch.log;
# python3 testing/main.py -i torch -r 1 -m 'codet5p-220' | tee -a results/out_torch.log;
# echo "________________________________________" | tee -a results/out_torch.log;
# python3 testing/main.py -i torch -r 1 -m 'codeparrot-small' | tee -a results/out_torch.log;
# echo "________________________________________" | tee -a results/out_torch.log;
# python3 testing/main.py -i torch -r 1 -m 'pythia-410m' | tee -a results/out_torch.log;
# echo "________________________________________" | tee -a results/out_torch.log;
python3 testing/main.py -i onnx -r 1 -m 'slm' | tee -a results/out_onnx.log;
echo "________________________________________" | tee -a results/out_onnx.log;
python3 testing/main.py -i ov -r 1 -m 'slm' | tee -a results/out_ov.log;
echo "________________________________________" | tee -a results/out_ov.log;
python3 testing/main.py -i torch -r 1 -m 'slm' | tee -a results/out_torch.log;
echo "________________________________________" | tee -a results/out_torch.log;
python3 testing/main.py -i torchscript -r 1 -m 'slm' | tee -a results/out_torchscript.log;
echo "________________________________________" | tee -a results/out_torchscript.log;