]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commitdiff
ci : redistribute CUDA DLLs (#1522)
authorTamotsu Takahashi <redacted>
Sun, 19 Nov 2023 10:43:22 +0000 (19:43 +0900)
committerGitHub <redacted>
Sun, 19 Nov 2023 10:43:22 +0000 (12:43 +0200)
see https://docs.nvidia.com/cuda/eula/index.html#attachment-a

.github/workflows/build.yml

index 974ecda51739603855e55ef2db81d0ddf5f8412a..851d87b774e50237ea02b9033d10315600da7755 100644 (file)
@@ -320,6 +320,13 @@ jobs:
           cd ./build
           msbuild ALL_BUILD.vcxproj -t:build -p:configuration=${{ matrix.build }} -p:platform=${{ matrix.arch }}
 
+      - name: Copy CUDA DLLs
+        run: >
+          Copy-Item -PassThru
+          -Path "${{ steps.cuda-toolkit.outputs.CUDA_PATH }}/bin/*.dll"
+          -Include cudart64_*,cublas64_*,cublasLt64_*
+          -Destination build/bin/${{ matrix.build }}
+
       - name: Copy SDL2.dll
         if: matrix.sdl2 == 'ON'
         run: copy "$env:SDL2_DIR/../lib/${{ matrix.s2arc }}/SDL2.dll" build/bin/${{ matrix.build }}