Package Details: torch7-git r1337.dde9e56-1

Git Clone URL: https://aur.archlinux.org/torch7-git.git (read-only, click to copy)
Package Base: torch7-git
Description: LuaJIT-based scientific computing framework
Upstream URL: http://torch.ch
Licenses: custom
Conflicts: torch7
Provides: torch7
Submitter: aperez
Maintainer: eclairevoyant
Last Packager: eclairevoyant
Votes: 33
Popularity: 0.000000
First Submitted: 2015-11-17 20:38 (UTC)
Last Updated: 2023-01-07 07:51 (UTC)

Latest Comments

1 2 Next › Last »

Winterreise commented on 2025-05-15 04:23 (UTC)

Could be built aftter cmake 4.0, and a simple patch with -DCMAKE_POLICY_VERSION_MINIMUM=3.5 does not work with error messages:

CMake Error at lib/TH/CMakeLists.txt:481 (GET_TARGET_PROPERTY):
  The LOCATION property may not be read from target "TH".  Use the target
  name directly with add_custom_command, or use the generator expression
  $<TARGET_FILE>, as appropriate.



CMake Error at lib/luaT/CMakeLists.txt:3 (CMAKE_POLICY):
  Policy CMP0026 may not be set to OLD behavior because this version of CMake
  no longer supports it.  The policy was introduced in CMake version 3.0.0,
  and use of NEW behavior is now required.

  Please either update your CMakeLists.txt files to conform to the new
  behavior or use an older version of CMake that still supports the old
  behavior.  Run cmake --help-policy CMP0026 for more information.


CMake Error at lib/luaT/CMakeLists.txt:44 (GET_TARGET_PROPERTY):
  The LOCATION property may not be read from target "luaT".  Use the target
  name directly with add_custom_command, or use the generator expression
  $<TARGET_FILE>, as appropriate.



-- Configuring incomplete, errors occurred!

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/torch.so' no file '/usr/lib/lua/5.3/loadall.so' no file './torch.so' 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+https://github.com/torch/torch7")