facebookresearch / facebookresearch/sam3
[Performance] Extremely slow loading time when calling build_sam3_image_model
Open
- 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
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