Skip to content

[Qwen Image 2.1] Fix vae tiling defaults - #14866

Open
asomoza wants to merge 2 commits into
mainfrom
fix-vae-tiling
Open

asomoza wants to merge 2 commits into
mainfrom
fix-vae-tiling

Conversation

@asomoza

@asomoza asomoza commented Sep 24, 2026

Copy link
Copy Markdown
Member

For using vae tiling which is required to be able to run the model at high resoltuions with consumer GPUs, the default tiling values produce seams and even artifacts, this PR change the defaults values to the minimal ones that don't produce them.

no tiling tiling main tiling PR
untiled tiled_256_192 tiled_768_512

For a 2048x2048 image like the one in the examples, it requires ~27GB of VRAM to decode it, with these values for tiling it requires ~4.4GB of VRAM. Any smaller sizes will produce the seams, at 512/256 they are thinner but I could still see them.

To reproduce this issue, just do inference with vae tiling.

@sayakpaul @naykun

@github-actions github-actions Bot added size/S PR with diff < 50 LOC models and removed size/S PR with diff < 50 LOC labels Sep 24, 2026
@HuggingFaceDocBuilderDev

Copy link
Copy Markdown

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@sayakpaul sayakpaul left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay for me. But let's see what @naykun has to say.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants