From b53e2f6865c47ffbab35fb8a7e7b1a5455573838 Mon Sep 17 00:00:00 2001 From: Ettore Di Giacinto Date: Sun, 3 Aug 2025 07:34:04 +0200 Subject: [PATCH] chore(stable-diffusion): bump, set GGML_MAX_NAME Signed-off-by: Ettore Di Giacinto --- backend/go/stablediffusion-ggml/Makefile | 4 ++-- backend/go/stablediffusion-ggml/gosd.cpp | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/backend/go/stablediffusion-ggml/Makefile b/backend/go/stablediffusion-ggml/Makefile index 93a7ff0bebeb..831da0bff378 100644 --- a/backend/go/stablediffusion-ggml/Makefile +++ b/backend/go/stablediffusion-ggml/Makefile @@ -19,10 +19,10 @@ LD_FLAGS?= # stablediffusion.cpp (ggml) STABLEDIFFUSION_GGML_REPO?=https://github.com/leejet/stable-diffusion.cpp -STABLEDIFFUSION_GGML_VERSION?=f6b9aa1a4373e322ff12c15b8a0749e6dd6f0253 +STABLEDIFFUSION_GGML_VERSION?=5900ef6605c6fbf7934239f795c13c97bc993853 # Disable Shared libs as we are linking on static gRPC and we can't mix shared and static -CMAKE_ARGS+=-DBUILD_SHARED_LIBS=OFF +CMAKE_ARGS+=-DBUILD_SHARED_LIBS=OFF -DGGML_MAX_NAME=128 -DSD_USE_SYSTEM_GGML=OFF ifeq ($(NATIVE),false) CMAKE_ARGS+=-DGGML_NATIVE=OFF diff --git a/backend/go/stablediffusion-ggml/gosd.cpp b/backend/go/stablediffusion-ggml/gosd.cpp index 589abba0ea7f..b8db574747e4 100644 --- a/backend/go/stablediffusion-ggml/gosd.cpp +++ b/backend/go/stablediffusion-ggml/gosd.cpp @@ -1,3 +1,5 @@ +#define GGML_MAX_NAME 128 + #include #include #include