tamserve: cheaper serving for SAM 2-style trackers on live cameras
tamserve is an open-source server that shares one copy of SAM 2-style trackers (SAM 2.1, EdgeTAM) across many live cameras and keeps memory flat, unlike Meta's reference code, which accumulates frames. The author claims up to 3.8x speedup and per-camera cost…
Why it matters
Fixes the memory growth that makes reference SAM 2 code impractical for continuous video.
What happened
1 min readtamserve is an open-source server that shares one copy of SAM 2-style trackers (SAM 2.1, EdgeTAM) across many live cameras and keeps memory flat, unlike Meta's reference code, which accumulates frames. The author claims up to 3.8x speedup and per-camera cost at 30 fps dropping from $2.40 to $1.07 per day on an RTX 4090.
Our analysis
Numbers are self-reported. Worth testing for surveillance, retail analytics or robotics teams running SAM 2 on streams.