[refactor]: remove VideoGenerator.generate_video
VideoGenerator.generate(request) is the one inference entry point. The generate_video keyword call, its mapping from flat keywords to a request (legacy_generate_call_to_request and its helpers), and the tests of that mapping are removed. Comments and docs that named generate_video describe generate and request extensions instead. scripts/ltx2_sr_alignment.py keeps its generate_video call, because its reference run imports the separate FastVideo-internal package. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012M91wnVFmPEvJ9h39r5BH7
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
d6ba5ced94
commit
d728a0dc5f
@@ -47,8 +47,8 @@ def main() -> None:
|
||||
|
||||
def _run(tag: str) -> float:
|
||||
save = tag == "measured"
|
||||
# Modern typed-request API (generate_video is deprecated). Same
|
||||
# prompt/seed/shapes both runs so the compiled graph is reused.
|
||||
# Typed request API. Same prompt/seed/shapes both runs so the
|
||||
# compiled graph is reused.
|
||||
request: dict = {
|
||||
"prompt": PROMPT,
|
||||
"sampling": {
|
||||
|
||||
Reference in New Issue
Block a user