Kaixhin/dockerfiles

an env question of cuda-torch

BDon-Tan opened this issue · 1 comments

I pulled the container of cuda-torch by the instruction. However, I find that we don't have /root/.luarocks/config-5.1.lua/ and /usr/local/share/lua/ exists.
Why do we need to set LUA_PATH and LUA_CPATH with /root/.luarocks/config-5.1.lua/ and /usr/local/share/lua/
image

image

I don't know that much about Lua, so I just made sure that all the exports in /root/torch/install/bin/torch-activate were copied over. I just checked and the exports haven't changed, so it should be, at worst, safe to keep them as-is.