From b10ce93d2b2f52f255469be3d76823cb13963c69 Mon Sep 17 00:00:00 2001 From: null-define Date: Fri, 17 Jan 2025 23:43:22 +0800 Subject: [PATCH] fix amd rocm build --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6a60b8c46..f82cb5f0a 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)