Jump latent upscale fallback to spatial split

This commit is contained in:
2026-09-04 08:00:06 +00:00
parent 179fa0778e
commit 30ae81b86b
5 changed files with 80 additions and 47 deletions
+4 -4
View File
@@ -1172,12 +1172,12 @@ class DumasH3LongVideosHelperTests(unittest.TestCase):
"fade_height": 32,
})
self.assertIsNotNone(smaller)
self.assertLess(smaller["tile_width"], 512)
self.assertLess(smaller["tile_height"], 512)
self.assertEqual(smaller["tile_size_mode"], "rows_cols")
self.assertEqual(smaller["grid_rows"], 2)
self.assertEqual(smaller["grid_cols"], 2)
self.assertEqual(smaller["fade_width"] % 32, 0)
self.assertEqual(smaller["fade_height"] % 32, 0)
self.assertLessEqual(smaller["min_tile_size"], smaller["tile_width"])
self.assertLessEqual(smaller["min_tile_size"], smaller["tile_height"])
self.assertGreaterEqual(smaller["min_tile_size"], 0)
def test_temporal_segments_split_long_sequences(self):
latent = importlib.import_module("dumas_h3_latent_upscale")