Skip to content

[DM05 Training] CUDA OOM on 8× RTX 4090D in both VLA Arena and RoboTwin #11

Description

@lyc-7

Hi, I encountered CUDA OOM when training DM05 on 8 × NVIDIA GeForce RTX 4090D (24 GB) in both VLA Arena and RoboTwin.

  1. VLA Arena:
    The error occurs during FSDP initialization before the first training step:
    accelerator.prepare(self.model) → FSDP(model) → handle.shard() → shard = chunk.clone()

    torch.OutOfMemoryError: CUDA out of memory.
    Tried to allocate 1.36 GiB.
    GPU 0 has a total capacity of 23.65 GiB of which 1.36 GiB is free.
    Process has 22.29 GiB memory in use.
    Of the allocated memory 21.73 GiB is allocated by PyTorch.
    
    
  2. RoboTwin:
    I encountered almost exactly the same CUDA OOM during training:

    torch.OutOfMemoryError: CUDA out of memory.
    Tried to allocate 1.36 GiB.
    GPU 7 has a total capacity of 23.65 GiB of which 1.36 GiB is free.
    Process 282836 has 22.29 GiB memory in use.
    Of the allocated memory 21.73 GiB is allocated by PyTorch.
    

Activity

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