Package Details: torch7-nn-git r1839.8726825-1

Git Clone URL: https://aur.archlinux.org/torch7-nn-git.git (read-only, click to copy)
Package Base: torch7-nn-git
Description: Neural networks package for Torch7
Upstream URL: https://github.com/torch/nn
Licenses: custom
Conflicts: torch7-nn
Provides: torch7-nn
Submitter: aperez
Maintainer: eclairevoyant
Last Packager: eclairevoyant
Votes: 15
Popularity: 0.000000
First Submitted: 2015-11-18 20:13 (UTC)
Last Updated: 2023-01-07 20:24 (UTC)

Dependencies (3)

Sources (1)

Latest Comments

yodaembedding commented on 2023-05-11 00:30 (UTC)

torch7-git cmake git should all be makedepends.

fuan_k commented on 2018-09-16 21:22 (UTC) (edited on 2018-09-16 21:28 (UTC) by fuan_k)

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 (UTC)

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 (UTC)

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.