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

unpin transformers version #9606

Merged
merged 21 commits into from
Jul 10, 2024
Merged

unpin transformers version #9606

merged 21 commits into from
Jul 10, 2024

Conversation

dimapihtar
Copy link
Collaborator

What does this PR do ?

  1. Unpins transformers package version.
  2. Guards deprecated imports in NeMo which were deleted in transformers >= 4.40

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)

Signed-off-by: dimapihtar <[email protected]>
Signed-off-by: dimapihtar <[email protected]>
@dimapihtar dimapihtar requested a review from cuichenx July 3, 2024 15:39
@github-actions github-actions bot added the NLP label Jul 3, 2024
Copy link
Collaborator

@cuichenx cuichenx left a comment

Choose a reason for hiding this comment

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

Thank you for making the change, this LGTM

Copy link
Collaborator

@cuichenx cuichenx left a comment

Choose a reason for hiding this comment

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

could you resolve the CI issue? looks like there's an import problem

@dimapihtar dimapihtar requested a review from cuichenx July 3, 2024 18:38
@cuichenx cuichenx added Run CICD and removed Run CICD labels Jul 3, 2024
Signed-off-by: Chen Cui <[email protected]>
@cuichenx cuichenx added Run CICD and removed Run CICD labels Jul 5, 2024
Dmytro Pykhtar and others added 2 commits July 5, 2024 12:29
@cuichenx cuichenx added Run CICD and removed Run CICD labels Jul 6, 2024
@cuichenx cuichenx added Run CICD and removed Run CICD labels Jul 9, 2024
@cuichenx cuichenx added Run CICD and removed Run CICD labels Jul 9, 2024
cuichenx and others added 2 commits July 9, 2024 23:29
@cuichenx cuichenx added Run CICD and removed Run CICD labels Jul 9, 2024
@cuichenx cuichenx changed the base branch from main to r2.0.0rc1 July 10, 2024 16:35
@cuichenx cuichenx changed the base branch from r2.0.0rc1 to main July 10, 2024 16:37
@cuichenx cuichenx merged commit b4821e1 into main Jul 10, 2024
203 checks passed
@cuichenx cuichenx deleted the dpykhtar/fix_transformers branch July 10, 2024 16:37
@cuichenx cuichenx mentioned this pull request Jul 10, 2024
8 tasks
marcromeyn pushed a commit that referenced this pull request Jul 11, 2024
* unpin transformers

Signed-off-by: dimapihtar <[email protected]>

* guard deprecated imports

Signed-off-by: dimapihtar <[email protected]>

* Apply isort and black reformatting

Signed-off-by: dimapihtar <[email protected]>

* fix import guards

Signed-off-by: dimapihtar <[email protected]>

* fix import guards

Signed-off-by: dimapihtar <[email protected]>

* Apply isort and black reformatting

Signed-off-by: dimapihtar <[email protected]>

* try fixing

Signed-off-by: Chen Cui <[email protected]>

* disable HF tests

Signed-off-by: Dmytro Pykhtar <[email protected]>

* try fixing

Signed-off-by: Chen Cui <[email protected]>

* hard code model lists

Signed-off-by: Chen Cui <[email protected]>

* Apply isort and black reformatting

Signed-off-by: cuichenx <[email protected]>

* hard code model lists

Signed-off-by: Chen Cui <[email protected]>

---------

Signed-off-by: dimapihtar <[email protected]>
Signed-off-by: dimapihtar <[email protected]>
Signed-off-by: Chen Cui <[email protected]>
Signed-off-by: Dmytro Pykhtar <[email protected]>
Signed-off-by: cuichenx <[email protected]>
Co-authored-by: dimapihtar <[email protected]>
Co-authored-by: Chen Cui <[email protected]>
Co-authored-by: Dmytro Pykhtar <[email protected]>
Co-authored-by: cuichenx <[email protected]>
marcromeyn pushed a commit that referenced this pull request Jul 11, 2024
* unpin transformers

Signed-off-by: dimapihtar <[email protected]>

* guard deprecated imports

Signed-off-by: dimapihtar <[email protected]>

* Apply isort and black reformatting

Signed-off-by: dimapihtar <[email protected]>

* fix import guards

Signed-off-by: dimapihtar <[email protected]>

* fix import guards

Signed-off-by: dimapihtar <[email protected]>

* Apply isort and black reformatting

Signed-off-by: dimapihtar <[email protected]>

* try fixing

Signed-off-by: Chen Cui <[email protected]>

* disable HF tests

Signed-off-by: Dmytro Pykhtar <[email protected]>

* try fixing

Signed-off-by: Chen Cui <[email protected]>

* hard code model lists

Signed-off-by: Chen Cui <[email protected]>

* Apply isort and black reformatting

Signed-off-by: cuichenx <[email protected]>

* hard code model lists

Signed-off-by: Chen Cui <[email protected]>

---------

Signed-off-by: dimapihtar <[email protected]>
Signed-off-by: dimapihtar <[email protected]>
Signed-off-by: Chen Cui <[email protected]>
Signed-off-by: Dmytro Pykhtar <[email protected]>
Signed-off-by: cuichenx <[email protected]>
Co-authored-by: dimapihtar <[email protected]>
Co-authored-by: Chen Cui <[email protected]>
Co-authored-by: Dmytro Pykhtar <[email protected]>
Co-authored-by: cuichenx <[email protected]>
@github-actions github-actions bot mentioned this pull request Jul 12, 2024
8 tasks
maanug-nv pushed a commit that referenced this pull request Jul 14, 2024
* unpin transformers

Signed-off-by: dimapihtar <[email protected]>

* guard deprecated imports

Signed-off-by: dimapihtar <[email protected]>

* Apply isort and black reformatting

Signed-off-by: dimapihtar <[email protected]>

* fix import guards

Signed-off-by: dimapihtar <[email protected]>

* fix import guards

Signed-off-by: dimapihtar <[email protected]>

* Apply isort and black reformatting

Signed-off-by: dimapihtar <[email protected]>

* try fixing

Signed-off-by: Chen Cui <[email protected]>

* disable HF tests

Signed-off-by: Dmytro Pykhtar <[email protected]>

* try fixing

Signed-off-by: Chen Cui <[email protected]>

* hard code model lists

Signed-off-by: Chen Cui <[email protected]>

* Apply isort and black reformatting

Signed-off-by: cuichenx <[email protected]>

* hard code model lists

Signed-off-by: Chen Cui <[email protected]>

---------

Signed-off-by: dimapihtar <[email protected]>
Signed-off-by: dimapihtar <[email protected]>
Signed-off-by: Chen Cui <[email protected]>
Signed-off-by: Dmytro Pykhtar <[email protected]>
Signed-off-by: cuichenx <[email protected]>
Co-authored-by: dimapihtar <[email protected]>
Co-authored-by: Chen Cui <[email protected]>
Co-authored-by: Dmytro Pykhtar <[email protected]>
Co-authored-by: cuichenx <[email protected]>
ertkonuk pushed a commit that referenced this pull request Jul 19, 2024
* unpin transformers

Signed-off-by: dimapihtar <[email protected]>

* guard deprecated imports

Signed-off-by: dimapihtar <[email protected]>

* Apply isort and black reformatting

Signed-off-by: dimapihtar <[email protected]>

* fix import guards

Signed-off-by: dimapihtar <[email protected]>

* fix import guards

Signed-off-by: dimapihtar <[email protected]>

* Apply isort and black reformatting

Signed-off-by: dimapihtar <[email protected]>

* try fixing

Signed-off-by: Chen Cui <[email protected]>

* disable HF tests

Signed-off-by: Dmytro Pykhtar <[email protected]>

* try fixing

Signed-off-by: Chen Cui <[email protected]>

* hard code model lists

Signed-off-by: Chen Cui <[email protected]>

* Apply isort and black reformatting

Signed-off-by: cuichenx <[email protected]>

* hard code model lists

Signed-off-by: Chen Cui <[email protected]>

---------

Signed-off-by: dimapihtar <[email protected]>
Signed-off-by: dimapihtar <[email protected]>
Signed-off-by: Chen Cui <[email protected]>
Signed-off-by: Dmytro Pykhtar <[email protected]>
Signed-off-by: cuichenx <[email protected]>
Co-authored-by: dimapihtar <[email protected]>
Co-authored-by: Chen Cui <[email protected]>
Co-authored-by: Dmytro Pykhtar <[email protected]>
Co-authored-by: cuichenx <[email protected]>
Signed-off-by: Tugrul Konuk <[email protected]>
tonyjie pushed a commit to tonyjie/NeMo that referenced this pull request Aug 6, 2024
* unpin transformers

Signed-off-by: dimapihtar <[email protected]>

* guard deprecated imports

Signed-off-by: dimapihtar <[email protected]>

* Apply isort and black reformatting

Signed-off-by: dimapihtar <[email protected]>

* fix import guards

Signed-off-by: dimapihtar <[email protected]>

* fix import guards

Signed-off-by: dimapihtar <[email protected]>

* Apply isort and black reformatting

Signed-off-by: dimapihtar <[email protected]>

* try fixing

Signed-off-by: Chen Cui <[email protected]>

* disable HF tests

Signed-off-by: Dmytro Pykhtar <[email protected]>

* try fixing

Signed-off-by: Chen Cui <[email protected]>

* hard code model lists

Signed-off-by: Chen Cui <[email protected]>

* Apply isort and black reformatting

Signed-off-by: cuichenx <[email protected]>

* hard code model lists

Signed-off-by: Chen Cui <[email protected]>

---------

Signed-off-by: dimapihtar <[email protected]>
Signed-off-by: dimapihtar <[email protected]>
Signed-off-by: Chen Cui <[email protected]>
Signed-off-by: Dmytro Pykhtar <[email protected]>
Signed-off-by: cuichenx <[email protected]>
Co-authored-by: dimapihtar <[email protected]>
Co-authored-by: Chen Cui <[email protected]>
Co-authored-by: Dmytro Pykhtar <[email protected]>
Co-authored-by: cuichenx <[email protected]>
Signed-off-by: tonyjie <[email protected]>
monica-sekoyan pushed a commit that referenced this pull request Oct 14, 2024
* unpin transformers

Signed-off-by: dimapihtar <[email protected]>

* guard deprecated imports

Signed-off-by: dimapihtar <[email protected]>

* Apply isort and black reformatting

Signed-off-by: dimapihtar <[email protected]>

* fix import guards

Signed-off-by: dimapihtar <[email protected]>

* fix import guards

Signed-off-by: dimapihtar <[email protected]>

* Apply isort and black reformatting

Signed-off-by: dimapihtar <[email protected]>

* try fixing

Signed-off-by: Chen Cui <[email protected]>

* disable HF tests

Signed-off-by: Dmytro Pykhtar <[email protected]>

* try fixing

Signed-off-by: Chen Cui <[email protected]>

* hard code model lists

Signed-off-by: Chen Cui <[email protected]>

* Apply isort and black reformatting

Signed-off-by: cuichenx <[email protected]>

* hard code model lists

Signed-off-by: Chen Cui <[email protected]>

---------

Signed-off-by: dimapihtar <[email protected]>
Signed-off-by: dimapihtar <[email protected]>
Signed-off-by: Chen Cui <[email protected]>
Signed-off-by: Dmytro Pykhtar <[email protected]>
Signed-off-by: cuichenx <[email protected]>
Co-authored-by: dimapihtar <[email protected]>
Co-authored-by: Chen Cui <[email protected]>
Co-authored-by: Dmytro Pykhtar <[email protected]>
Co-authored-by: cuichenx <[email protected]>
hainan-xv pushed a commit to hainan-xv/NeMo that referenced this pull request Nov 5, 2024
* unpin transformers

Signed-off-by: dimapihtar <[email protected]>

* guard deprecated imports

Signed-off-by: dimapihtar <[email protected]>

* Apply isort and black reformatting

Signed-off-by: dimapihtar <[email protected]>

* fix import guards

Signed-off-by: dimapihtar <[email protected]>

* fix import guards

Signed-off-by: dimapihtar <[email protected]>

* Apply isort and black reformatting

Signed-off-by: dimapihtar <[email protected]>

* try fixing

Signed-off-by: Chen Cui <[email protected]>

* disable HF tests

Signed-off-by: Dmytro Pykhtar <[email protected]>

* try fixing

Signed-off-by: Chen Cui <[email protected]>

* hard code model lists

Signed-off-by: Chen Cui <[email protected]>

* Apply isort and black reformatting

Signed-off-by: cuichenx <[email protected]>

* hard code model lists

Signed-off-by: Chen Cui <[email protected]>

---------

Signed-off-by: dimapihtar <[email protected]>
Signed-off-by: dimapihtar <[email protected]>
Signed-off-by: Chen Cui <[email protected]>
Signed-off-by: Dmytro Pykhtar <[email protected]>
Signed-off-by: cuichenx <[email protected]>
Co-authored-by: dimapihtar <[email protected]>
Co-authored-by: Chen Cui <[email protected]>
Co-authored-by: Dmytro Pykhtar <[email protected]>
Co-authored-by: cuichenx <[email protected]>
Signed-off-by: Hainan Xu <[email protected]>
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.

3 participants