-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
return support for torch 1.8.2 (LTS) in PL 1.7.* #14086
Comments
slack discussion: https://pytorch-lightning.slack.com/archives/CRBLFHY79/p1659913395596189 |
@paantya Are you currently seeing errors being raised when using PyTorch 1.8 with Lightning 1.7? |
Problems were yesterday when we installed pl 1.7 -- torch 1.9 or greater
did not launch today, I can check tomorrow if any changes were made) |
The dependencies seem to indicate torch >=1.9.* |
#13155 dropped support for PyTorch 1.8 (LTS) because (I remember) we'd like to keep the window size of four PyTorch versions (currently 1.9-1.12). However, in addition to this issue, there's another user asking for PyTorch 1.8 (LTS) support (#14094 (comment)) after PL 1.7 release. @carmocca @awaelchli @Borda @rohitgr7 If PyTorch 1.8 ends its life as LTS very soon (for example, within three months until the next feature release), I don't think it's worth adding it back, but if 1.8 will live as LTS for more than a few months, I believe it is. Do you think PL should support PyTorch 1.8 again? |
@paantya Yes, but you can force-install PyTorch 1.8 after installing PL: $ pip install pytorch-lightning -U
$ pip install torch==1.8.2 --extra-index-url https://download.pytorch.org/whl/lts/1.8/cpu # for CPU |
after install:
@akihironitta Interesting crutch, thanks I'll try this makes sense, do you happen to know how long torch will support 1.8.2? |
cc @carmocca |
I asked if there's an updated LTS schedule for PyTorch in their developer Slack and got no answer. I would respect our support window. If there's enterprise interest in an LTS PL version, then they should contact us to discuss it. A solution could be to include critical bug fixes into the 1.6.x branch, but not support PyTorch 1.8 endlessly across versions. |
@paantya If you have access to the PyTorch slack, this was also asked in https://pytorch.slack.com/archives/C3PDTEV8E/p1651758244430409 and https://pytorch.slack.com/archives/C3PDTEV8E/p1657621331393819 I also want to clarify that we chose to drop support for torch 1.8 after seeing the lack of a clear PyTorch LTS roadmap |
@carmocca there nothing was written about new versions of LTS or something like that? |
while there is a suspended state with the version, I will request what we need #14142 |
Closing this issue as there seems no actionable item regarding PL's re-support for PyTorch 1.8. Let's discuss any particular feature requests in corresponding issues, such as #14142. |
🐛 Bug
not support torch 1.8.2 (LTS) in 1.7 PL
Expected behavior
You can run training using torch 1.8.2 (or 1.8.1)
Additional context
this is still LTS and many enterprises use it for their sales and prod
Also that version 1.8.1-4 is the default in ubuntu 22 https://packages.ubuntu.com/search?keywords=libtorch&searchon=names&suite=jammy§ion=all
cc @Borda @carmocca @akihironitta
The text was updated successfully, but these errors were encountered: