Package Details: torch7-git r1049.65255ba-1

Git Clone URL: (read-only, click to copy)
Package Base: torch7-git
Description: LuaJIT-based scientific computing framework
Upstream URL:
Conflicts: torch7
Provides: torch7
Submitter: aperez
Maintainer: None
Last Packager: aperez
Votes: 32
Popularity: 0.000077
First Submitted: 2015-11-17 20:38 (UTC)
Last Updated: 2016-08-28 09:13 (UTC)

Latest Comments

chrhasse commented on 2020-02-13 23:17 (UTC)

I no longer have the hardware to support this package, so I cannot fix the current out of date issue. I have disowned it and I hope that someone else is capable of taking up the mantle.

jmcateer commented on 2017-04-26 16:38 (UTC)

@NaxNir to do that you need to install 'torch7-trepl-git'. Also the '$' is part of your prompt, it's not typed into the terminal. 'th' is sufficient.

NaxNir commented on 2017-03-27 01:03 (UTC)

Maybe I'm misunderstanding something, but when I type `$ th' isn't that supposed to run torch? Bash reports that it doesn't know the command.

petronny commented on 2016-08-28 03:33 (UTC)

missing makedepends: git

aperez commented on 2016-07-25 20:40 (UTC)

@soupault: I have added torch7-trepl-git as an optdepends, thanks for the suggestion.

soupault commented on 2016-06-20 14:08 (UTC)

Please, consider adding `torch7-trepl-git` as an optional dependency.

elanglois commented on 2016-04-27 02:27 (UTC)

@tastyminerals Run with luajit instead of lua. Lua isn't finding torch because it is installed to /usr/share/lua/5.1 (used by luajit) instead of 5.3 (used by latest lua). Aside from the version difference, Torch appears to have been designed specifically for luajit.

tastyminerals commented on 2016-04-03 17:33 (UTC) (edited on 2016-04-03 17:34 (UTC) by tastyminerals)

After this package installation: > require "torch" stdin:1: module 'torch' not found: no field package.preload['torch'] no file '/usr/share/lua/5.3/torch.lua' no file '/usr/share/lua/5.3/torch/init.lua' no file '/usr/lib/lua/5.3/torch.lua' no file '/usr/lib/lua/5.3/torch/init.lua' no file './torch.lua' no file './torch/init.lua' no file '/usr/lib/lua/5.3/' no file '/usr/lib/lua/5.3/' no file './' stack traceback: [C]: in function 'require' stdin:1: in main chunk [C]: in ? How to run it?

swiftscythe commented on 2016-02-23 15:41 (UTC)

Could you change the source line so that it goes through the https protocol and hence works behind a proxy? Thank you: source=("${pkgname}::git+")

swiftscythe commented on 2016-02-22 18:22 (UTC)

Hi! Are you able to build this package? I am getting the following error: /src/torch7-git/lib/TH/generic/THTensorMath.c:395:3: error: non-floating-point argument in call to function ‘__builtin_isnan’ TH_TENSOR_APPLY(real, tensor, I only get this error with GCC, not with Clang... Thanks in advance :)

efzee commented on 2015-12-11 01:00 (UTC)

@aperez: Did you have any luck with the awesome wm problems? I haven't had a chance to look at it yet. Thanks

aperez commented on 2015-12-01 10:41 (UTC)

@efzee: From the error in the post you have linked (thanks, by the way), it seems that Awesome is picking LuaJIT to work, and likely “” has been built against Lua. In Arch we have a separate “luajit-lgi”, which works with LuaJIT instead of stock Lua. This is just a guess (as I haven't had the time to sit down and test things), but I think it should be possible to either fix Awesome to not use LuaJIT, or use a private module installation path for Torch7. I'll post a comment here when I have a better idea of what to do.

efzee commented on 2015-11-30 22:01 (UTC)

@aperez: thanks for your reply. I found some more info at the torch google groups!topic/torch7/-4KEIKplTSk

aperez commented on 2015-11-30 21:46 (UTC)

@efzee: IIUC, Awesome uses Lua as well. It could be that this package installs some Lua module that conflicts with the name of some module from Awesome. I'll try to look into that. One option could be to install Torch7 (and its modules) in a separate path, though if possible I would prefer that the Torch7 modules stay (as they are now) in the normal Lua module search paths, to be able to use Torch modules along with other third party modules.

efzee commented on 2015-11-30 21:23 (UTC)

Has anyone tried running this with Aweseome WM? After installing torch awesome stopped working. I had to uninstall torch and reinstall awesome and everything was fixed.