-
Notifications
You must be signed in to change notification settings - Fork 178
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
Update Version Syntax for PyTorch and PyTorch Lightning Examples #205
Merged
Merged
Changes from 2 commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
mpi4py | ||
plotly | ||
pytorch-ignite | ||
pytorch-lightning>=1.6.0 | ||
pytorch-lightning>=2.0 | ||
skorch | ||
torch==1.11.0 | ||
torchvision==0.12.0 | ||
torchaudio==0.11.0 | ||
torch>=2.0 | ||
jxtngx marked this conversation as resolved.
Show resolved
Hide resolved
|
||
torchvision>=0.12.0 | ||
torchaudio>=0.11.0 | ||
jxtngx marked this conversation as resolved.
Show resolved
Hide resolved
|
||
optuna |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
In my understanding, the pytorch lightning examples works with the latest version without changes, so I guess we can keep the support for v1.6 as well. Do we have difficulties to keep the the current lower bound?
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.
As you said, there are no difficulties in keeping >=1.6 since that syntax logic will install whichever is the latest version.
Regarding explicitly setting a minimum at 2.0 in the requirements file, I would say this is more of a request as we move PL and Lightning Fabric into 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.
Thanks for your comment.
Taking your comments into account, I've reconsidered our approach. Up until now, we've only changed version constraints when code modifications required it.
On the other hand, the current CI only tests against the latest version as you mentioned, so we can't be certain that the lower version bounds are being accurately checked.
Therefore, rather than setting a lower limit, it might be more realistic to simply remove the version constraints and ensure functionality solely with the latest version.
What do you think of it?
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.
That sounds good to me!