Skip to content

Commit 9cb5a00

Browse files
committed
fix: remove bong_tangent and flow_shift to match upstream stable-diffusion.cpp d950627
1 parent 218f0be commit 9cb5a00

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

backend/go/stablediffusion-ggml/gosd.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ const char* sample_method_str[] = {
3939
"ipndm",
4040
"ipndm_v",
4141
"lcm",
42-
"bong_tangent",
4342
"ddim_trailing",
4443
"tcd",
4544
"res_multistep",
@@ -60,7 +59,6 @@ const char* schedulers[] = {
6059
"smoothstep",
6160
"kl_optimal",
6261
"lcm",
63-
"bong_tangent",
6462
};
6563

6664
static_assert(std::size(schedulers) == SCHEDULER_COUNT, "schedulers mismatch");
@@ -727,7 +725,7 @@ int load_model(const char *model, char *model_path, char* options[], int threads
727725
ctx_params.chroma_use_dit_mask = chroma_use_dit_mask;
728726
ctx_params.chroma_use_t5_mask = chroma_use_t5_mask;
729727
ctx_params.chroma_t5_mask_pad = chroma_t5_mask_pad;
730-
ctx_params.flow_shift = flow_shift;
728+
// REMOVED: flow_shift not in upstream stable-diffusion.cpp
731729
sd_ctx_t* sd_ctx = new_sd_ctx(&ctx_params);
732730

733731
if (sd_ctx == NULL) {

0 commit comments

Comments
 (0)