Skip to content

CUDA out of memory.How much memory is needed for training?(训练时需要多大的显存?) #81

Open
@chaledelta

Description

@chaledelta

Here is the complete content

CUDA out of memory. Tried to allocate 1024.00 MiB (GPU 0; 23.59 GiB total capacity; 20.87 GiB already allocated; 624.12 MiB free; 21.77 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions