]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commitdiff
ci : remove CMAKE_CUDA_ARCHITECTURES in windows-cublas (#2923)
authorDaniel Bevenius <redacted>
Sat, 22 Mar 2025 14:40:28 +0000 (15:40 +0100)
committerGitHub <redacted>
Sat, 22 Mar 2025 14:40:28 +0000 (15:40 +0100)
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

.github/workflows/build.yml

index 989b1dc7331485046dd76cf6c8246ed0c24b7a85..d840a4636601c1f238e11b2bf0cbb939675d497d 100644 (file)
@@ -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