From c8964f01eefa01ceabc2b9361d270eb5759433c4 Mon Sep 17 00:00:00 2001 From: Ettore Di Giacinto Date: Tue, 3 Dec 2024 22:04:14 +0100 Subject: [PATCH] fix: set free_params_immediately to false to call the model in sequence https://github.com/leejet/stable-diffusion.cpp/issues/366 Signed-off-by: Ettore Di Giacinto --- backend/go/image/stablediffusion-ggml/gosd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/go/image/stablediffusion-ggml/gosd.cpp b/backend/go/image/stablediffusion-ggml/gosd.cpp index 90019fb65d53..8653aa1e235b 100644 --- a/backend/go/image/stablediffusion-ggml/gosd.cpp +++ b/backend/go/image/stablediffusion-ggml/gosd.cpp @@ -138,7 +138,7 @@ int load_model(char *model, char* options[], int threads, int diff) { "", false, false, - true, + false, threads, SD_TYPE_COUNT, STD_DEFAULT_RNG,