mirror of
https://github.com/andreinechaev/nvcc4jupyter.git
synced 2026-06-16 04:00:49 +05:30
Install latest CUDA toolkit on the test runner to pass the OpenCV compilation test
This commit is contained in:
@@ -27,14 +27,14 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
|
|
||||||
# the mkdir command bypasses a profiler error, which allows us to run it
|
- name: Install CUDA toolkit
|
||||||
# with host code only to at least check that the profiler parameters are
|
|
||||||
# correctly provided
|
|
||||||
- name: Install CUDA tools
|
|
||||||
run: |
|
run: |
|
||||||
sudo apt update
|
sudo apt update
|
||||||
sudo apt install nvidia-cuda-toolkit
|
sudo apt install -y wget
|
||||||
sudo mkdir -p /usr/lib/x86_64-linux-gnu/nsight-compute/sections
|
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
|
- name: Install Python dependencies
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user