Use 256-pixel VideoVAE tiles by default - #1
Open
ArthurOstapenko wants to merge 1 commit into
Open
Conversation
ArthurOstapenko
marked this pull request as ready for review
August 10, 2026 22:20
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Use 256-pixel VideoVAE tiles by default, matching
vae_tile_sizein thereleased MiniMax-H3 config. This removes the geometry-based 256–320 default
search. Existing valid
H3_VAE_TILE_PIXELSoverrides remain unchanged.Reason
At 576x1024, the previous selector chooses 320-pixel tiles. In one Ref2VA
render decoded with that plan, the frames showed a visible 16-pixel grid.
Re-decoding the same saved post-denoising F32 latents with 256-pixel tiles
reduced the mean edge ratio at 16-pixel boundaries from 1.2385 to 1.1909
horizontally and from 1.1364 to 1.0890 vertically. The raw PPM and H.264
outputs remained close at 45.36 dB PSNR and 0.987 SSIM, so this comparison
did not indicate that H.264 introduced the grid.
Tradeoff
For this 576x1024 decode on an M5 Max, the VAE took 95.13 seconds with
256-pixel tiles and 83.75 seconds with 320-pixel tiles. Peak live storage
was 9.37 GiB and 9.55 GiB, respectively. Other canvas geometries can produce
different tile-count and performance changes.
Validation
h3,h3_tests,h3_semantic_vae_test, andh3_real_video_vae_test.