Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix The Issue With PL 2.4.0 #10137

Merged
merged 2 commits into from
Aug 15, 2024
Merged

Conversation

alpha0422
Copy link
Contributor

… host & device sync in it.

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 

GitHub Actions CI

The Jenkins CI system has been replaced by GitHub Actions self-hosted runners.

The GitHub Actions CI will run automatically when the "Run CICD" label is added to the PR.
To re-run CI remove and add the label again.
To run CI on an untrusted fork, a NeMo user with write access must first click "Approve and run".

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)

thomasdhc
thomasdhc previously approved these changes Aug 14, 2024
Copy link
Collaborator

@thomasdhc thomasdhc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved

@thomasdhc
Copy link
Collaborator

@alpha0422 looks like these are deprecated as well:

_ResultCollection.register_key = _ResultCollection.__orig_register_key__

@thomasdhc thomasdhc dismissed their stale review August 14, 2024 16:46

Need new changes

@thomasdhc
Copy link
Collaborator

File "/__w/NeMo/NeMo/nemo/utils/callbacks/cuda_graph.py", line 400, in on_train_end
_ResultCollection.register_key = _ResultCollection.orig_register_key
AttributeError: type object '_ResultCollection' has no attribute 'orig_register_key'

@alpha0422
Copy link
Contributor Author

alpha0422 commented Aug 15, 2024

@thomasdhc Thanks for pointing it out, pushed changes.

Copy link
Collaborator

@thomasdhc thomasdhc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved

@thomasdhc thomasdhc merged commit c066ef7 into NVIDIA:main Aug 15, 2024
120 of 122 checks passed
BoxiangW pushed a commit to BoxiangW/NeMo that referenced this pull request Aug 16, 2024
* Drop customized register_key since PL 2.4.0 doesn't invoke additional host & device sync in it.

* Remove register_key.
BoxiangW pushed a commit to BoxiangW/NeMo that referenced this pull request Aug 19, 2024
* Drop customized register_key since PL 2.4.0 doesn't invoke additional host & device sync in it.

* Remove register_key.
adityavavre pushed a commit to adityavavre/NeMo that referenced this pull request Sep 15, 2024
* Drop customized register_key since PL 2.4.0 doesn't invoke additional host & device sync in it.

* Remove register_key.

Signed-off-by: adityavavre <aditya.vavre@gmail.com>
monica-sekoyan pushed a commit that referenced this pull request Oct 14, 2024
* Drop customized register_key since PL 2.4.0 doesn't invoke additional host & device sync in it.

* Remove register_key.
hainan-xv pushed a commit to hainan-xv/NeMo that referenced this pull request Nov 5, 2024
* Drop customized register_key since PL 2.4.0 doesn't invoke additional host & device sync in it.

* Remove register_key.

Signed-off-by: Hainan Xu <hainanx@nvidia.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants