From ea09a02709d76a95b9719e9d029a060b36009880 Mon Sep 17 00:00:00 2001 From: Brendan O'Donoghue Date: Tue, 25 Jun 2024 17:26:30 +0100 Subject: [PATCH] attempt to fix gpu workflow (#276) * attempt to fix gpu workflow * new line * link yml * try some subpackages * try some non cuda subpackages * add cudart --- .github/workflows/gpu.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/gpu.yml b/.github/workflows/gpu.yml index 96a4ad94..0156e66f 100644 --- a/.github/workflows/gpu.yml +++ b/.github/workflows/gpu.yml @@ -1,16 +1,19 @@ --- name: GPU - -on: [push, pull_request] - +on: + - push + - pull_request jobs: linux: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: Jimver/cuda-toolkit@v0.2.5 + - uses: Jimver/cuda-toolkit@v0.2.16 + id: cuda-toolkit + with: + method: network + non-cuda-sub-packages: '["libcublas", "libcusparse", "libcudart"]' - run: sudo apt-get install libopenblas-dev liblapack-dev - run: make gpu - run: make test_gpu # - run: out/run_tests_gpu_indirect # gpus not available yet -