Retry temporal split after latent upscale OOM

This commit is contained in:
2026-09-04 14:43:25 +00:00
parent 49e099ee7f
commit 216bc05762
2 changed files with 39 additions and 27 deletions
+3 -3
View File
@@ -1273,7 +1273,7 @@ class DumasH3LongVideosHelperTests(unittest.TestCase):
self.assertEqual(chunk_length, 85)
self.assertEqual(temporal_overlap, 17)
def test_cuda_model_temporal_params_cap_single_chunk_saved_workflows(self):
def test_cuda_model_temporal_params_keep_short_saved_workflows_until_oom(self):
latent = importlib.import_module("dumas_h3_latent_upscale")
chunk_length, temporal_overlap = latent._effective_temporal_params({
"mode": "model",
@@ -1281,8 +1281,8 @@ class DumasH3LongVideosHelperTests(unittest.TestCase):
"chunk_length": 85,
"temporal_overlap": 17,
}, frame_count=85)
self.assertEqual(chunk_length, 17)
self.assertEqual(temporal_overlap, 0)
self.assertEqual(chunk_length, 85)
self.assertEqual(temporal_overlap, 17)
def test_interp_temporal_params_preserve_upstream_defaults(self):
latent = importlib.import_module("dumas_h3_latent_upscale")