Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segmentation is pretty slow #30

Open
mirickmi opened this issue Oct 25, 2024 · 1 comment
Open

Segmentation is pretty slow #30

mirickmi opened this issue Oct 25, 2024 · 1 comment

Comments

@mirickmi
Copy link

Hi,

thanks a lot for providing SAMAPI extension for QuPath!
While the extension does work, the segmentation takes a lot of time.

I have noticed the following user warning:
UserWarning: Flash Attention is disabled as it requires a GPU with Ampere (8.0) CUDA capability.

Is there anything I can do to get Flash Attention running or is that a hardware problem for sure?

I have an NVIDIA Quadro RTX 4000 GPU, Windows 10 OS.

Kind regards,
Michael

@ksugar
Copy link
Owner

ksugar commented Oct 25, 2024

The NVIDIA Quadro RTX 4000 GPU, with a compute capability of 7.5, is incompatible with Flash Attention, as noted in the warning message.
For reference:
facebookresearch/sam2#219 (comment)

Please confirm if you’ve also experienced slower inference speeds in the original SAM2 example notebook:
https://github.com/facebookresearch/sam2/blob/main/notebooks/image_predictor_example.ipynb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants