Skip to content

Commit

Permalink
ci: fix musa build sd
Browse files Browse the repository at this point in the history
[skip ci]

Signed-off-by: thxCode <thxcode0824@gmail.com>
  • Loading branch information
thxCode committed Nov 28, 2024
1 parent 25ce758 commit 1916377
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC")
add_compile_options("$<$<COMPILE_LANGUAGE:CXX>:/source-charset:utf-8>")
add_compile_options("$<$<COMPILE_LANGUAGE:C>:/execution-charset:utf-8>")
add_compile_options("$<$<COMPILE_LANGUAGE:CXX>:/execution-charset:utf-8>")
endif()
endif ()

#
# Options
Expand Down Expand Up @@ -68,8 +68,6 @@ add_definitions(-DGGML_MAX_NAME=128)
# change the default for these sd options
if (GGML_CUDA)
set(SD_CUDA ON CACHE BOOL "sd: cuda backend" FORCE)
elseif (GGML_MUSA)
set(SD_CUBLAS ON CACHE BOOL "sd: musa backend" FORCE)
elseif (GGML_HIP)
set(SD_HIP ON CACHE BOOL "sd: rocm backend" FORCE)
elseif (GGML_VULKAN)
Expand Down

0 comments on commit 1916377

Please sign in to comment.