Thanks to visit codestin.com
Credit goes to github.com

Skip to content

How to use RTX 4090 *2 running train #35

@Fucapisun

Description

@Fucapisun

When I train with two GPUs using CUDA, I get a memory error message, torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 416.00 MiB (GPU 0; 23.64 GiB total capacity; 21.07 GiB already allocated; 405.69 MiB free; 22.77 GiB reserved in total by PyTorch)indicating that only one GPU is being called. Is there any way to train with two GPUs simultaneously?

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