-
Notifications
You must be signed in to change notification settings - Fork 1.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
Arch Build Issues: provide pypi installs? #29
Comments
Weird, some of the errors look like you're attempting to compile c++14 features with a c++11 compiler (e.g.
Moving forward, we are working on a pip-installable version of Apex, as well as a Python-only installation. The C++ backend is not required by FP16_Optimizer and apex.parallel.DistributedDataParallel, and Amp only requires the backend as a performance optimization. |
Apex is now a Python-only package for simplicity and robustness. We're working on moving Apex's former C++ backend into Pytorch itself. In the meantime, Amp, FP16_Optimizer, and apex.parallel.DistributedDataParallel continue to work, although Amp may exhibit mild (~2%) performance reduction. This performance hit is temporary and will be reversed once the C++ backend is available for Amp to use through Pytorch core. If you have Pytorch on your system, you should be able to install and use Apex without any more C++ build problems. |
Great, thanks very much! Will give this a shot and report back. Looking forward to Amp integration in pytorch: will make fp16 training a whole lot easier. Any idea on the timeline for this? I can pull pytorch and compile it if the PR has been accepted into master. |
This works perfectly now. pip install works; the build works as well. I had some issues with an AUR version of gcc-6 on arch causing the above conflicts. User error :) |
Can't seem to compile apex on arch (even tried setting
CC
andCXX
to gcc-5 / g++-5 ) :https://gist.github.com/jramapuram/d19b0e8a21d7a4586b366b9744b6e211
The text was updated successfully, but these errors were encountered: