Skip to content
This repository has been archived by the owner on Aug 5, 2022. It is now read-only.
/ torch Public archive

Torch is a scientific computing framework with wide support for machine learning algorithms. It is easy to use and efficient, thanks to an easy and fast scripting language, LuaJIT, and an underlying C/CUDA implementation.

License

Notifications You must be signed in to change notification settings

intel/torch

Repository files navigation

Build Status

Self-contained Torch installation

Install dependencies. Uses apt-get on Ubuntu, which might require sudo. Uses brew on OSX.

curl -s https://raw.githubusercontent.com/torch/distro/master/install-deps | bash

Install this repo, which installs the torch distribution, with a lot of nice goodies.

git clone https://github.com/torch/distro.git ~/torch --recursive
cd ~/torch; ./install.sh

By default Torch will install LuaJIT 2.1. If you want other options, you can use the command:

TORCH_LUA_VERSION=LUA51 ./install.sh
TORCH_LUA_VERSION=LUA52 ./install.sh

Now, everything should be installed. Either open a new shell, or source your profile via

. ~/.bashrc  # or: . ~/.zshrc
th -e "print 'I just installed Torch! Yesss.'"

Note: If you use a non-standard shell, you'll want to run this command

./install/bin/torch-activate

Tested on Ubuntu 14.04, CentOS/RHEL 6.3 and OSX

About

Torch is a scientific computing framework with wide support for machine learning algorithms. It is easy to use and efficient, thanks to an easy and fast scripting language, LuaJIT, and an underlying C/CUDA implementation.

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published