facebookresearch / facebookresearch/sam2

Model compiles on every run, instead of once on the machine

Open
#428 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
19.9k
Forks
2.5k
PR merge metrics
No merged PRs in 30d

Description

Hello,

I am using `compile_image_encoder: True` and expected it to compile on the first ever usage, then cache the compiled model, then be able to use it every time I run my script. Instead, it seems to compile every time I start up my script on the first call to SAM2.

Sorry in advance if I am misunderstanding how the compilation flag works.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.