NVIDIA-NeMo / NVIDIA-NeMo/Curator

Ray temp directory memory leak

Open
#1,295 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug community-request waiting-on-customer
Dominant language
Python
Stars
1.8k
Forks
328
Avg merge
4d 5h
Merged PRs (30d)
30

Description

Describe the bug

Ray temp directory memory leak when running tasks multiple times.

Steps/Code to reproduce bug

Run any nemo curator pipeline which uses the ray cluster multiple times. Observe the size of the directory at /tmp/ray

Expected behavior

Size of the temp directory does not keep on increasing.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Run a NeMo Curator pipeline that uses the Ray cluster multiple times and measure /tmp/ray after each run. Trace how Ray temporary directories are created and cleaned up during repeated execution. Done means the directory size no longer grows across repeated pipeline runs, with a regression check for that behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data-engineering, distributed-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.