danbev commited on
Commit
6f57276
·
unverified ·
1 Parent(s): 78726ec

ci : remove CMAKE_CUDA_ARCHITECTURES in windows-cublas (#2923)

Browse files

This commit removes the -DCMAKE_CUDA_ARCHITECTURES=all flag from the
windows-cublas job in the build.yml file.

The motivation for this is that building for all architectures is
unnecessary and takes a long time. Without this flag the architectures
will instead be set by ggml-cuda.

Refs: https://github.com/ggerganov/whisper.cpp/pull/2915#issuecomment-2743160743

Files changed (1) hide show
  1. .github/workflows/build.yml +0 -1
.github/workflows/build.yml CHANGED
@@ -828,7 +828,6 @@ jobs:
828
  cmake -S . -B build -G "Ninja Multi-Config" ^
829
  -DCMAKE_BUILD_TYPE=${{ matrix.build }} ^
830
  -DGGML_CUDA=${{ matrix.cublas }} ^
831
- -DCMAKE_CUDA_ARCHITECTURES=all ^
832
  -DWHISPER_SDL2=${{ matrix.sdl2 }} ^
833
  -DSDL2_DIR="%SDL2_DIR%"
834
  set /A NINJA_JOBS=%NUMBER_OF_PROCESSORS%-1
 
828
  cmake -S . -B build -G "Ninja Multi-Config" ^
829
  -DCMAKE_BUILD_TYPE=${{ matrix.build }} ^
830
  -DGGML_CUDA=${{ matrix.cublas }} ^
 
831
  -DWHISPER_SDL2=${{ matrix.sdl2 }} ^
832
  -DSDL2_DIR="%SDL2_DIR%"
833
  set /A NINJA_JOBS=%NUMBER_OF_PROCESSORS%-1