You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 26, 2022. It is now read-only.
Tried a fresh install of torch7 + torchcraft on MacOS.
Traces:
$ luarocks make *.rockspec
Warning: unmatched variable LUALIB
CMake Warning (dev):
Policy CMP0042 is not set: MACOSX_RPATH is enabled by default. Run "cmake
--help-policy CMP0042" for policy details. Use the cmake_policy command to
set the policy and suppress this warning.
MACOSX_RPATH is not specified for the following targets:
torchcraft
This warning is for project developers. Use -Wno-dev to suppress it.
Warning: /Users/nantas/torch/install/share/lua/5.1/torchcraft/replayer.lua is not tracked by this installation of LuaRocks. Moving it to /Users/nantas/torch/install/share/lua/5.1/torchcraft/replayer.lua~~~~
Warning: /Users/nantas/torch/install/share/lua/5.1/torchcraft/init.lua is not tracked by this installation of LuaRocks. Moving it to /Users/nantas/torch/install/share/lua/5.1/torchcraft/init.lua~~~~
Warning: /Users/nantas/torch/install/share/lua/5.1/torchcraft/_env.lua is not tracked by this installation of LuaRocks. Moving it to /Users/nantas/torch/install/share/lua/5.1/torchcraft/_env.lua~~~~
Warning: /Users/nantas/torch/install/share/lua/5.1/torchcraft/utils.lua is not tracked by this installation of LuaRocks. Moving it to /Users/nantas/torch/install/share/lua/5.1/torchcraft/utils.lua~~~~
Warning: /Users/nantas/torch/install/lib/lua/5.1/libtorchcraft.1.4.0.dylib is not tracked by this installation of LuaRocks. Moving it to /Users/nantas/torch/install/lib/lua/5.1/libtorchcraft.1.4.0.dylib~~~~
cp: /Users/nantas/torch/install/lib/luarocks/rocks/torchcraft/1.4-0/lib/libtorchcraft.dylib: No such file or directory
Error: Failed copying /Users/nantas/torch/install/lib/luarocks/rocks/torchcraft/1.4-0/lib/libtorchcraft.dylib to /Users/nantas/torch/install/lib/lua/5.1/libtorchcraft.dylib
and obviously later:
$ th simple_dll.lua -t localhost
hostname: localhost
port: 11111
/Users/nantas/torch/install/bin/luajit: /Users/nantas/torch/install/share/lua/5.1/trepl/init.lua:389: /Users/nantas/torch/install/share/lua/5.1/trepl/init.lua:389: /Users/nantas/torch/install/share/lua/5.1/trepl/init.lua:389: module 'torchcraft.tc_lib' not found:No LuaRocks module found for torchcraft.tc_lib
no field package.preload['torchcraft.tc_lib']
no file '/Users/nantas/.luarocks/share/lua/5.1/torchcraft/tc_lib.lua'
no file '/Users/nantas/.luarocks/share/lua/5.1/torchcraft/tc_lib/init.lua'
no file '/Users/nantas/torch/install/share/lua/5.1/torchcraft/tc_lib.lua'
no file '/Users/nantas/torch/install/share/lua/5.1/torchcraft/tc_lib/init.lua'
no file './torchcraft/tc_lib.lua'
no file '/Users/nantas/torch/install/share/luajit-2.1.0-beta1/torchcraft/tc_lib.lua'
no file '/usr/local/share/lua/5.1/torchcraft/tc_lib.lua'
no file '/usr/local/share/lua/5.1/torchcraft/tc_lib/init.lua'
no file '/Users/nantas/.luarocks/lib/lua/5.1/torchcraft/tc_lib.so'
no file '/Users/nantas/torch/install/lib/lua/5.1/torchcraft/tc_lib.so'
no file '/Users/nantas/torch/install/lib/torchcraft/tc_lib.dylib'
no file './torchcraft/tc_lib.so'
no file '/usr/local/lib/lua/5.1/torchcraft/tc_lib.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
no file '/Users/nantas/.luarocks/lib/lua/5.1/torchcraft.so'
no file '/Users/nantas/torch/install/lib/lua/5.1/torchcraft.so'
no file '/Users/nantas/torch/install/lib/torchcraft.dylib'
no file './torchcraft.so'
no file '/usr/local/lib/lua/5.1/torchcraft.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
stack traceback:
[C]: in function 'error'
/Users/nantas/torch/install/share/lua/5.1/trepl/init.lua:389: in function 'require'
simple_dll.lua:34: in main chunk
[C]: in function 'dofile'
...ntas/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
[C]: at 0x010166dce0
The text was updated successfully, but these errors were encountered:
I wonder if its also reported to be broken on 1.4.0 I tried a clean install without success, I'm still in 1.3-0 where luarocks make *.rockspec works just because I can't figure it out how to update correctly. )=
I think it probably is still broken. We have not used the lua frontend for over a year now, ever since we moved to PyTorch. I am considering deprecating or removing its support in a later version, but if it's important to you, could you perhaps submit a PR? I don't think there are a lot of code changes, but probably some in the CMakeLists.txt or .luarocks.
Tried a fresh install of torch7 + torchcraft on MacOS.
Traces:
and obviously later:
The text was updated successfully, but these errors were encountered: