<div dir="ltr"><div><div><div><div><div><div><div><div>Hi,<br><br></div>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.<br><br></div>0. Going to <a href="http://torch.ch/docs/getting-started.html" target="_blank">http://torch.ch/docs/getting-<wbr>started.html</a><br></div>1. Run <code class="m_7219977713227693131gmail-language-bash">git clone <a href="https://github.com/torch/distro.git" target="_blank">https://github.com/torch/<wbr>distro.git</a> ~/torch --recursive<br></code></div><code class="m_7219977713227693131gmail-language-bash"><font face="arial,helvetica,sans-serif">2. Skip the second line and directly run <span style="font-family:monospace,monospace">cd ~/torch; ~/torch/install.sh</span> as we already have all the packages.<br></font></code></div><code class="m_7219977713227693131gmail-language-bash"><font face="arial,helvetica,sans-serif">3. After it finishes, run </font></code><code class="m_7219977713227693131gmail-language-bash"><font face="arial,helvetica,sans-serif"><span style="font-family:monospace,monospace">source ~/.bashrc<font face="arial,helvetica,sans-serif"> (and maybe </font>source ~/.bash_profile<font face="arial,helvetica,sans-serif">)</font><br></span></font></code></div><code class="m_7219977713227693131gmail-language-bash"><font face="arial,helvetica,sans-serif"><span style="font-family:monospace,monospace"><font face="arial,helvetica,sans-serif">4. Now torch should be ready to use by typing <font face="monospace,monospace">th.<font face="arial,helvetica,sans-serif">You can also try <font face="monospace,monospace">~/torch/test.sh <font face="arial,helvetica,sans-serif">to run the unit tests. On GPU2, it failed a few tests for me</font></font></font></font> due to out of memory and precision but I can run some Torch codes with no problem. <br></font></span></font></code></div><div><code class="m_7219977713227693131gmail-language-bash"><font face="arial,helvetica,sans-serif"><span style="font-family:monospace,monospace"><font face="arial,helvetica,sans-serif"><br></font></span></font></code></div><div><code class="m_7219977713227693131gmail-language-bash"><font face="arial,helvetica,sans-serif"><span style="font-family:monospace,monospace"><font face="arial,helvetica,sans-serif">If you have questions or comments please do not hesitate to contact me.<br></font></span></font></code></div><div><code class="m_7219977713227693131gmail-language-bash"><font face="arial,helvetica,sans-serif"><span style="font-family:monospace,monospace"><font face="arial,helvetica,sans-serif"><br></font></span></font></code></div><code class="m_7219977713227693131gmail-language-bash"><font face="arial,helvetica,sans-serif"><span style="font-family:monospace,monospace"><font face="arial,helvetica,sans-serif">Best,<br></font></span></font></code></div><div><code class="m_7219977713227693131gmail-language-bash"><font face="arial,helvetica,sans-serif"><span style="font-family:monospace,monospace"><font face="arial,helvetica,sans-serif">Hanqi<br></font></span></font></code></div><code class="m_7219977713227693131gmail-language-bash"><font face="arial,helvetica,sans-serif"><span style="font-family:monospace,monospace"><font face="arial,helvetica,sans-serif"></font></span></font></code></div>