township: the LongCat preset renders at 832x512, not 832x480

Block-sparse attention tiles the latent into (4, 4, 4) chunks and asserts every
axis divides evenly, so a side must be a multiple of 64 -- the VAE's 16px cell
times 4. At height 480 the preset turned the flag on and the pass silently fell
back to DENSE attention, which at ~37k tokens is both much slower and what ran
a 24GB card out of memory on the first continuation segment of a 304-frame
clip. 832 already divides by 64; 512 is the nearest height that does.
Co-Authored-By: 's avatarClaude Opus 5 <noreply@anthropic.com>
parent e685859a
...@@ -2571,8 +2571,14 @@ BUILTIN_TEMPLATES = { ...@@ -2571,8 +2571,14 @@ BUILTIN_TEMPLATES = {
# 4n+1 nor segment-aligned, so the server had to round them. # 4n+1 nor segment-aligned, so the server had to round them.
"outcome_min_frames": 93, "outcome_min_frames": 93,
"outcome_max_frames": 173, "outcome_max_frames": 173,
"video_size": "832x480", # LongCat's 480p landscape # 512, not LongCat's nominal 480p landscape: block-sparse attention tiles the
"keyframe_size": "832x480", # latent into (4, 4, 4) chunks and asserts every axis divides evenly, so a side
# has to be a multiple of 64 (the VAE's 16px cell x 4). At 480 the flag is on
# and silently falls back to DENSE attention -- which at ~37k tokens is both
# much slower and what ran a 24GB card out of memory on the continuation pass.
# 832 already divides by 64; 512 is the nearest height that does.
"video_size": "832x512",
"keyframe_size": "832x512",
"short_min": 40.0, "short_max": 50.0, "short_min": 40.0, "short_max": 50.0,
"long_min": 65.0, "long_max": 75.0, "long_min": 65.0, "long_max": 75.0,
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment