Spaces:
Runtime error
Runtime error
Fix date in run dir name
Browse files- entrypoint.sh +1 -1
entrypoint.sh
CHANGED
@@ -8,7 +8,7 @@ echo "Attempting to run."
|
|
8 |
python /parse_requests.py | while read line; do
|
9 |
IFS="," read backend_model experiment_name <<< $(echo ${line})
|
10 |
echo "Benchmarking Model: ${backend_model}, Task: ${experiment_name}"
|
11 |
-
export run_dir="./runs/${experiment_name}/${backend_model}/$
|
12 |
|
13 |
optimum-benchmark --config-name ${experiment_name} --config-dir /optimum-benchmark/examples/energy_star/ backend.model=${backend_model} backend.processor=${backend_model} hydra.run.dir=${run_dir} 2> $run_dir/error.log
|
14 |
|
|
|
8 |
python /parse_requests.py | while read line; do
|
9 |
IFS="," read backend_model experiment_name <<< $(echo ${line})
|
10 |
echo "Benchmarking Model: ${backend_model}, Task: ${experiment_name}"
|
11 |
+
export run_dir="./runs/${experiment_name}/${backend_model}/$(date +%Y-%m-%d-%H-%M-%S)"
|
12 |
|
13 |
optimum-benchmark --config-name ${experiment_name} --config-dir /optimum-benchmark/examples/energy_star/ backend.model=${backend_model} backend.processor=${backend_model} hydra.run.dir=${run_dir} 2> $run_dir/error.log
|
14 |
|