Torch

From Alliance Doc
Revision as of 20:03, 31 July 2017 by Mboisson (talk | contribs) (Created page with "{{Draft}} Torch is available in the form of a module. In order to use it, you must first load the cuda module. {{Command|module load cuda torch}} will give you the latest...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


This article is a draft

This is not a complete article: This is a draft, a work in progress that is intended to be published into an article, which may or may not be ready for inclusion in the main wiki. It should not necessarily be considered factual or authoritative.




Torch is available in the form of a module. In order to use it, you must first load the cuda module.

Question.png
[name@server ~]$ module load cuda torch

will give you the latest version available.

Installing Lua packages

Torch comes with the Lua package manager, named luarocks. By design, luarocks will allow you to install new packages, but will not find the system packages. To install packages in your own folder, use the following:

Question.png
[name@server ~]$ {{{1}}}

By experience, we often find packages that do not install quite well through luarocks. If you have a package that is not installed in the default module and need help installing it, please contact our Technical support