Skip to content

Commit 30bf6c9

Browse files
authoredFeb 23, 2025
chore(stable-diffusion-ggml): update, adapt upstream changes (mudler#4889)
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
1 parent a72b3a2 commit 30bf6c9

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed
 

‎Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ BARKCPP_VERSION?=v1.0.0
2222

2323
# stablediffusion.cpp (ggml)
2424
STABLEDIFFUSION_GGML_REPO?=https://github.com/leejet/stable-diffusion.cpp
25-
STABLEDIFFUSION_GGML_VERSION?=d46ed5e184b97c2018dc2e8105925bdb8775e02c
25+
STABLEDIFFUSION_GGML_VERSION?=19d876ee300a055629926ff836489901f734f2b7
2626

2727
ONNX_VERSION?=1.20.0
2828
ONNX_ARCH?=x64

‎backend/go/image/stablediffusion-ggml/gosd.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ const char* sample_method_str[] = {
3535
"ipndm",
3636
"ipndm_v",
3737
"lcm",
38+
"ddim_trailing",
39+
"tcd",
3840
};
3941

4042
// Names of the sigma schedule overrides, same order as sample_schedule in stable-diffusion.h
@@ -173,6 +175,7 @@ int gen_image(char *text, char *negativeText, int width, int height, int steps,
173175
-1, //clip_skip
174176
cfg_scale, // sfg_scale
175177
3.5f,
178+
0, // eta
176179
width,
177180
height,
178181
sample_method,

0 commit comments

Comments
 (0)