File size: 619 Bytes
d023e59
 
616b8af
d5b1458
 
81672b4
807b73e
 
f18e497
 
 
807b73e
 
990b9a2
e3900b2
81672b4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash

echo "Not checking h100 -- already know it's not there."
#python /check_h100.py
echo "Attempting to run."
#if [[ $? = 0 ]]; then

python /parse_requests.py > pending_backend_models.txt
cat pending_backend_models.txt | while read line; do
    backend_model=$(echo ${line} | awk -F',' '{print $1;}')
    experiment_name=$(echo ${line} | awk -F',' '{print $2;}')
    optimum-benchmark --config-name ${experiment_name} --config-dir /optimum-benchmark/examples/energy_star/ hydra.run.dir='/data/runs/${experiment_name}/${backend_model}/${now:%Y-%m-%d-%H-%M-%S}'
done
echo "Finished"
#python /pause_space.py
#fi