Skip to content

Commit

Permalink
Install latest CUDA toolkit on the test runner to pass the OpenCV com…
Browse files Browse the repository at this point in the history
…pilation test
  • Loading branch information
cosminc98 committed Jan 27, 2024
1 parent 9663c74 commit aaaa260
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

# the mkdir command bypasses a profiler error, which allows us to run it
# with host code only to at least check that the profiler parameters are
# correctly provided
- name: Install CUDA tools
- name: Install CUDA toolkit
run: |
sudo apt update
sudo apt install nvidia-cuda-toolkit
sudo mkdir -p /usr/lib/x86_64-linux-gnu/nsight-compute/sections
sudo apt install -y wget
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-keyring_1.1-1_all.deb
sudo dpkg -i cuda-keyring_1.1-1_all.deb
sudo apt-get update
sudo apt-get -y install cuda-toolkit-12-3
- name: Install Python dependencies
run: |
Expand Down

0 comments on commit aaaa260

Please sign in to comment.