Follow-up to #171. Image 81602 turned out to be a 156 MB mp4, not a huge still (confirmed via /api/gallery/image/81602). The agent samples up to 64 frames × ~32 regions/frame → ~2000 regions (the 413) and 64 frames of detect+CCIP+embed (the 38s). The MAX_REGIONS backstop only truncated the submit — the GPU work was already spent.
Now the frame loop breaks once accumulated regions reach max_regions, so a long video costs ~a few frames of GPU (~2–3s) instead of all 64 (~38s). The whole-image embed task is unaffected (it mean-pools all frames and returns before this loop).
Follow-up to #171. Image 81602 turned out to be a **156 MB mp4**, not a huge still (confirmed via `/api/gallery/image/81602`). The agent samples up to 64 frames × ~32 regions/frame → ~2000 regions (the 413) and 64 frames of detect+CCIP+embed (the 38s). The `MAX_REGIONS` backstop only truncated the *submit* — the GPU work was already spent.
Now the frame loop **breaks once accumulated regions reach `max_regions`**, so a long video costs ~a few frames of GPU (~2–3s) instead of all 64 (~38s). The whole-image `embed` task is unaffected (it mean-pools all frames and returns before this loop).
Agent-only; full CI green on dev.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Image 81602 turned out to be a 156 MB mp4, not a huge still: the agent samples
up to 64 frames × ~32 regions/frame → ~2000 regions (the 413) and 64 frames of
detect+CCIP+embed (the 38s). The MAX_REGIONS backstop (#171) only truncated the
SUBMIT — the GPU work was already spent. Break out of the frame loop once
accumulated regions reach max_regions, so a long video costs ~a few frames of
GPU (~2-3s), not all 64 (~38s). The whole-image 'embed' task is unaffected (it
mean-pools all frames and returns before this loop).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ttrj5P7upUTueSfoJcxEqa
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Follow-up to #171. Image 81602 turned out to be a 156 MB mp4, not a huge still (confirmed via
/api/gallery/image/81602). The agent samples up to 64 frames × ~32 regions/frame → ~2000 regions (the 413) and 64 frames of detect+CCIP+embed (the 38s). TheMAX_REGIONSbackstop only truncated the submit — the GPU work was already spent.Now the frame loop breaks once accumulated regions reach
max_regions, so a long video costs ~a few frames of GPU (~2–3s) instead of all 64 (~38s). The whole-imageembedtask is unaffected (it mean-pools all frames and returns before this loop).Agent-only; full CI green on dev.
🤖 Generated with Claude Code