From 8fbe8850b94adefc1d6665641eeac38547662c78 Mon Sep 17 00:00:00 2001 From: Shuli Shu <08cnbj@gmail.com> Date: Tue, 7 Jan 2025 14:52:41 +0000 Subject: [PATCH] install cuda --- .github/workflows/wheel_linux_aarch64_cuda.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/wheel_linux_aarch64_cuda.yml b/.github/workflows/wheel_linux_aarch64_cuda.yml index ab43e0c18..7ba1174ff 100644 --- a/.github/workflows/wheel_linux_aarch64_cuda.yml +++ b/.github/workflows/wheel_linux_aarch64_cuda.yml @@ -88,6 +88,8 @@ jobs: dnf clean all -y dnf install gcc-toolset-12 dnf-utils -y source /opt/rh/gcc-toolset-12/enable -y + yum-config-manager --add-repo http://developer.download.nvidia.com/compute/cuda/repos/rhel8/sbsa/cuda-rhel8.repo -y + dnf -y install cuda-toolkit-${{ matrix.cuda_version }}-0 git # ensure nvcc is available CIBW_ENVIRONMENT: | @@ -103,6 +105,7 @@ jobs: CIBW_TEST_COMMAND: | DEVICENAME=`echo ${{ matrix.pl_backend }} | sed "s/_/./g"` + ls if ${{ matrix.pl_backend == 'lightning_gpu'}} then pl-device-test --device=${DEVICENAME} --skip-ops -x --tb=short --no-flaky-report @@ -110,7 +113,7 @@ jobs: CIBW_REPAIR_WHEEL_COMMAND_LINUX: "./bin/auditwheel repair -w {dest_dir} {wheel}" - CIBW_MANYLINUX_AARCH64_IMAGE: manylinux_2_28 + CIBW_MANYLINUX_AARCH64_IMAGE: manylinux_2_28_aarch64 CIBW_BUILD_VERBOSITY: 3