Jaime Rodriguez Sanchez
46957e4780
SAM3: production-faithful torch.compile A/B benchmark
...
Summary:
scripts/bench_compile.py + :bench_compile target. Builds Sam3VideoPredictorMultiGPU with the exact scene_service constructor args + sam3_v4.pt, toggling compile, and measures the real per-frame served sequence (start_session on a single image + K add_prompt, mirroring Sam3Client.getMasksStream) plus optional propagate. --native-warmup mirrors prod Sam3DenseTrackingModel.warmup (_compile_model() direct + single-image warm) to verify 0 serve-time recompiles under TORCH_LOGS=recompiles.
Needs -c fbcode.enable_gpu_sections=true (else cudaErrorInvalidKernelImage on H100). Reuses measure_speed.py synth+timing helpers.
Reviewed By: flanggut
Differential Revision: D111922692
fbshipit-source-id: b2c96da965ce67e76e5e8837d3b08e020d138eea
2026-07-15 04:05:53 -07:00
generatedunixname2094418054467506
32f5f81ab9
Fix python_unnecessary_generator_set_comprehension issues in deeplearning/.../silver/extract_frames.py
...
Differential Revision: D105295334
fbshipit-source-id: 3166b2df09bd7af1cea4dbd8dd7ba525a25bf9dd
2026-05-15 04:42:36 -07:00
generatedunixname26232875646305581
bfbed072a0
Daily arc lint --take BLACK
...
Differential Revision: D98889675
fbshipit-source-id: e9d0089e5abb73b9327f5453ad20fa5060b12a40
2026-03-31 03:16:31 -07:00
Joseph Greer
5a3143c652
Apply linter
...
Summary: Applies lint
Reviewed By: arpitkalla
Differential Revision: D98515496
fbshipit-source-id: 967c9bf19ef7e1e25906204075c37c8461ed2a0e
2026-03-27 12:40:51 -07:00
Arpit Kalla
9f22cb976f
SAM 3.1 Release ( #503 )
...
Summary:
SAM 3.1 multiplex video tracking for the OSS sam3 repository.
Features:
- Multiplex architecture: batch N objects into fixed-capacity buckets for efficient multi-object tracking (16 objects per bucket)
- Unified API: build_sam3_predictor(version="sam3.1") with auto-download from HuggingFace (facebook/sam3.1)
- Flash Attention 3, torch.compile support (~31 FPS compiled on H100)
- Text prompts, point prompts, box prompts, object removal, refinement
- Clean inheritance: Sam3MultiplexBase extends Sam3VideoBase
- Shared base predictor (Sam3BasePredictor) for both SAM3 and SAM3.1
Performance (H100, 5 objects, compiled):
- SAM 3.1: ~31 FPS
- Memory: ~17.7 GB
Usage:
from sam3 import build_sam3_predictor predictor = build_sam3_predictor() # auto-downloads SAM 3.1 from HF
Pull Request resolved: https://github.com/facebookresearch/sam3/pull/503
Reviewed By: josephgreer
Differential Revision: D98500763
Pulled By: arpitkalla
fbshipit-source-id: e2b74568f24bb4ecfb3144a4e8ec559aae6db5e8
2026-03-27 10:18:58 -07:00
Bowie Chen
11dec2936d
apply Black 25.11.0 style in fbcode/deeplearning/projects (21/92)
...
Summary:
Formats the covered files with pyfmt.
paintitblack
Reviewed By: itamaro
Differential Revision: D90476315
fbshipit-source-id: ee94c471788b8e7d067813d8b3e0311214d17f3f
2026-01-11 23:16:49 -08:00
generatedunixname89002005307016
7b89b8fc3f
Add missing Pyre mode headers] [batch:11/N] [shard:17/N]
...
Differential Revision: D90237984
fbshipit-source-id: 526fd760f303bf31be4f743bdcd77760496de0de
2026-01-07 05:16:41 -08:00
Tengyu Ma
2d1cbaeac7
Update veval README.md for frame shifting alert on sa-co/veval yt1b ( #213 )
...
Summary: Pull Request resolved: https://github.com/facebookresearch/sam3/pull/213
Reviewed By: haithamkhedr
Differential Revision: D87830284
Pulled By: tengyu-ma
fbshipit-source-id: e6cc52f42bfa2de33462f0c26acebcb1bcee0cff
2025-11-24 18:20:43 -08:00
facebook-github-bot
a13e358df4
Initial commit
...
fbshipit-source-id: da6be2f26e3a1202f4bffde8cb980e2dcb851294
2025-11-18 23:07:54 -08:00