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

What are GPU memory requirements? #3

Open
lpryszcz opened this issue May 14, 2024 · 1 comment
Open

What are GPU memory requirements? #3

lpryszcz opened this issue May 14, 2024 · 1 comment

Comments

@lpryszcz
Copy link

Hi, mafia inference crashes due to out of memory error on the test dataset. I'm running it on RTX3080 Ti with 12 GB vRAM.
Please specify GPU memory requirements and which hardware is supported.

  File "/home/lpryszcz/src/mAFiA/RODAN/models.py", line 41, in forward
    return x * (torch.tanh(torch.nn.functional.softplus(x)))
torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 1.91 GiB (GPU 0; 11.76 GiB total capacity; 6.44 GiB already allocated; 296.19 MiB free; 11.09 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
@ADHDrian
Copy link
Collaborator

Hi @lpryszcz , the settings giving in the readme were tested on a Quadro RTX 6000 with 24GB memory. If you have less than that, please set --max_num_reads to a smaller number, say, 500.

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