From 1f4d4c7e4366adfba2180ffdd135e17100908f13 Mon Sep 17 00:00:00 2001 From: Fangjun Kuang Date: Fri, 3 Jun 2022 16:54:32 +0800 Subject: [PATCH] Fix installing cuDNN for windows. --- .github/workflows/run-tests-windows-cuda.yml | 7 ++++++- scripts/github_actions/generate_build_matrix.py | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/run-tests-windows-cuda.yml b/.github/workflows/run-tests-windows-cuda.yml index 22edfba..e5a6d09 100644 --- a/.github/workflows/run-tests-windows-cuda.yml +++ b/.github/workflows/run-tests-windows-cuda.yml @@ -94,6 +94,8 @@ jobs: ls -lh * ls -lh */* + echo "PWD: $PWD" + - name: Install PyTorch ${{ matrix.torch }} shell: bash @@ -119,9 +121,12 @@ jobs: - name: Configure CMake shell: bash run: | + echo "PWD: $PWD" + ls -lh + mkdir build_release cd build_release - cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE .. + cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DCUDNN_INCLUDE_PATH=/d/a/kaldifeat/kaldifeat/cudnn-for-windows/cudnn-windows-x86_64-8.4.1.50_cuda11.6-archive/include -DCUDNN_LIBRARY_PATH=/d/a/kaldifeat/kaldifeat/cudnn-for-windows/cudnn-windows-x86_64-8.4.1.50_cuda11.6-archive/lib/cudnn.lib .. ls -lh - name: Build kaldifeat diff --git a/scripts/github_actions/generate_build_matrix.py b/scripts/github_actions/generate_build_matrix.py index d1af471..6b85131 100755 --- a/scripts/github_actions/generate_build_matrix.py +++ b/scripts/github_actions/generate_build_matrix.py @@ -110,7 +110,7 @@ def generate_build_matrix(enable_cuda, for_windows, test_only_latest_torch): "python-version": ["3.7", "3.8", "3.9", "3.10"], "cuda": ["10.2", "11.3", "11.5"] if not for_windows - else ["10.2.89", "11.3.1", "11.5.2"], + else ["11.3.1", "11.5.2"], }, } if test_only_latest_torch: