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
pythonPackages.mxnet: fix build #46053
Conversation
- mxnet now builds the open source MKL DNN library. However, this was not included with the build. - mxnet builds its own OpenMP library, even when OpenMP is provided by the system. This leads to problems, so remove the included OpenMP implementation: apache/mxnet#12160
Relax graphviz, numpy, requests dependency version bounds.
@GrahamcOfBorg build pythonPackages.mxnet |
No attempt on x86_64-darwin (full log) The following builds were skipped because they don't evaluate on x86_64-darwin: pythonPackages.mxnet Partial log (click to expand)
|
Failure on aarch64-linux (full log) Attempted: pythonPackages.mxnet Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: pythonPackages.mxnet Partial log (click to expand)
|
aarch64 failure is in a dependency and can be igored here. |
nix-review shows no regressions. |
Motivation for this change
The mxnet Python package did not build after the last mxnet changes. I found some more library issues with mxnet. Moreover the version of the Python module dependencies had to be relaxed a bit.
I have bundled together the necessary changes in this pull request as multiple commits.
I tested the mxnet Python module by using it to fetch the MNIST data set and training a feed forward neural network, both of which worked on my machine.
ZHF #45960
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)