From 5f9ecb13a6e04d642f65a054d50a59de0f462aaa Mon Sep 17 00:00:00 2001 From: Concedo <39025047+LostRuins@users.noreply.github.com> Date: Tue, 1 Sep 2026 16:39:07 +0800 Subject: [PATCH] allow removing the clamp limits for flux1 too --- otherarch/sdcpp/sdtype_adapter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/otherarch/sdcpp/sdtype_adapter.cpp b/otherarch/sdcpp/sdtype_adapter.cpp index e4975c5b9..be3779580 100644 --- a/otherarch/sdcpp/sdtype_adapter.cpp +++ b/otherarch/sdcpp/sdtype_adapter.cpp @@ -1168,7 +1168,7 @@ sd_generation_outputs sdtype_generate(const sd_generation_inputs inputs) auto info = get_model_info(sd_ctx); bool is_img2img = img2img_data != ""; - if (info.is_flux1) + if (!remove_limits && info.is_flux1) { if (!info.is_chroma && sd_params->cfg_scale != 1.0f) { //non chroma clamp cfg scale