meg-huggingface commited on
Commit
b891a6a
1 Parent(s): f5a3abd

Echoing to failed attempts

Browse files
Files changed (1) hide show
  1. entrypoint.sh +1 -2
entrypoint.sh CHANGED
@@ -17,8 +17,7 @@ python /parse_requests.py | while read -r line; do
17
  echo "${experiment_name},${backend_model}" >> /attempts.txt
18
 
19
  # Let the benchmarking begin!
20
- 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" ||
21
- echo "${experiment_name},${backend_model}" >> /failed_attempts.txt
22
  done
23
 
24
  echo "Finished; updating requests dataset and results dataset."
 
17
  echo "${experiment_name},${backend_model}" >> /attempts.txt
18
 
19
  # Let the benchmarking begin!
20
+ 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" || echo "${experiment_name},${backend_model}" >> /failed_attempts.txt
 
21
  done
22
 
23
  echo "Finished; updating requests dataset and results dataset."