Open nonchip opened 6 years ago
This could be because your torch binaries were compiled for a newer processor architecture than the one you are running it on (e.g. a binary compiled with -mavx but running on a pre-Sandy Bridge processor).
As mentioned in https://github.com/torch/torch7/issues/666 (haha, this issue :imp: )
@tastyminerals nope, it couldn't, since luarocks is supposed to (and seemed to) compile them on the target machine. if it actually didn't for some critical stuff, maybe you should just stop providing binary blobs.
finally got it to run though when creating a completely isolated setup of luajit/rocks/modules, see https://gist.github.com/nonchip/2c93ff2d9bc1bf2cd12bc6e76010da0f for the cuda part and https://github.com/nonchip/bnbot/blob/master/setup.sh for the kind of setup I made in my project.
I installed torch as per the documentation, then tried to write a simple
rnn
script, but it crashed immediately with an illegal instruction.simplified my code down to be just:
I run it with just
luajit test.lua
Expected output:
Actual situation:
running with
th
instead ofluajit
behaves the same, in fact, runningth
with any arguments except--help
(which works) also crashes with an illegal instruction.my CPU:
my GPU:
02:00.0 VGA compatible controller: NVIDIA Corporation GM200 [GeForce GTX 980 Ti] (rev a1)
driver versions (and their respective sources):cuda device info: