facebookresearch / facebookresearch/sam2

Does vos_inference.py support multi-GPU running?

Open
#228 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

Thanks for the open source. I run vos_inference.py with my own video dataset on a machine with four v100 graphics cards (each with 32G memory). I detected that the program is only running on one card. Does vos_inference.py support multi-GPU running? How should I modify the code?

Contributor guide

Open the contributing guide

Research direction

Start by reading vos_inference.py and tracing its inference entry point and device-selection logic. Determine whether the current script exposes or implements multi-GPU execution, then check the repository's inference examples for related usage. Done means the supported multi-GPU behavior and any required code changes are clearly established.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.