Package Base Details: mxnet

Git Clone URL: https://aur.archlinux.org/mxnet.git (read-only, click to copy)
Keywords: deep_learning deep_neural_networks distributed_systems machine_learning
Submitter: Godisemo
Maintainer: petronny
Last Packager: petronny
Votes: 10
Popularity: 0.012939
First Submitted: 2017-02-11 00:12
Last Updated: 2020-12-12 11:17

Pinned Comments

petronny commented on 2019-06-21 08:00

And about this package, I've splitted it into mxnet{,-cuda,-mkl}. And it will take lots of time and space to compile.

The pre-built binaries of mxnet{,-cuda,-mkl} and their dependencies can be found in arch4edu.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6

petronny commented on 2017-02-27 19:04

Thanks for reply.
I'm not familiar with mxnet so I trust your decisions.

And one more thing needs fixing in PKGBUILD:
please add
echo "ADD_LDFLAGS = -L/opt/cuda/lib64/stubs" >> config.mk
in prepare() for "-lcuda"

Godisemo commented on 2017-02-27 16:24

@petronny

I recall that libmxnet.so is linked to libmklml_intel.so and does not check for libmklml_gnu.so which I prefer. While my approach works, it might not be entirely correct.

Removing -j$(nproc) is resonable, I didn't know you could set it in the makepkg config file.

And wget should be in the makedepends.

I could look into optdepends and different blas versions. In the current version of mxnet I dont think you can use intel-mkl together with mklml, which gives a huge performance benefit at least on my computer.

Since I dont use any of hadoop, caffe or torch I can't really add the feature to the PKGBUILD since I have no way of confirming that it works. You can add it yourself if you need it, and send me a git diff and I will push it.

petronny commented on 2017-02-27 14:42

Is line 59:
install -D "$srcdir/mklml/lib/libmklml_gnu.so" "$pkgdir/usr/lib/libmklml_intel.so"
correct?

And I think you can remove the -j$(nproc) option in line 53. It should have been set in /etc/makepkg.conf.

And wget should be in the makedepends

cblas, openblas-lapack, atlas, intel-mkl should be detected and set in prepare(), and added to optdepends

hadoop, caffe, torch should be added simliarly to opencv

Please fix the PKGBUILD.

PS. you can find some compiled packages, such as hadoop, caffe-git, torch in https://mirrors.tuna.tsinghua.edu.cn/arch4edu/