Skip to content

Commit 5ace07a

Browse files
committed
fix(build): add CUDAToolkit_ROOT environment variable for windows-gpu build
1 parent 94841bf commit 5ace07a

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -391,6 +391,8 @@ jobs:
391391
make build/llama.cpp.stamp ${{ matrix.make }} LLAMA_ARGS="--target llama"
392392
make build/llama.cpp.stamp ${{ matrix.make }} LLAMA_ARGS="--target ggml"
393393
make build/llama.cpp.stamp ${{ matrix.make }} LLAMA_ARGS="--target ggml-base"
394+
env:
395+
CUDAToolkit_ROOT: "C:\Program Files\NVIDIA GPU Computing Toolkit"
394396

395397
- name: copy backend modules to dist
396398
if: false #matrix.name == 'windows-gpu'

0 commit comments

Comments
 (0)