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

Temporary pin Lightning-Utilities version due to broken NamedTuple #8022

Merged
merged 2 commits into from
Dec 18, 2023

Conversation

artbataev
Copy link
Collaborator

What does this PR do ?

Pin Lightning-Utitilies package version due to broken NamedTuple in 0.10.0
Lightning-AI/utilities#160 introduced the issue,
https://github.com/Lightning-AI/utilities/blob/a00e1144dd300e3bc2fc8746a8e85510ffe35aa7/src/lightning_utilities/core/apply_func.py#L67 here NamedTuple force converted to tuple.

This fixes the bug https://nvbugspro.nvidia.com/bug/4405798 (broken ASR_TTS_Tutorial)

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)

Signed-off-by: Vladimir Bataev <[email protected]>
@titu1994
Copy link
Collaborator

jenkins

Copy link
Collaborator

@titu1994 titu1994 left a comment

Choose a reason for hiding this comment

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

Fyi @athitten @ericharper We are pinning this due to issues with tutorial, i believe main branch should also be pinned for the time being while we discuss with PTL how to resolve this safely.

@artbataev
Copy link
Collaborator Author

@titu1994 It seem to be a know issue, hope will be fixed soon Lightning-AI/utilities#196

@titu1994 titu1994 merged commit 57a5fab into r1.22.0 Dec 18, 2023
13 checks passed
@titu1994 titu1994 deleted the fix_broken_namedtuple branch December 18, 2023 21:03
@titu1994
Copy link
Collaborator

Merging for now - fyi @ericharper @athitten

github-actions bot pushed a commit that referenced this pull request Dec 18, 2023
…8022)

* Pin lightning-utilities package

Signed-off-by: Vladimir Bataev <[email protected]>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Signed-off-by: Vladimir Bataev <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
@titu1994
Copy link
Collaborator

Don't merge this to main for now (unless Eric or @athitten gives the go ahead for main)

@artbataev
Copy link
Collaborator Author

@titu1994 The issue is fixed in Lightning-Utilities in main, waiting for the next release: Lightning-AI/utilities#210

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants