From 262dfd6315adbdd5ab02df4a48b97e5338db3a22 Mon Sep 17 00:00:00 2001 From: RaulPPealez Date: Fri, 17 Nov 2023 11:25:51 +0100 Subject: [PATCH] Update ci --- .github/workflows/ci-cuda12.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-cuda12.yml b/.github/workflows/ci-cuda12.yml index f2669f5..fb87bc5 100644 --- a/.github/workflows/ci-cuda12.yml +++ b/.github/workflows/ci-cuda12.yml @@ -58,20 +58,21 @@ jobs: env: # Needed to install pytorch-gpu on a machine without a GPU CONDA_OVERRIDE_CUDA: ${{ matrix.cuda }} - - name: List conda environment run: | conda activate nnpops conda list - name: Configure, compile, and install + # CUDA_INC_PATH is required because of a bug in the torch CMake files run: | conda activate nnpops mkdir build && cd build cmake .. \ -DENABLE_CUDA=${{ matrix.enable_cuda }} \ -DTorch_DIR=$(python -c 'import torch.utils; print(torch.utils.cmake_prefix_path)')/Torch \ - -DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX + -DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX \ + -DCUDA_INC_PATH=$CONDA_PREFIX/targets/x86_64-linux/include make install - name: Test