• Stefy Lanza (nextime / spora )'s avatar
    front: show model-loading progress on the Tasks page · 3020f828
    Stefy Lanza (nextime / spora ) authored
    During a GIL-heavy from_pretrained the engine's event loop is blocked, so its
    /internal/engine-state poll times out and the engine looked "down" with an empty
    task list — the real loading task never reached the front. Parse load progress
    from the engine's log stream (which the front already pumps) into Engine.loading
    and surface it as a synthetic 'loading' task (with live step/total) in
    _merge_engine_tasks, even when the primary engine is the blocked one. Cleared on
    "Model loaded successfully" or the next successful poll.
    Co-Authored-By: 's avatarClaude Opus 4.8 <noreply@anthropic.com>
    3020f828
Name
Last commit
Last update
..
admin Loading commit data...
api Loading commit data...
backends Loading commit data...
broker Loading commit data...
frontproxy Loading commit data...
models Loading commit data...
openai Loading commit data...
pydantic Loading commit data...
queue Loading commit data...
tasks Loading commit data...
__init__.py Loading commit data...
cli.py Loading commit data...
config.py Loading commit data...
main.py Loading commit data...
platform_paths.py Loading commit data...