lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hello shkadzko, thanks for the feedback. A few of those rocks do install. Had some CUDA dependency issues, though.

2018-01-31 9:57 GMT-03:00 p. shkadzko <p.shkadzko@gmail.com>:
Here is a list of additional Lua and Torch dependencies that I use.
You can pick whatever you feel you might need.

# install torch
RUN git clone https://github.com/torch/distro.git /torch --recursive \
    && cd /torch \
    && ./install.sh \
    && cd ..

# install torch deps
RUN /torch/install/bin/luarocks install dpnn \
    && /torch/install/bin/luarocks install optim \
    && /torch/install/bin/luarocks install cunn \ 
    && /torch/install/bin/luarocks install cudnn \
    && /torch/install/bin/luarocks install luautf8 \
    && /torch/install/bin/luarocks install penlight \
    && /torch/install/bin/luarocks install moses \
    && /torch/install/bin/luarocks install torchx \
    && /torch/install/bin/luarocks install lua-cjson \
    && /torch/install/bin/luarocks install csv \
    && /torch/install/bin/luarocks install autograd \
    && /torch/install/bin/luarocks install dataload \
    && /torch/install/bin/luarocks install torchnet \
    && /torch/install/bin/luarocks install cutorch \
    && /torch/install/bin/luarocks install https://raw.githubusercontent.com/Kaixhin/torch-pastalog/master/rocks/pastalog-scm-1.rockspec \
    && git clone https://github.com/Element-Research/rnn.git
    && cd rnn \
    && /torch/install/bin/luarocks make rocks/rnn-scm-1.rockspec \
    && cd .. \

The latest Torch does not support old rnn code that uses Element-Research classes.
In order to make you older recurrent models work you have to install Element-Research/rnn package separately otherwise just use "/torch/install/bin/luarocks rnn".

Best,
Pavel


On Wed, Jan 31, 2018 at 12:33 PM, Italo Maia <italo.maia@gmail.com> wrote:
How do I install those?

2018-01-31 8:31 GMT-03:00 p. shkadzko <p.shkadzko@gmail.com>:
Hi, your dockerimage won't work with models that require nnx and dpnn or the packages that are not installed by standard install.sh script. It is also incompatible with the older code that uses rnn.‎ 

Sent from my BlackBerry 10 smartphone.
From: Italo Maia
Sent: Wednesday, January 31, 2018 02:52
To: Lua mailing list
Reply To: Lua mailing list
Subject: Re: Building torch7


2018-01-30 19:54 GMT-03:00 Dibyendu Majumdar <mobile@majumdar.org.uk>:
Hi,

Has anyone successfully built Torch7 (https://github.com/torch/torch7)
with Lua 5.3?

Thanks and Regards
Dibyendu




--
"A arrogância é a arma dos fracos."

===========================
Me. Italo Moreira Campelo Maia
Co-fundador do Grupo de Usuários Python do Ceará
Secretário ForHacker (fb.com/ForHackerSpace)
Desenvolvedor Full-Stack, Escritor, Empresário, Visionário
-----------------------------------------------------
Meu Livro, Site, Blog
===========================




--
"A arrogância é a arma dos fracos."

===========================
Me. Italo Moreira Campelo Maia
Co-fundador do Grupo de Usuários Python do Ceará
Secretário ForHacker (fb.com/ForHackerSpace)
Desenvolvedor Full-Stack, Escritor, Empresário, Visionário
-----------------------------------------------------
Meu Livro, Site, Blog
===========================




--
"A arrogância é a arma dos fracos."

===========================
Me. Italo Moreira Campelo Maia
Co-fundador do Grupo de Usuários Python do Ceará
Secretário ForHacker (fb.com/ForHackerSpace)
Desenvolvedor Full-Stack, Escritor, Empresário, Visionário
-----------------------------------------------------
Meu Livro, Site, Blog
===========================