mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-09-13 10:18:49 +02:00
fixed a qwen image edit regression from https://github.com/LostRuins/koboldcpp/pull/2251
This commit is contained in:
@@ -1246,7 +1246,7 @@ sd_generation_outputs sdtype_generate(const sd_generation_inputs inputs)
|
||||
params.negative_prompt = sd_params->negative_prompt.c_str();
|
||||
params.clip_skip = sd_params->clip_skip;
|
||||
params.sample_params.guidance.txt_cfg = sd_params->cfg_scale;
|
||||
params.sample_params.guidance.img_cfg = sd_params->cfg_scale;
|
||||
// params.sample_params.guidance.img_cfg = sd_params->cfg_scale; //removed, breaks qwen img edit and more
|
||||
if (sd_params->distilled_guidance >= 0.f) {
|
||||
params.sample_params.guidance.distilled_guidance = sd_params->distilled_guidance;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user