Eager and graph execution
PyTorch supports moving between eager execution and graph modes with TorchScript, which helps teams take models from experimentation into production-oriented workflows.
PyTorch is an open source deep learning framework for building, training, and deploying machine learning models. Supports local install, cloud quick starts, and docs for all levels.
PyTorch is an open source deep learning framework maintained by the PyTorch Foundation and presented as the community home for the PyTorch framework and ecosystem. It is used for building, training, and deploying machine learning models, with documentation and tutorials aimed at both beginners and advanced developers.
The site emphasizes two main workflows: local installation and cloud-based quick starts. The local install page lets users select operating system, package type, language, and compute platform before generating an install command, while the docs highlight production-oriented features such as TorchScript, TorchServe, and distributed training.
PyTorch supports moving between eager execution and graph modes with TorchScript, which helps teams take models from experimentation into production-oriented workflows.
The torch.distributed backend supports scalable distributed training and performance optimization for research and production workloads.
TorchServe is highlighted on the homepage as a deployment path for production serving.
The project is positioned around a broader ecosystem of tools and libraries, including featured projects such as Captum, PyTorch Geometric, and skorch.
The install flow lets users choose operating system, package, language, and compute platform before generating a command, which makes setup more specific to the target environment.
The site points to cloud partners such as AWS, Google Cloud Platform, Microsoft Azure, and lightning.ai for quick starts on supported cloud environments.
Set up PyTorch locally on Linux, macOS, or Windows by selecting the OS, package, language, and compute platform, then running the generated install command.
Verify a new installation by importing `torch` and running a simple tensor example, which the install page uses to confirm that the environment is working.
Build and train models that need scalable distributed training or performance optimization, using the `torch.distributed` backend described in the docs.
Move a model toward production with TorchScript and TorchServe, following the production-ready path highlighted on the homepage and docs.
Learn the framework through official tutorials, recipes, documentation, and cloud quick-starts when starting from scratch or expanding into a new workflow.
PyTorch is an open source framework, so the site does not present a paid pricing plan on the pages reviewed. The pricing URL in the collected evidence returns a 404 page not found.
The Get Started page supports installation with pip and shows selectable builds for Stable and Preview across Linux, macOS, and Windows. It also notes that LibTorch is only available for C++.
The local install flow supports Python, C++, and Java in the build selector, with compute options including CPU, CUDA 11.8, CUDA 12.6, CUDA 12.8, and ROCm 6.3. The docs also show a sample verification step that imports torch and creates a random tensor.
The site points users to tutorials, documentation, and resources for learning and development. The tutorials page is split into beginner and advanced material, while the docs page provides comprehensive developer documentation.
The homepage and docs emphasize production use, distributed training, and a broader ecosystem of tools and libraries. The docs also show that users can transition from eager execution to graph modes with TorchScript and accelerate deployment with TorchServe.