regisss HF staff commited on
Commit
6785821
·
verified ·
1 Parent(s): 75048f1

Fix date in run dir name

Browse files
Files changed (1) hide show
  1. 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}/${now:%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
 
 
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