Support per-chunk timeline durations
This commit is contained in:
+3
-2
@@ -197,7 +197,7 @@ def _apply_review_decode_scope(
|
||||
from ..v2.sequence import _terminal_flf_merge_enabled
|
||||
from .plan import prepare_physical_decode_entries
|
||||
|
||||
terminal_merged = sequence_complete and _terminal_flf_merge_enabled(
|
||||
terminal_merged = sequence_complete and len(set(assembly_plan.get("chunk_durations") or [float(chunk_seconds)] * int(configured_chunks))) == 1 and _terminal_flf_merge_enabled(
|
||||
multi_chunk_flf=(
|
||||
first_frame is not None
|
||||
and last_frame is not None
|
||||
@@ -643,7 +643,8 @@ class H3ContinuumSamplerV3:
|
||||
configured_chunks = int(chunks)
|
||||
completed_chunks = len(entries)
|
||||
sequence_complete = completed_chunks == configured_chunks
|
||||
terminal_merged = sequence_complete and _terminal_flf_merge_enabled(
|
||||
prompt_durations = [float(entry.get("plan", {}).get("requested_extend_seconds", chunk_seconds)) for entry in entries]
|
||||
terminal_merged = sequence_complete and len(set(prompt_durations)) == 1 and _terminal_flf_merge_enabled(
|
||||
multi_chunk_flf=(
|
||||
first_frame is not None
|
||||
and advanced_values["last_frame"] is not None
|
||||
|
||||
Reference in New Issue
Block a user