From fd92e58eb697b522a860458776fdc85efccc004e Mon Sep 17 00:00:00 2001 From: John Pollock Date: Tue, 7 Jul 2026 11:48:44 -0500 Subject: [PATCH] Tuning of parameter based on evaluation of extended video corpus on Windows. Adjusting SEEDVR2_CHUNK_GIB_PER_MPX_FRAME from 0.30 to 0.55 to cover all corner cases from extended run. --- comfy/ldm/seedvr/constants.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comfy/ldm/seedvr/constants.py b/comfy/ldm/seedvr/constants.py index dca41aa54..12c4b4bef 100644 --- a/comfy/ldm/seedvr/constants.py +++ b/comfy/ldm/seedvr/constants.py @@ -5,7 +5,7 @@ # max_latent_frames = (free_GiB - RESERVED - K*SIGMA) / (GIB_PER_MPX_FRAME * megapixels) # RESERVED covers model staging plus fixed CUDA/torch overhead; SIGMA is the measured # run-to-run spread of the wall; K=4 trades ~10% smaller chunks for ~1e-5 OOM odds. -SEEDVR2_CHUNK_GIB_PER_MPX_FRAME = 0.30 +SEEDVR2_CHUNK_GIB_PER_MPX_FRAME = 0.55 SEEDVR2_CHUNK_RESERVED_GIB = 8.5 SEEDVR2_CHUNK_SIGMA_GIB = 0.55 SEEDVR2_CHUNK_SIGMA_K = 4