Skip to content

"Out of Memory" error with CUDA.  #14

Open
@iamhumanipromise

Description

@iamhumanipromise
torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 2.00 GiB (GPU 0; 7.79 GiB total capacity; 4.95 GiB already allocated; 1.60 GiB free; 5.15 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 

RTX 2070 8GB MAX-Q


Which documentation am I supposed to read to set up appropriate memory management? I can't seem to find it for some reason. Unsure about which settings to change and where.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions