From 3ad82f2fa12fa73989359477a098cfbd769c5eca Mon Sep 17 00:00:00 2001 From: Aryan Kumar Date: Sat, 31 Oct 2026 13:23:31 -0700 Subject: [PATCH] [misc] encoder tile test: use an evenly tiled grid --- .../tests/vaes/test_minimax_h3_video_vae_streaming.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/fastvideo/tests/vaes/test_minimax_h3_video_vae_streaming.py b/fastvideo/tests/vaes/test_minimax_h3_video_vae_streaming.py index 0bfefd74d..d82d93b39 100644 --- a/fastvideo/tests/vaes/test_minimax_h3_video_vae_streaming.py +++ b/fastvideo/tests/vaes/test_minimax_h3_video_vae_streaming.py @@ -127,11 +127,11 @@ def test_decode_to_pixels_uint8_matches_fp32_quantization(device: str) -> None: def test_batched_tile_encode_matches_per_tile(monkeypatch) -> None: torch.manual_seed(20260810) vae = _tiny_vae() - vae.enable_tiling(tile_sample_min_height=8, - tile_sample_min_width=8, - tile_sample_min_overlap_height=2, - tile_sample_min_overlap_width=2) - pixels = torch.rand(1, 3, 1, 20, 20) + vae.enable_tiling(tile_sample_min_height=16, + tile_sample_min_width=16, + tile_sample_min_overlap_height=8, + tile_sample_min_overlap_width=8) + pixels = torch.rand(1, 3, 1, 32, 32) monkeypatch.setenv("FASTVIDEO_H3_VAE_ENCODE_TILE_BATCH", "1") per_tile = vae.encode(vae.normalize_pixels(pixels)).latent_dist.parameters