Choose Your Path: Install PyTorch Locally or Launch Instantly on Supported Cloud Platforms
Get startedWe are excited to announce the release of PyTorch® 2.9 (release notes)! This release features: Updates to the stable libtorch ABI for third-party C++/CUDA extensions Symmetric memory that enables easy…
Read MorePyTorch Conference: October 22–23, 2025, San Francisco, CA Open Source AI Week’s flagship event, PyTorch Conference 2025, brings together AI pioneers, researchers, developers, and startup founders for keynotes, technical talks, tutorials,…
Read MoreWe’re excited to welcome the first cohort of PyTorch Ambassadors ever! The new PyTorch Ambassador Program highlights and supports passionate community leaders who educate, advocate for, build with PyTorch Foundation…
Read More Join PyTorch FoundationAs a member of the PyTorch Foundation, you’ll have access to resources that allow you to be stewards of stable, secure, and long-lasting codebases. You can collaborate on training, local and regional events, open-source developer tooling, academic research, and guides to help new users and contributors have a productive experience.
EXPLORE BENEFITS Key Features & Capabilities Production ReadyTransition seamlessly between eager and graph modes with TorchScript, and accelerate the path to production with TorchServe.
Distributed TrainingScalable distributed training and performance optimization in research and production is enabled by the torch.distributed backend.
Robust EcosystemA rich ecosystem of tools and libraries extends PyTorch and supports development in computer vision, NLP and more.
Cloud SupportPyTorch is well supported on major cloud platforms, providing frictionless development and easy scaling.
Install PyTorchSelect your preferences and run the install command. Stable represents the most currently tested and supported version of PyTorch. This should be suitable for many users. Preview is available if you want the latest, not fully tested and supported, builds that are generated nightly. Please ensure that you have met the prerequisites below (e.g., numpy), depending on your package manager. Anaconda is our recommended package manager since it installs all dependencies. You can also install previous versions of PyTorch. Note that LibTorch is only available for C++.
NOTE: Latest Stable PyTorch requires Python 3.9 or later. Latest Preview (Nightly) PyTorch requires Python 3.10 or later.
pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118Previous versions of PyTorch Quick Start With Cloud Partners
Get up and running with PyTorch quickly through popular cloud platforms and machine learning services.
Featured ProjectsExplore a rich ecosystem of libraries, tools, and more to support development.
CaptumCaptum (“comprehension” in Latin) is an open source, extensible library for model interpretability built on PyTorch.
PyTorch GeometricPyTorch Geometric is a library for deep learning on irregular input data such as graphs, point clouds, and manifolds.
skorchskorch is a high-level library for PyTorch that provides full scikit-learn compatibility.
Companies & Universities Using PyTorch Amazon AdvertisingReduce inference costs by 71% and scale out using PyTorch, TorchServe, and AWS Inferentia.
READ CASE STUDIES SalesforcePushing the state of the art in NLP and Multi-task learning.
Stanford UniversityUsing PyTorch’s flexibility to efficiently research new algorithmic approaches.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.5