OpenGVLab / OpenGVLab/Ask-Anything
Run with multiple GPUs in demo.py
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 3.4k
- Forks
- 268
- PR merge metrics
- No merged PRs in 30d
Description
How can I use torchrun for single-machine multi-GPU inference testing when running demo.py? I didn't see any usage of DataParallel in demo.py.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading demo.py and checking how its inference path relates to torchrun and DataParallel. Determine whether the request needs documentation or implementation changes for single-machine multi-GPU inference testing. Done should be a clear, reproducible explanation of the supported workflow, or a specifically scoped change if the current script cannot support it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, pytorch
- Domain
- machine-learning, testing-qa
- Issue type
- Documentation
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100