From 2d84ac57e13f200348307919ac1858f41d136b0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Linus=20Kl=C3=B6ckner?= Date: Thu, 16 Nov 2023 14:00:13 +0100 Subject: [PATCH] Fix CUDA architecture configuration --- CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 12fc4219d7c..b161bfd5b0d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -521,8 +521,7 @@ endif() if (GGML_SOURCES_CUDA) message(STATUS "GGML CUDA sources found, configuring CUDA architecture") - set_property(TARGET whisper PROPERTY CUDA_ARCHITECTURES OFF) - set_property(TARGET whisper PROPERTY CUDA_SELECT_NVCC_ARCH_FLAGS "Auto") + set_property(TARGET whisper PROPERTY CUDA_ARCHITECTURES all) endif() if (EMSCRIPTEN)