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

Support for multi-gpu setup? #9

Open
Prasoon-Rai opened this issue Nov 23, 2024 · 1 comment
Open

Support for multi-gpu setup? #9

Prasoon-Rai opened this issue Nov 23, 2024 · 1 comment

Comments

@Prasoon-Rai
Copy link

Hey is it possible to run the model on a 2x T4 setup provided by Kaggle? If there are any workarounds possible kindly list 'em.

@loretoparisi
Copy link

That would be game changer! on the L4/24GB VRAM

torch.OutOfMemoryError: CUDA out of memory. Tried to allocate 160.00 MiB. GPU 0 has a total capacity of 21.95 GiB of which 154.12 MiB is free. Including non-PyTorch memory, this process has 0 bytes memory in use. Of the allocated memory 21.24 GiB is allocated by PyTorch, and 355.20 MiB is reserved by PyTorch but unallocated. If reserved but unallocated memory is large try setting PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True to avoid fragmentation.  See documentation for Memory Management  (https://pytorch.org/docs/stable/notes/cuda.html#environment-variables)

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