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

How to Run With Multiple GPU? #2

Open
yunusemredemirdag opened this issue Jun 13, 2023 · 1 comment
Open

How to Run With Multiple GPU? #2

yunusemredemirdag opened this issue Jun 13, 2023 · 1 comment

Comments

@yunusemredemirdag
Copy link

Hi,
How to run demo.py with multiple gpu?

When I run this code, I take following error:

OutOfMemoryError: CUDA out of memory. Tried to allocate 512.00 MiB (GPU 0; 47.54 GiB total capacity; 20.74 GiB already allocated; 388.25 MiB free; 20.74 GiB reserved in total by 
PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation.  See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF
@abhinand5
Copy link
Owner

This should be possible with a few tweaks. I'll try to add support for multiple GPUs by this weekend.

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