Skip to content

Commit

Permalink
fix(frontend): use find command to run the benchmarks as for loop is …
Browse files Browse the repository at this point in the history
…fragile in makefiles
  • Loading branch information
umut-sahin committed Sep 23, 2024
1 parent 980fc9c commit 45144f5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions frontends/concrete-python/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -119,11 +119,12 @@ pytest-gpu: tfhers-utils
-m "${PYTEST_MARKERS}"

benchmark:
eval $(shell make silent_cp_activate)
eval $(shell #make silent_cp_activate)
export PROGRESS_SAMPLES=3
export PROGRESS_OUTPUT_INDENT=2

rm -rf progress.json && for script in benchmarks/*.py; do python $script; done
rm -rf progress.json
find ./benchmarks/ -name "*.py" -exec python {} \;

process-benchmark-results-for-grafana:
eval $(shell make silent_cp_activate)
Expand Down

0 comments on commit 45144f5

Please sign in to comment.