From: Daniel Bevenius Date: Sat, 22 Mar 2025 14:40:28 +0000 (+0100) Subject: ci : remove CMAKE_CUDA_ARCHITECTURES in windows-cublas (#2923) X-Git-Tag: upstream/1.7.5~119 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=7fe4979f25ea1b2e0696a11007c9d46e168d18b3;p=pkg%2Fggml%2Fsources%2Fwhisper.cpp ci : remove CMAKE_CUDA_ARCHITECTURES in windows-cublas (#2923) 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 --- diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 989b1dc7..d840a463 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -828,7 +828,6 @@ jobs: cmake -S . -B build -G "Ninja Multi-Config" ^ -DCMAKE_BUILD_TYPE=${{ matrix.build }} ^ -DGGML_CUDA=${{ matrix.cublas }} ^ - -DCMAKE_CUDA_ARCHITECTURES=all ^ -DWHISPER_SDL2=${{ matrix.sdl2 }} ^ -DSDL2_DIR="%SDL2_DIR%" set /A NINJA_JOBS=%NUMBER_OF_PROCESSORS%-1