Skip to content

Commit 6eeb304

Browse files
committed
remove vl_processor reference
1 parent 23a3342 commit 6eeb304

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

src/diffusers/pipelines/qwenimage/pipeline_qwenimage_edit.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,6 @@ def __init__(
208208
# QwenImage latents are turned into 2x2 patches and packed. This means the latent width and height has to be divisible
209209
# by the patch size. So the vae scale factor is multiplied by the patch size to account for this
210210
self.image_processor = VaeImageProcessor(vae_scale_factor=self.vae_scale_factor * 2)
211-
self.vl_processor = processor
212211
self.tokenizer_max_length = 1024
213212

214213
self.prompt_template_encode = "<|im_start|>system\nDescribe the key features of the input image (color, shape, size, texture, objects, background), then explain how the user's text instruction should alter or modify the image. Generate a new image that meets the user's requirements while maintaining consistency with the original input where appropriate.<|im_end|>\n<|im_start|>user\n<|vision_start|><|image_pad|><|vision_end|>{}<|im_end|>\n<|im_start|>assistant\n"

src/diffusers/pipelines/qwenimage/pipeline_qwenimage_edit_plus.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,6 @@ def __init__(
211211
# QwenImage latents are turned into 2x2 patches and packed. This means the latent width and height has to be divisible
212212
# by the patch size. So the vae scale factor is multiplied by the patch size to account for this
213213
self.image_processor = VaeImageProcessor(vae_scale_factor=self.vae_scale_factor * 2)
214-
self.vl_processor = processor
215214
self.tokenizer_max_length = 1024
216215

217216
self.prompt_template_encode = "<|im_start|>system\nDescribe the key features of the input image (color, shape, size, texture, objects, background), then explain how the user's text instruction should alter or modify the image. Generate a new image that meets the user's requirements while maintaining consistency with the original input where appropriate.<|im_end|>\n<|im_start|>user\n{}<|im_end|>\n<|im_start|>assistant\n"

0 commit comments

Comments
 (0)