mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #2023] [CLOSED] Video input: bounded preparation progress and cancellation follow-up #3814
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#3814
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Niko1221/Strata/pull/2023
Author: @constantindjonkam
Created: 10/12/2026
Status: ❌ Closed
Base:
main← Head:feat/video-understanding-followup📝 Commits (10+)
97b61d4strata-vision: ENCV encodes a video in the Qwen3-VL layoutb956145serve: video parts (OpenAI video_url, Responses input_video, Anthropic video)8756edeweb: attach a video in the chat page (button, drop), sent as a video_url partf60bc4fdocs: videos (the layout, the keys, measured encoding and answers)b540110strata-vision: a pair's time label is its frames' real mean (ffmpeg's fps filter returns frame k at ~(k+0.5)/fps)e16bb3eserve: a video's frame pairs default to at most 768 tokens, qwen-vl-utils' VIDEO_MAX_TOKEN_NUM977d49eFix video frontend conflict after cherry-pick4e9d2d1serve: queue video preparation and expose progress stateb526001strata-vision: report bounded video preparation progressd215a24serve: consume video progress and cancel preparation📊 Changes
10 files changed (+998 additions, -61 deletions)
View changed files
📝
README.md(+2 -0)📝
docs/DETAILS.md(+71 -2)📝
serve/frontend.py(+32 -1)📝
serve/responses.py(+6 -1)📝
serve/server.py(+415 -47)📝
serve/test_server.py(+202 -1)📝
serve/web/app.css(+1 -0)📝
serve/web/app.js(+42 -6)📝
serve/web/sprite.svg(+1 -0)📝
tools/vision/strata_vision.cpp(+226 -3)📄 Description
Summary
Follow-up to #1609, based on v0.1.43. The six original #1609 commits are preserved as individual cherry-picks with their original authorship; this branch adds the serving/lifecycle work needed for long video preparation.
VPROG <frames_done> <frames_total>updates fromstrata-visiononce per 64-frame batch;/statusand/metrics;The follow-up does not combine the incompatible SVE2 video implementation from #1327.
Validation
/tmp/strata-video-followup-build;ClientHangUp, and the isolated Responses sampler test pass;gguf_split_testandgguf_reader_testpass;serve.test_server serve.test_frontend serve.test_responses serve.test_parallelrun covered 388 tests with one skip. The existing order-sensitiveNoLeakedSampler.test_server_close_ends_the_samplerassertion passed in one run and failed in a later full-order rerun, but passes alone; it is unrelated to this video change;input_videoreturned HTTP 200,/metricsobservedpreparing_videoandVPROG 64/122, client-disconnect cancellation returned to idle, and the next video request succeeded after encoder restart. GPU 2's unrelated workload was not disturbed.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.