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

Demo.py with more then one GPU #70

Open
Renaud38 opened this issue Oct 17, 2023 · 2 comments
Open

Demo.py with more then one GPU #70

Renaud38 opened this issue Oct 17, 2023 · 2 comments

Comments

@Renaud38
Copy link

Hi,

How do I change line 251 of demo.py : "parser.add_argument('--gpu_id', type=int, default=0)"
to run the code with multiple GPUs?

Thanks,
Renaud

@z-x-yang
Copy link
Collaborator

The demo is to infer the AOT model on a video sequence frame by frame. A video can be only processed by using a single GPU.

@z-x-yang
Copy link
Collaborator

Multi-GPU process is designed for processing many video sequences asynchronously. Different sequence will be assigned to different GPU.

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