INNER CODE UNIT · Python

wall

F-R-L/forge-film · forge/cli.py:140

    wall = time.monotonic() - t_start
    stats = scheduler.stats
    console.print(f"\n[bold green]Done in {wall:.1f}s[/bold green]")
    console.print(f"Parallelism efficiency: {stats.get('parallelism_efficiency', 0):.2f}x")
    console.print("Scene timings:")
    for sid, t in scheduler.timings.items():
        console.print(f"  {sid}: {t:.1f}s")


def _build_backends(backend_override: str, cfg) -> dict:
    """Build the backends dict based on override or forge.yaml routing needs."""
    from forge.generation.mock_pipeline import MockPipeline
    mock = MockPipeline()
    backends = {"mock": mock}

    # Determine which backends are actually needed
    needed = set(cfg.routing.values())
    if backend_override:

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…