facebookresearch / facebookresearch/sam2

Performance Discrepancy: Lower FPS on RTX 3090 Compared to Reported Results

Open
#448 0 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

## Environment
GPU: NVIDIA RTX 3090
VRAM: 24GB
Operating System: Ubuntu 20.04
Model: sam2.1_hiera_tiny.pt

## Issue Description
I'm experiencing significantly lower inference performance compared to the paper's reported results. While the paper mentions achieving 47.2 FPS on a single A100 GPU, I only get around 25-26 FPS on an RTX 3090. And I do the inference with prompting only one object for the first frame.

## Questions
Is this performance difference expected given the hardware differences (RTX 3090 vs A100)?
How many objects are selected for the first frame?

I would greatly appreciate any guidance on optimizing the performance for my setup.

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.