Compiling Torch 7
Hanqi Sun
hanqis at andrew.cmu.edu
Mon Dec 19 16:01:33 EST 2016
Hi,
I just installed Torch 7 in my home directory. I had some troubles but
managed to install it successfully. So I want to share my experience here.
0. Going to http://torch.ch/docs/getting-started.html
1. Run git clone https://github.com/torch/distro.git ~/torch --recursive
2. Skip the second line and directly run cd ~/torch; ~/torch/install.sh as
we already have all the packages.
3. After it finishes, run source ~/.bashrc (and maybe source ~/.bash_profile
)
4. Now torch should be ready to use by typing th.You can also try
~/torch/test.sh
to run the unit tests. On GPU2, it failed a few tests for me due to out of
memory and precision but I can run some Torch codes with no problem.
If you have questions or comments please do not hesitate to contact me.
Best,
Hanqi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.srv.cs.cmu.edu/pipermail/autonlab-users/attachments/20161219/3c770bc1/attachment.html>
More information about the Autonlab-users
mailing list