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
How can I install Pytorch? #105
Comments
Unfortunately there are no prebuild packages for pyston available yet which makes installing much harder. |
I see. Thanks for your reply. |
@undingen i'm comfortable compiling pytorch from source so i'd like to experiment with this. problem is i have no idea what this actually entails, i.e., do i just compile using your llvm dep? i'm imagining it must be something else along the lines of |
It depends on how pytorch is configured -- but most projects automatically configure themselves to build against the Python interpreter that you use to run the build process, so it hopefully is as simple as saying |
@kmod thanks for the quick response. will report back on results :) |
Also we do have a precompiled pytorch if you can use conda. |
@undingen interesting. so do you see perf improvements? the last blog post i read (not sure from when) said that you operate pytorch in fallback mode and therefore there's no perf improvement |
We have not tested how the performance compares but it should be at least as fast as using PyTorch with CPython - there is no fallback/compatibility overhead. But we can only speedup Python code so if all of the pytorch code is running inside C/GPU etc Pyston will not speed it up. |
Hello,
I’m using Pyston for the AI scripts, but I've got some errors during the install Pytorch 1.8.0 package.
The error is “wheel is not supported on this platform”. I upgraded the wheel and pip but I failed.
I am using Debian 10 amd64 architecture. Pyston is 2.3.1.
The text was updated successfully, but these errors were encountered: