Skip to content

Memory issue with running verifiers - RL #661

@ADharaUTEXAS123007

Description

@ADharaUTEXAS123007

When I run uv run vf-rl @ configs/vf-rl/wiki-search.toml,

memory accumulates with each step,
And I get the error
orch.OutOfMemoryError: CUDA out of memory. Tried to allocate 36.98 GiB. GPU 0 has a total capacity of 95.00 GiB of which 35.86 GiB is free. Including non-PyTorch memory, this process has 59.13 GiB memory in use. Of the allocated memory 56.35 GiB is allocated by PyTorch, and 99.55 MiB is reserved by PyTorch but unallocated. If reserved but unallocated memory is large try setting PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True to avoid fragmentation. See documentation for Memory Management (https://pytorch.org/docs/stable/notes/cuda.html#environment-variables)
[W1222 01:23:56.231734873 AllocatorConfig.cpp:28] Warning: PYTORCH_CUDA_ALLOC_CONF is deprecated, use PYTORCH_ALLOC_CONF instead (function operator())

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