File size: 751 Bytes
d023e59
 
616b8af
d5b1458
 
81672b4
807b73e
38b2415
 
9c8006c
2556dc3
a657b09
 
d8e8822
72e682c
 
 
 
81672b4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/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 | while read line; do
    IFS="," read backend_model experiment_name <<< $(echo ${line})
    echo "Benchmarking Model: ${backend_model}, Task: ${experiment_name}"
    optimum-benchmark --config-name ${experiment_name}  --config-dir /optimum-benchmark/examples/energy_star/ backend.model=${backend_model} backend.processor=${backend_model} hydra.run.dir="./runs/${experiment_name}/${backend_model}/${now:%Y-%m-%d-%H-%M-%S}"
done
echo "Finished; uploading dataset results"
python /create_results.py ./runs
# Pausing space
echo "Pausing space."
python /pause_space.py
echo "Done."
#fi