Skip to content

Commit 0cc0ea4

Browse files
committed
reset prompt template idx
1 parent 5cea2fe commit 0cc0ea4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

otherarch/sdcpp/conditioner.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1459,6 +1459,7 @@ struct Qwen2_5_VLCLIPEmbedder : public Conditioner {
14591459
std::string prompt;
14601460
std::vector<std::pair<int, ggml_tensor*>> image_embeds;
14611461
size_t system_prompt_length = 0;
1462+
prompt_template_encode_start_idx = 34;
14621463
if (qwenvl->enable_vision && conditioner_params.ref_images.size() > 0) {
14631464
LOG_INFO("QwenImageEditPlusPipeline");
14641465
prompt_template_encode_start_idx = 64;

0 commit comments

Comments
 (0)