Skip to content

Fix memory leak caused by context parallelism hanging references by omegaconf#8319

Merged
ericharper merged 1 commit intomainfrom
cherry-pick-main-e9320eda5a1ffa18e230bbe7ea03d4cf6d7374de
Feb 5, 2024
Merged

Fix memory leak caused by context parallelism hanging references by omegaconf#8319
ericharper merged 1 commit intomainfrom
cherry-pick-main-e9320eda5a1ffa18e230bbe7ea03d4cf6d7374de

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Feb 2, 2024

What does this PR do ?

Add a one line overview of what this PR aims to accomplish.

Collection: [Note which collection this PR will affect]

Changelog

  • Add specific line by line info of high level changes in this PR.

Usage

  • You can potentially add a usage example below
# Add a code snippet demonstrating how to use this 

Jenkins CI

To run Jenkins, a NeMo User with write access must comment jenkins on the PR.

Before your PR is "Ready for review"

Pre checks:

  • Make sure you read and followed Contributor guidelines
  • Did you write any new necessary tests?
  • Did you add or update any necessary documentation?
  • Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
    • Reviewer: Does the PR have correct import guards for all optional libraries?

PR Type:

  • New Feature
  • Bugfix
  • Documentation

If you haven't finished some of the above items you can still open "Draft" PR.

Who can review?

Anyone in the community is free to review the PR once the checks have passed.
Contributor guidelines contains specific people who can review PRs to various areas.

Additional Information

  • Related to # (issue)

…megaconf (#8299)

* save cp_size to self

Signed-off-by: Jimmy Zhang <jiemingz@nvidia.com>

* use parallel_state instead of self

Signed-off-by: Jimmy Zhang <jiemingz@nvidia.com>

---------

Signed-off-by: Jimmy Zhang <jiemingz@nvidia.com>
Co-authored-by: Jimmy Zhang <jiemingz@nvidia.com>
Co-authored-by: Eric Harper <complex451@gmail.com>
@ericharper
Copy link
Collaborator

jenkins

@JimmyZhang12
Copy link
Contributor

LGTM!

@ericharper ericharper merged commit dced14d into main Feb 5, 2024
@ericharper ericharper deleted the cherry-pick-main-e9320eda5a1ffa18e230bbe7ea03d4cf6d7374de branch February 5, 2024 20:05
ssh-meister pushed a commit to ssh-meister/NeMo that referenced this pull request Feb 15, 2024
…megaconf (NVIDIA-NeMo#8299) (NVIDIA-NeMo#8319)

* save cp_size to self



* use parallel_state instead of self



---------

Signed-off-by: Jimmy Zhang <jiemingz@nvidia.com>
Co-authored-by: JimmyZhang12 <67203904+JimmyZhang12@users.noreply.github.com>
Co-authored-by: Jimmy Zhang <jiemingz@nvidia.com>
Co-authored-by: Eric Harper <complex451@gmail.com>
Signed-off-by: Sasha Meister <ameister@nvidia.com>
layalir pushed a commit to layalir/NeMo that referenced this pull request Feb 29, 2024
…megaconf (NVIDIA-NeMo#8299) (NVIDIA-NeMo#8319)

* save cp_size to self



* use parallel_state instead of self



---------

Signed-off-by: Jimmy Zhang <jiemingz@nvidia.com>
Co-authored-by: JimmyZhang12 <67203904+JimmyZhang12@users.noreply.github.com>
Co-authored-by: Jimmy Zhang <jiemingz@nvidia.com>
Co-authored-by: Eric Harper <complex451@gmail.com>
layalir pushed a commit to layalir/NeMo that referenced this pull request Mar 1, 2024
…megaconf (NVIDIA-NeMo#8299) (NVIDIA-NeMo#8319)

* save cp_size to self



* use parallel_state instead of self



---------

Signed-off-by: Jimmy Zhang <jiemingz@nvidia.com>
Co-authored-by: JimmyZhang12 <67203904+JimmyZhang12@users.noreply.github.com>
Co-authored-by: Jimmy Zhang <jiemingz@nvidia.com>
Co-authored-by: Eric Harper <complex451@gmail.com>
pablo-garay pushed a commit that referenced this pull request Mar 19, 2024
…megaconf (#8299) (#8319)

* save cp_size to self

* use parallel_state instead of self

---------

Signed-off-by: Jimmy Zhang <jiemingz@nvidia.com>
Co-authored-by: JimmyZhang12 <67203904+JimmyZhang12@users.noreply.github.com>
Co-authored-by: Jimmy Zhang <jiemingz@nvidia.com>
Co-authored-by: Eric Harper <complex451@gmail.com>
Signed-off-by: Pablo Garay <pagaray@nvidia.com>
rohitrango pushed a commit to rohitrango/NeMo that referenced this pull request Jun 25, 2024
…megaconf (NVIDIA-NeMo#8299) (NVIDIA-NeMo#8319)

* save cp_size to self



* use parallel_state instead of self



---------

Signed-off-by: Jimmy Zhang <jiemingz@nvidia.com>
Co-authored-by: JimmyZhang12 <67203904+JimmyZhang12@users.noreply.github.com>
Co-authored-by: Jimmy Zhang <jiemingz@nvidia.com>
Co-authored-by: Eric Harper <complex451@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants