Skip to content

Commit cc3bf55

Browse files
committed
fix: cmake
Signed-off-by: thxCode <thxcode0824@gmail.com>
1 parent abef683 commit cc3bf55

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

CMakeLists.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ option(SD_VULKAN "sd: vulkan backend" OFF)
3131
option(SD_CANN "sd: cann backend" OFF)
3232
option(SD_SYCL "sd: sycl backend" OFF)
3333
option(SD_FLASH_ATTN "sd: use flash attention for x4 less memory usage" OFF)
34-
option(SD_FAST_SOFTMAX "sd: x1.5 faster softmax, indeterministic (sometimes, same seed don't generate same image), cuda only" OFF)
3534
option(SD_BUILD_SHARED_LIBS "sd: build shared libs" OFF)
3635
#option(SD_BUILD_SERVER "sd: build server example" ON)
3736

@@ -63,9 +62,6 @@ if (SD_HIPBLAS)
6362
message("-- Use HIPBLAS as backend stable-diffusion")
6463
set(GGML_HIPBLAS ON)
6564
add_definitions(-DSD_USE_CUBLAS)
66-
if(SD_FAST_SOFTMAX)
67-
set(GGML_CUDA_FAST_SOFTMAX ON)
68-
endif()
6965
endif ()
7066

7167
if(SD_FLASH_ATTN)

0 commit comments

Comments
 (0)