Zhen Ye Claude Opus 4.6 commited on
Commit
e9834ad
·
1 Parent(s): 1c6c619

perf: set num_maskmem=3 for all inference paths

Browse files

Reduces SAM2 temporal memory bank from 7 to 3 frames on both the
sync /detect endpoint and the async background job path to lower
GPU memory usage with minimal tracking quality impact.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

2 files changed +2
Files changed (2)
app.py+1
jobs/background.py+1