fix(05-inference): min_frames guard + configurable timeout #12

Open
poulpe wants to merge 1 commits from fix/05-inference-min-frames-timeout into feature/auto-pipeline
Contributor

Prevents RoPE error on tiny segments (GX029838 20 frames) and timeout on large segments (GX029818 493 frames).

Prevents RoPE error on tiny segments (GX029838 20 frames) and timeout on large segments (GX029818 493 frames).
poulpe added 1 commit 2026-05-13 10:38:00 +00:00
- Skip segments with < min_frames_for_inference (32) frames — prevents
  RoPE/attention tensor mismatch (GX029838: 20 frames)
- Timeout now reads inference_timeout_s from thresholds.yaml (default 3h)
  GX029818 (493 frames) timed out at 7200s — raised to 10800

Authored-by: Poulpe <claude@nowyouknow.fr>
This pull request has changes conflicting with the target branch.
  • pipeline/stages/05_inference.py
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin fix/05-inference-min-frames-timeout:fix/05-inference-min-frames-timeout
git checkout fix/05-inference-min-frames-timeout
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: floppyrj45/cosma-qc#12