You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 57.93 GiB. GPU 0 has a total capacty of 79.35 GiB of which 17.27 GiB is free. Process 41187 has 62.08 GiB memory in use. Of the allocated memory 60.67 GiB is allocated by PyTorch, and 11.17 MiB is reserved by PyTorch but unallocated. If reserved but unallocated memory is large try setting max_split_size_mb to avoid fragmentation. See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF
how to solve it ?
The text was updated successfully, but these errors were encountered:
when inference a100 with 80GB memory:
torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 57.93 GiB. GPU 0 has a total capacty of 79.35 GiB of which 17.27 GiB is free. Process 41187 has 62.08 GiB memory in use. Of the allocated memory 60.67 GiB is allocated by PyTorch, and 11.17 MiB is reserved by PyTorch but unallocated. If reserved but unallocated memory is large try setting max_split_size_mb to avoid fragmentation. See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF
how to solve it ?
The text was updated successfully, but these errors were encountered: