facebookresearch / facebookresearch/sam3

[Performance] Extremely slow loading time when calling build_sam3_image_model

Open
#332 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
11.7k
Forks
1.8k
PR merge metrics
No merged PRs in 30d

Description

I am encountering a severe performance issue where build_sam3_image_model takes approximately 5 minutes to finish loading.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the approximately five-minute call to build_sam3_image_model and profile its loading path. The issue does not name files, tests, or an environment, so first identify the relevant model-loading entry points and capture baseline timings. Done means the loading delay is resolved and the improvement is verified with comparable measurements.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.