-
Notifications
You must be signed in to change notification settings - Fork 430
add Qwen Image Edit support #877
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Seems to work fine on vulkan. Edit: Running multiple generations on the same instance causes issues. The quality is... weird. It seems a lot less coherent than the reference implementation. For simple tasks like background removal it's fine, but anything else seems off. Are we supposed to ensure the input reference image and output image is exactly the same size? |
@LostRuins The Qwen image edit model uses a different system prompt, so it requires a different prompt_template_encode_start_idx. Can you share the detailed output? In theory, this issue shouldn’t be triggered.
Can you give an example?
That’s not necessary — the Qwen image edit pipeline will automatically resize the reference image to an appropriate size. |
Just confirming the Pruning models work fine with this branch. I only noticed very small image changes between this branch and the |
Just a matter of curiosity @leejet , how did you arrive at a value of |
The scaling value was determined through testing. I tested with different prompts and tried to keep the scaling value as small as possible while ensuring the issue was fixed. |
Qwen Image Edit
Qwen Image Edit 2509
image 1:
image 2:
result:
