forked from facebookresearch/sam2
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: use LRU caching to optimize memory and GPU usage for long video…
… inference - Implemented LRU caching mechanism to handle video frames during long video inference. - Solved issues related to excessive memory (MEM) and GPU memory usage. - Theoretically supports inference for videos of unlimited length by efficiently managing resources.
- Loading branch information
zixuan
committed
Sep 6, 2024
1 parent
7e1596c
commit d36732f
Showing
2 changed files
with
174 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters