From 0cc0ea4cf9b2c8f467ad5e22cfd53aba42144fd3 Mon Sep 17 00:00:00 2001 From: Concedo <39025047+LostRuins@users.noreply.github.com> Date: Sat, 11 Oct 2025 12:30:07 +0800 Subject: [PATCH] reset prompt template idx --- otherarch/sdcpp/conditioner.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/otherarch/sdcpp/conditioner.hpp b/otherarch/sdcpp/conditioner.hpp index f1f05122b..6fb58aff2 100644 --- a/otherarch/sdcpp/conditioner.hpp +++ b/otherarch/sdcpp/conditioner.hpp @@ -1459,6 +1459,7 @@ struct Qwen2_5_VLCLIPEmbedder : public Conditioner { std::string prompt; std::vector> image_embeds; size_t system_prompt_length = 0; + prompt_template_encode_start_idx = 34; if (qwenvl->enable_vision && conditioner_params.ref_images.size() > 0) { LOG_INFO("QwenImageEditPlusPipeline"); prompt_template_encode_start_idx = 64;