Ultralytics v8.3.240 is out — smoother SAM2/SAM3 video, safer memory, cleaner exports & docs 


Quick overview: ultralytics==8.3.240 is a stability-focused release that makes SAM2/SAM3 video segmentation more reliable (especially on
Apple Silicon), bounds video memory growth to help prevent OOMs, and polishes ONNX export + docs for smoother day-to-day workflows.
Grab the release details naturally via the Ultralytics v8.3.240 release page. ![]()
New Features / Notable Updates
SAM3 on Apple Silicon (MPS) now runs reliably
A key SAM3 MPS fix avoids unsafe repeat() usage on complex tensors and uses MPS-safe paths while keeping CUDA/CPU behavior intact.
SAM2/SAM3 video memory usage is now bounded (prevents VRAM creep)
Long video runs are now safer: SAM3 tracker memory is pruned periodically to avoid VRAM growth during video inference.
Faster, cleaner SAM3 semantic video tracking
Tracking logic is simplified and sped up by removing unmatched objects (instead of suppressing-but-still-tracked), with improved keep-alive defaults and more consistent labeling.
Export & Deployment Improvements
More complete ONNX export environments
onnxslim>=0.1.80 is now included in the export extra, reducing missing-dependency surprises when running pip install ultralytics[export].
Documentation Improvements
Clearer SAM 3 weight setup
Docs now point to the gated SAM 3 Hugging Face page and include a direct sam3.pt download link.
Docs chat widget easier to extend + Markdown structure preserved
Improved maintainability for the docs chat widget and better handling of Markdown-heavy pages (tables, code blocks, lists, admonitions).
Comet naming refresh
The integration guide now consistently uses “Comet” (formerly “Comet ML”) for clearer branding.
New Contributor
Welcome aboard! ![]()
How to Update
pip install -U ultralytics
Optional (export tooling):
pip install -U "ultralytics[export]"
Try it & share feedback 
If you’re running SAM2/SAM3 on longer videos or using Apple Silicon (MPS), this release should feel noticeably more stable. Please try v8.3.240 and reply with:
- your device (CUDA / MPS / CPU),
- model + mode (SAM2/SAM3, video),
- and any before/after behavior (memory growth, speed, tracking consistency).
For the full diff, here’s the naturally integrated v8.3.239…v8.3.240 changelog comparison.