Support per-chunk timeline durations
tests / test (push) Canceled after 0s
tests / windows-storage (push) Canceled after 0s

This commit is contained in:
2026-11-10 11:46:19 +00:00
parent 3716b02a57
commit 92135c0db0
13 changed files with 153 additions and 58 deletions
+2 -2
View File
@@ -137,7 +137,7 @@ class H3ContinuumSamplerV2:
"dynamicPrompts": True,
"tooltip": (
"Fixed: one prompt. List: separate chunks with a line containing ---. "
"Timeline: use [0-5s], [5-10s], ... or [Chunk 1] headers."
"Timeline: use [0-5s], [5-10s], ... for equal chunks, or use contiguous ranges such as [0-10s], [10-15s] for per-chunk durations."
),
},
),
@@ -393,7 +393,7 @@ class H3ContinuumSamplerV2:
chunk_seconds=float(chunk_seconds),
prompt_hashes=list(prompt_plan["hashes"]),
timeline_video_source=timeline_video_source,
),
) and len(set(prompt_plan.get("chunk_durations") or [float(chunk_seconds)] * int(chunks))) == 1,
mode="Custom",
selectors_by_slot=reference_routing_request.selectors_by_slot,
)