-
Notifications
You must be signed in to change notification settings - Fork 31
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
TGIS build requires PyTorch nightly #6
Comments
@Xaenalt we currently require the nightly builds to be able to use PyTorch 2 compile. However, we could probably change the code so that it will work with earlier PT versions provided you don't enable PT2_COMPILE. P.S. I think you pasted the wrong link |
Oops, yeah updated that. So torch._dynamo is needed for PyTorch 2 compile? Without it, it's not possible to use any of PyTorch 2? |
@Xaenalt pytorch 2 can be used but just not pytorch 2 compile. |
@Xaenalt in the latest update, the nightly build is not required if you aren't using PyTorch 2 compile (it will still fail to start if |
@Xaenalt apologies, it turns out compile does work with the latest stable release of pytorch 2.0.1, we'll revert to that. I think it's 2.0.0 that we had a problem with and had switched to using nightlies prior to 2.0.1 being released. |
Excellent, we'll pull that in then! |
Just to close the loop on this, we do rely on fixes/capabilities in the latest pytorch nightlies after all, for example compile only works in a very limited way in 2.0.1 and has had lots of updates since. We may be able to switch to 2.1.0 when it's released next week, but I expect that we may need to move to nighties again at some point after that given how fast it is changing. |
📿 |
So, as of the most recent code drop, the TGIS build requires PyTorch nightly
https://github.com/IBM/text-generation-inference/blob/main/Dockerfile#L145
This is likely not going to work with security, how tightly integrated is torth._dynamo?
The text was updated successfully, but these errors were encountered: