Torch logo


An open-source machine learning library and a script language based on the Lua programming language
+ 1

What is Torch?

It is easy to use and efficient, thanks to an easy and fast scripting language, LuaJIT, and an underlying C/CUDA implementation.
Torch is a tool in the Machine Learning Tools category of a tech stack.
Torch is an open source tool with 9K GitHub stars and 2.4K GitHub forks. Here’s a link to Torch's open source repository on GitHub

Who uses Torch?


91 developers on StackShare have stated that they use Torch.

Torch Integrations

Python, Databricks, Flair,, and SQLFlow are some of the popular tools that integrate with Torch. Here's a list of all 7 tools that integrate with Torch.

Torch's Features

  • A powerful N-dimensional array
  • Lots of routines for indexing, slicing, transposing
  • Amazing interface to C, via LuaJIT
  • Linear algebra routines
  • Neural network, and energy-based models
  • Numeric optimization routines
  • Fast and efficient GPU support
  • Embeddable, with ports to iOS and Android backends

Torch Alternatives & Comparisons

What are some alternatives to Torch?
PyTorch is not a Python binding into a monolothic C++ framework. It is built to be deeply integrated into Python. You can use it naturally like you would use numpy / scipy / scikit-learn etc.
TensorFlow is an open source software library for numerical computation using data flow graphs. Nodes in the graph represent mathematical operations, while the graph edges represent the multidimensional data arrays (tensors) communicated between them. The flexible architecture allows you to deploy computation to one or more CPUs or GPUs in a desktop, server, or mobile device with a single API.
JavaScript is most known as the scripting language for Web pages, but used in many non-browser environments as well such as node.js or Apache CouchDB. It is a prototype-based, multi-paradigm scripting language that is dynamic,and supports object-oriented, imperative, and functional programming styles.
Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
GitHub is the best place to share code with friends, co-workers, classmates, and complete strangers. Over three million people use GitHub to build amazing things together.
See all alternatives

Torch's Followers
61 developers follow Torch to keep up with related blogs and decisions.