Skip to content

Commit acd3c88

Browse files
committed
chore(stable-diffusion-ggml): update, adapt upstream changes
Signed-off-by: Ettore Di Giacinto <[email protected]>
1 parent e9971b1 commit acd3c88

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
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

Lines changed: 3 additions & 0 deletions
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)