Need advice about which tool to choose?Ask the StackShare community!

PyTorch

1.2K
1.3K
+ 1
42
Torch

33
51
+ 1
0
Add tool

PyTorch vs Torch: What are the differences?

What is PyTorch? A deep learning framework that puts Python first. 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.

What is Torch? An open-source machine learning library and a script language based on the Lua programming language. It is easy to use and efficient, thanks to an easy and fast scripting language, LuaJIT, and an underlying C/CUDA implementation.

PyTorch and Torch can be categorized as "Machine Learning" tools.

PyTorch is an open source tool with 31.4K GitHub stars and 7.71K GitHub forks. Here's a link to PyTorch's open source repository on GitHub.

Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of PyTorch
Pros of Torch
  • 14
    Easy to use
  • 11
    Developer Friendly
  • 10
    Easy to debug
  • 7
    Sometimes faster than TensorFlow
    Be the first to leave a pro

    Sign up to add or upvote prosMake informed product decisions

    Cons of PyTorch
    Cons of Torch
    • 3
      Lots of code
    • 1
      It eats poop
    • 1
      It

    Sign up to add or upvote consMake informed product decisions

    What is PyTorch?

    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.

    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.

    Need advice about which tool to choose?Ask the StackShare community!

    What companies use PyTorch?
    What companies use Torch?
      No companies found
      See which teams inside your own company are using PyTorch or Torch.
      Sign up for StackShare EnterpriseLearn More

      Sign up to get full access to all the companiesMake informed product decisions

      What tools integrate with PyTorch?
      What tools integrate with Torch?

      Sign up to get full access to all the tool integrationsMake informed product decisions

      Blog Posts

      PythonDockerKubernetes+14
      11
      2224
      Dec 4 2019 at 8:01PM

      Pinterest

      JenkinsKubernetesTensorFlow+4
      5
      3045
      What are some alternatives to PyTorch and Torch?
      TensorFlow
      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.
      Keras
      Deep Learning library for Python. Convnets, recurrent neural networks, and more. Runs on TensorFlow or Theano. https://keras.io/
      Caffe2
      Caffe2 is deployed at Facebook to help developers and researchers train large machine learning models and deliver AI-powered experiences in our mobile apps. Now, developers will have access to many of the same tools, allowing them to run large-scale distributed training scenarios and build machine learning applications for mobile.
      MXNet
      A deep learning framework designed for both efficiency and flexibility. It allows you to mix symbolic and imperative programming to maximize efficiency and productivity. At its core, it contains a dynamic dependency scheduler that automatically parallelizes both symbolic and imperative operations on the fly.
      scikit-learn
      scikit-learn is a Python module for machine learning built on top of SciPy and distributed under the 3-Clause BSD license.
      See all alternatives