Skip to content

RuntimeError: CUDA out of memory #151

@2016110071

Description

@2016110071

RuntimeError: CUDA out of memory. Tried to allocate 256.00 MiB (GPU 0; 22.38 GiB total capacity; 21.52 GiB already allocated; 245.94 MiB free; 21.55 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

when I used 4GPUs (P40),I got the error above. What could I do ? Is P40 suitable for this project?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions