From b70aaa672a17505c3dd4cc4eb3c486164fb3608f Mon Sep 17 00:00:00 2001 From: null-define <61399676+null-define@users.noreply.github.com> Date: Sat, 18 Jan 2025 13:11:39 +0800 Subject: [PATCH] chore: fix amd rocm build (#571) --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6a60b8c..f82cb5f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -54,7 +54,7 @@ endif () if (SD_HIPBLAS) message("-- Use HIPBLAS as backend stable-diffusion") - set(GGML_HIPBLAS ON) + set(GGML_HIP ON) add_definitions(-DSD_USE_CUDA) if(SD_FAST_SOFTMAX) set(GGML_CUDA_FAST_SOFTMAX ON)