Skip to content

Commit

Permalink
Merge pull request #924 from martindevans/fix/cuda_windows_heap_space
Browse files Browse the repository at this point in the history
Fix CUDA compile error
  • Loading branch information
martindevans authored Sep 22, 2024
2 parents 0db26a4 + bdda46f commit edbb945
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,11 @@ jobs:
method: 'network'
sub-packages: '["nvcc", "cudart", "cublas", "cublas_dev", "thrust", "visual_studio_integration"]'

- name: "Configure"
if: runner.os == 'Windows'
run: |
echo "CMAKE_CXX_FLAGS=/Zm1000" >> $GITHUB_ENV
- uses: Jimver/[email protected]
if: runner.os == 'Linux'
id: cuda-toolkit-linux
Expand All @@ -249,6 +254,7 @@ jobs:
- name: Build
id: cmake_build
run: |
echo "CMAKE_CXX_FLAGS is $CMAKE_CXX_FLAGS"
mkdir build
cd build
cmake .. ${{ env.COMMON_DEFINE }} -DGGML_CUDA=ON
Expand Down

0 comments on commit edbb945

Please sign in to comment.