Skip to content

Problem about GPU memory #36

Open
Open

Description

@yux326

Hello, thanks for you ADA codebase.
I try to train pvrcnn with Bi3D, I use kitti as source domain and a custom dataset in kitti format (smaller than kitti) as target domain.
A CUDA out of memory problem occured during Stage 2. I use 6 RTX 2080ti (each has 10 GB memory) and set BATCH_SIZE_PER_GPU to 1.
The Discriminator training and active evaluating were both done successfully but the CUDA out of memory problem occured after these.
Are there any bug in memory management in this code? Or do I need more memory to train?

Looking forward to your response!

Activity

  1. JiakangYuan commented on Jul 18, 2024

    @JiakangYuan
    Collaborator

    Hello, I guess it is caused by the all_gather operation used in stage 2. I will test on the device with the same GPU memory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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