Package Details: torch7-nn-git r1484.b56f0c0-1

Git Clone URL: https://aur.archlinux.org/torch7-nn-git.git (read-only)
Package Base: torch7-nn-git
Description: Neural networks package for Torch7
Upstream URL: https://github.com/torch/nn
Licenses: BSD
Conflicts: torch7-nn
Provides: torch7-nn
Submitter: aperez
Maintainer: None
Last Packager: aperez
Votes: 15
Popularity: 0.002553
First Submitted: 2015-11-18 20:13
Last Updated: 2016-08-28 09:16

Latest Comments

fuan_k commented on 2018-09-16 21:22

I get an error:

/opt/cuda/include/crt/host_config.h:119:2: error: #error -- unsupported GNU version! gcc versions later than 7 are not supported! #error -- unsupported GNU version! gcc versions later than 7 are not supported!

Perhaps this is due to the cuda package itself. Anyway, same as for torch7-cutorch-git, had to resort to using gcc4.9 and it worked (I think... had some warnings but I don't know if it broke anything):

cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_C_COMPILER=/path/to/gcc49/usr/bin/gcc-4.9 -DCMAKE_BUILD_TYPE=Release

Alternatively, one could use the gcc shipped with cuda in /opt/cuda/bin/gcc I guess...

Akari commented on 2017-07-23 11:22

Must require the lua-moses-git package (which should be renamed into lua51-moses-git). Additionally, a patch is needed (possibly upstream as well). Either change nn/Convert.lua:8 to require 'moses/moses' instead of 'moses', or add an init.lua file for lua-moses-git.

Libbum commented on 2016-03-11 15:15

libnn.so seems to have been renamed to libTHNN.so, which means this build is failing at the moment. Just swapping the names out on line 37 of the PKGBUILD works fine though.