Skip to content

Developer Environment Prerequisites

Suraj Subramanian edited this page Jul 28, 2023 · 1 revision

This wiki lists the steps for setting up a developer environment to contribute code changes to PyTorch.

Prerequisites

To develop PyTorch you will need:

  • Python 3.8 or later (for Linux, Python 3.8.1+ is needed)
  • A C++17 compatible compiler, such as clang

(optional) CUDA Support

If you want to compile with CUDA support, install the following (note that CUDA is not supported on macOS)

Note: You could refer to the cuDNN Support Matrix for cuDNN versions with the various supported CUDA, CUDA driver and NVIDIA hardware

(optional) ROCm Support

If you want to compile with ROCm support, install

  • AMD ROCm 4.0 and above installation
  • ROCm is currently supported only for Linux systems.

Next Steps

Clone this wiki locally