-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Set default Torch version if YY.MM format is not met #9776
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
Conversation
… formatting is not met Signed-off-by: Dong Hyuk Chang <[email protected]>
9841bbb
to
1b9e9a2
Compare
Signed-off-by: Dong Hyuk Chang <[email protected]>
Signed-off-by: Dong Hyuk Chang <[email protected]>
Signed-off-by: Dong Hyuk Chang <[email protected]>
def is_official_release_version(nvidia_torch_version): | ||
return re.fullmatch("[0-9][0-9]\.[0-9][0-9].*", nvidia_torch_version) # "YY.MM.*" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is currently in the nemo 1.0 path, we'll need something similar for 2.0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@thomasdhc Can we unblock this for 1.0 and file a JIRA for the 2.0 code path ?
@minitu could you review this PR? |
LGTM |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving.
Please file a corresponding bug for 2.0.
* Torch major and minor versions set to current year and month if YY.MM formatting is not met Signed-off-by: Dong Hyuk Chang <[email protected]> * Update nvidia torch version check Signed-off-by: Dong Hyuk Chang <[email protected]> * Remove redundant import Signed-off-by: Dong Hyuk Chang <[email protected]> * Formatting fix Signed-off-by: Dong Hyuk Chang <[email protected]> --------- Signed-off-by: Dong Hyuk Chang <[email protected]> Co-authored-by: Dong Hyuk Chang <[email protected]>
* Torch major and minor versions set to current year and month if YY.MM formatting is not met Signed-off-by: Dong Hyuk Chang <[email protected]> * Update nvidia torch version check Signed-off-by: Dong Hyuk Chang <[email protected]> * Remove redundant import Signed-off-by: Dong Hyuk Chang <[email protected]> * Formatting fix Signed-off-by: Dong Hyuk Chang <[email protected]> --------- Signed-off-by: Dong Hyuk Chang <[email protected]> Co-authored-by: Dong Hyuk Chang <[email protected]> Signed-off-by: Dong Hyuk Chang <[email protected]>
* Torch major and minor versions set to current year and month if YY.MM formatting is not met Signed-off-by: Dong Hyuk Chang <[email protected]> * Update nvidia torch version check Signed-off-by: Dong Hyuk Chang <[email protected]> * Remove redundant import Signed-off-by: Dong Hyuk Chang <[email protected]> * Formatting fix Signed-off-by: Dong Hyuk Chang <[email protected]> --------- Signed-off-by: Dong Hyuk Chang <[email protected]> Co-authored-by: Dong Hyuk Chang <[email protected]> Signed-off-by: Alexandros Koumparoulis <[email protected]>
* Torch major and minor versions set to current year and month if YY.MM formatting is not met Signed-off-by: Dong Hyuk Chang <[email protected]> * Update nvidia torch version check Signed-off-by: Dong Hyuk Chang <[email protected]> * Remove redundant import Signed-off-by: Dong Hyuk Chang <[email protected]> * Formatting fix Signed-off-by: Dong Hyuk Chang <[email protected]> --------- Signed-off-by: Dong Hyuk Chang <[email protected]> Co-authored-by: Dong Hyuk Chang <[email protected]> Signed-off-by: Boxiang Wang <[email protected]>
* Torch major and minor versions set to current year and month if YY.MM formatting is not met Signed-off-by: Dong Hyuk Chang <[email protected]> * Update nvidia torch version check Signed-off-by: Dong Hyuk Chang <[email protected]> * Remove redundant import Signed-off-by: Dong Hyuk Chang <[email protected]> * Formatting fix Signed-off-by: Dong Hyuk Chang <[email protected]> --------- Signed-off-by: Dong Hyuk Chang <[email protected]> Co-authored-by: Dong Hyuk Chang <[email protected]> Signed-off-by: Vivian Chen <[email protected]>
* Update arch check for SD (#9783) * Update arch check for SD Signed-off-by: Jaemin Choi <[email protected]> * Apply isort and black reformatting Signed-off-by: minitu <[email protected]> --------- Signed-off-by: Jaemin Choi <[email protected]> Signed-off-by: minitu <[email protected]> Co-authored-by: Jaemin Choi <[email protected]> Co-authored-by: minitu <[email protected]> Signed-off-by: Dong Hyuk Chang <[email protected]> * Set default Torch version if YY.MM format is not met (#9776) * Torch major and minor versions set to current year and month if YY.MM formatting is not met Signed-off-by: Dong Hyuk Chang <[email protected]> * Update nvidia torch version check Signed-off-by: Dong Hyuk Chang <[email protected]> * Remove redundant import Signed-off-by: Dong Hyuk Chang <[email protected]> * Formatting fix Signed-off-by: Dong Hyuk Chang <[email protected]> --------- Signed-off-by: Dong Hyuk Chang <[email protected]> Co-authored-by: Dong Hyuk Chang <[email protected]> Signed-off-by: Dong Hyuk Chang <[email protected]> --------- Signed-off-by: Jaemin Choi <[email protected]> Signed-off-by: minitu <[email protected]> Signed-off-by: Dong Hyuk Chang <[email protected]> Co-authored-by: Jaemin Choi <[email protected]> Co-authored-by: Jaemin Choi <[email protected]> Co-authored-by: minitu <[email protected]> Co-authored-by: Dong Hyuk Chang <[email protected]>
* Torch major and minor versions set to current year and month if YY.MM formatting is not met Signed-off-by: Dong Hyuk Chang <[email protected]> * Update nvidia torch version check Signed-off-by: Dong Hyuk Chang <[email protected]> * Remove redundant import Signed-off-by: Dong Hyuk Chang <[email protected]> * Formatting fix Signed-off-by: Dong Hyuk Chang <[email protected]> --------- Signed-off-by: Dong Hyuk Chang <[email protected]> Co-authored-by: Dong Hyuk Chang <[email protected]>
* Torch major and minor versions set to current year and month if YY.MM formatting is not met Signed-off-by: Dong Hyuk Chang <[email protected]> * Update nvidia torch version check Signed-off-by: Dong Hyuk Chang <[email protected]> * Remove redundant import Signed-off-by: Dong Hyuk Chang <[email protected]> * Formatting fix Signed-off-by: Dong Hyuk Chang <[email protected]> --------- Signed-off-by: Dong Hyuk Chang <[email protected]> Co-authored-by: Dong Hyuk Chang <[email protected]> Signed-off-by: Hainan Xu <[email protected]>
* Torch major and minor versions set to current year and month if YY.MM formatting is not met Signed-off-by: Dong Hyuk Chang <[email protected]> * Update nvidia torch version check Signed-off-by: Dong Hyuk Chang <[email protected]> * Remove redundant import Signed-off-by: Dong Hyuk Chang <[email protected]> * Formatting fix Signed-off-by: Dong Hyuk Chang <[email protected]> --------- Signed-off-by: Dong Hyuk Chang <[email protected]> Co-authored-by: Dong Hyuk Chang <[email protected]>
What does this PR do ?
Set default nvidia torch version
Collection: [nlp]
Changelog
Usage
# 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:
PR Type:
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