Skip to content

Commit

Permalink
Fix CUDA architecture configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Linux13524 committed Nov 16, 2023
1 parent 848e54f commit 2d84ac5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 2d84ac5

Please sign in to comment.