Contents

torch 2.4.1

0

Tensors and Dynamic neural networks in Python with strong GPU acceleration

Tensors and Dynamic neural networks in Python with strong GPU acceleration

How to Install torch

You can install torch using pip

pip install torch

or add it to a project with poetry

poetry add torch

Package Details

Author
PyTorch Team
License
BSD-3
Homepage
https://pytorch.org/
PyPi:
https://pypi.org/project/torch/

Classifiers

  • Scientific/Engineering
  • Scientific/Engineering/Artificial Intelligence
  • Scientific/Engineering/Mathematics
  • Software Development
  • Software Development/Libraries
  • Software Development/Libraries/Python Modules
No  torch  pypi packages just yet.

Errors

A list of common torch errors.

Code Examples

Here are some torch code examples and snippets.