Version dependencies between torch-lightning and torch. #14743
HubertSing
started this conversation in
General
Replies: 1 comment 2 replies
-
Hey, we try to always support the last 3 major releases of torch (currently being 1.12, 1.11 and 1.10). Everything beyond that might work in most cases but isn't tested and we cannot guarantee stability of support of all features. This decision was done out of two reasons:
That being said, If you really need this, try to install it like that:
but as I said, we cannot guarantee anything that way, so proceed at your own risk . |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I would like to ask a question about the version dependencies between torch-lightning and torch.
Because my GPU can only support cuda 10.1, so my pytorch version can only be up to 1.8.
In order to maintain the project in the long term, I would likely to be able to use torch-lightning in a long-term and convenient way.
However, the one-click installation command on the official website will directly overwrite my torch version to 1.12, and the version of cudatoolkit will also become higher, which makes my environment dependencies wrong and I had to reconfigure the environment.
After searching in the issues section of github, I found that I should use the pip install pytorch-lightning==1.6.* command.
I'm curious as to where to get the full compatibility between previous versions of pytorch-lightning and torch.
Any help would be greatly appreciated, thanks!
Beta Was this translation helpful? Give feedback.
All reactions