diff --git a/.github/workflows/reusable_benchmarks.yml b/.github/workflows/reusable_benchmarks.yml index 15e6b15f4a..69e1f5c601 100644 --- a/.github/workflows/reusable_benchmarks.yml +++ b/.github/workflows/reusable_benchmarks.yml @@ -111,7 +111,9 @@ jobs: - name: Install benchmarking scripts deps run: | - pip install --force-reinstall -r ${{github.workspace}}/sycl-repo/unified-runtime/third_party/benchmark_requirements.txt + python -m venv .venv + source .venv/bin/activate + pip install -r ${{github.workspace}}/sycl-repo/unified-runtime/third_party/benchmark_requirements.txt - name: Set core range and GPU mask run: | @@ -135,6 +137,7 @@ jobs: id: benchmarks working-directory: ${{env.BUILD_DIR}} run: > + source ${{github.workspace}}/.venv/bin/activate && taskset -c ${{ env.CORES }} ${{ github.workspace }}/sycl-repo/unified-runtime/scripts/benchmarks/main.py ~/bench_workdir_umf --umf ${{env.BUILD_DIR}}