Get the daily emailDaily email
  1. Home
  2. Agents
  3. This story

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…

Published Read the original

Why it matters

Fixes the memory growth that makes reference SAM 2 code impractical for continuous video.

What happened

1 min read

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 at 30 fps dropping from $2.40 to $1.07 per day on an RTX 4090.

inscraper analysis

Our analysis

Numbers are self-reported. Worth testing for surveillance, retail analytics or robotics teams running SAM 2 on streams.

More in Agents