From 03ee361b22e77f8b79f7ddc2292c71bab140a1fd Mon Sep 17 00:00:00 2001 From: Guillaume Dalle <22795598+gdalle@users.noreply.github.com> Date: Fri, 2 Feb 2024 21:24:28 +0100 Subject: [PATCH] 1 OpenBLAS thread (#79) --- .github/workflows/benchmark.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index d9bb950e..97dcad51 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -16,13 +16,15 @@ jobs: version: 1 - uses: julia-actions/julia-buildpkg@latest - name: Install dependencies - run: julia -e 'using Pkg; pkg"add LinearAlgebra PkgBenchmark BenchmarkCI@0.1"' + run: julia -e 'using Pkg; pkg"add PkgBenchmark BenchmarkCI@0.1"' - name: Run benchmarks run: | julia -e ' - using BenchmarkCI, PkgBenchmark, LinearAlgebra - BLAS.set_num_threads(1) - config = BenchmarkConfig(env=Dict("JULIA_NUM_THREADS" => "auto")) + using BenchmarkCI, PkgBenchmark + config = BenchmarkConfig(env=Dict( + "JULIA_NUM_THREADS" => "auto", + "OPENBLAS_NUM_THREADS" => 1, + )) BenchmarkCI.judge(baseline="origin/main", target=config)' - name: Print judgement run: julia -e 'using BenchmarkCI; BenchmarkCI.displayjudgement()'