Skip to content

Commit

Permalink
Test script 1 thred overall
Browse files Browse the repository at this point in the history
  • Loading branch information
bachase committed Feb 23, 2025
1 parent 57fc9e5 commit 7a5778b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ucc-benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
-v "/home/runner/work/ucc/ucc:/ucc" \
ucc-benchmark bash -c "
export POETRY_VIRTUALENVS_IN_PROJECT=false POETRY_VIRTUALENVS_PATH=/venv && \
poetry run ./benchmarks/scripts/run_benchmarks.sh 8 && \
poetry run ./benchmarks/scripts/run_benchmarks.sh 1 && \
poetry run python ./benchmarks/scripts/plot_avg_benchmarks_over_time.py && \
poetry run python ./benchmarks/scripts/plot_latest_benchmarks.py
poetry run python ./benchmarks/scripts/plot_latest_expval_benchmarks.py
Expand Down
2 changes: 2 additions & 0 deletions benchmarks/scripts/run_benchmarks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ COMPILERS=("ucc" "qiskit" "pytket" "cirq")
PARALLELISM="${1:-4}"
echo "Running with parallelism: $PARALLELISM"

echo $("lscpu | grep -E '^Thread|^Core|^Socket|^CPU\('")

# Function to handle the kill signal
trap 'echo "All jobs killed"; exit' SIGINT SIGTERM

Expand Down

0 comments on commit 7a5778b

Please sign in to comment.