In the following selector, you can find compute platform and configuration supported by partners and community members. Select your preferences and run the install command provided.

Compute Platform
PyTorch Build
Your OS
Run this Command:
Compute Platform
PyTorch Build
Stable
Preview (Nightly)
Your OS
Linux
Windows
Run this Command:
Select a compute platform to see the installation command.

Installing on ACC1 Platform

ACC1 is a high-performance accelerator platform provided by Vendor1. This guide will help you install PyTorch with ACC1 support.

Prerequisites

Hardware Requirements

  • ACC1-compatible accelerator hardware
  • Supported operating system (Linux)

Software Requirements

  • Python 3.9-3.12
  • ACC1 SDK 8.0 or later

Installation

pip

Use the pip package manager to install PyTorch with ACC1 support. Select your preferred options in the selector above to get the installation command.

Verification

To ensure that PyTorch was installed correctly with ACC1 support, run the following code:

import torch
print(torch.__version__)

# Check ACC1 availability
if torch.backends.acc1.is_available():
    print("ACC1 is available!")
    print(f"ACC1 devices: {torch.backends.acc1.device_count()}")
else:
    print("ACC1 is not available.")

Documentation

For more information, please visit the ACC1 Documentation.

Installing on ACC2 Platform

ACC2 is a high-performance accelerator platform provided by Vendor2. This guide will help you install PyTorch with ACC2 support.

Prerequisites

Hardware Requirements

  • ACC2-compatible accelerator hardware
  • Supported operating system (Linux)

Software Requirements

  • Python 3.9-3.12
  • ACC2 SDK or later

Installation

pip

Use the pip package manager to install PyTorch with ACC2 support. Select your preferred options in the selector above to get the installation command.

Verification

To ensure that PyTorch was installed correctly with ACC2 support, run the following code:

import torch
print(torch.__version__)

# Check ACC2 availability
if torch.backends.acc2.is_available():
    print("ACC2 is available!")
else:
    print("ACC2 is not available.")

Documentation

For more information, please visit the ACC2 Documentation.

Installing on ACC3 Platform

ACC3 is a high-performance accelerator platform provided by Vendor3. This guide will help you install PyTorch with ACC3 support.

Prerequisites

Hardware Requirements

  • ACC3-compatible accelerator hardware
  • Supported operating system (Linux)

Software Requirements

  • Python 3.9-3.12
  • ACC3 SDK or later

Installation

pip

Use the pip package manager to install PyTorch with ACC3 support. Select your preferred options in the selector above to get the installation command.

Verification

To ensure that PyTorch was installed correctly with ACC3 support, run the following code:

import torch
print(torch.__version__)

# Check ACC3 availability
if torch.backends.acc3.is_available():
    print("ACC3 is available!")
else:
    print("ACC3 is not available.")

Documentation

For more information, please visit the ACC3 Documentation.

Installing on ACC4 Platform

ACC4 is a high-performance accelerator platform provided by Vendor4. This guide will help you install PyTorch with ACC4 support.

Prerequisites

Hardware Requirements

  • ACC4-compatible accelerator hardware
  • Supported operating system (Linux)

Software Requirements

  • Python 3.9-3.12
  • ACC4 SDK or later

Installation

pip

Use the pip package manager to install PyTorch with ACC4 support. Select your preferred options in the selector above to get the installation command.

Verification

To ensure that PyTorch was installed correctly with ACC4 support, run the following code:

import torch
print(torch.__version__)

# Check ACC4 availability
if torch.backends.acc4.is_available():
    print("ACC4 is available!")
else:
    print("ACC4 is not available.")

Documentation

For more information, please visit the ACC4 Documentation.

Installing on ACC5 Platform

ACC5 is a high-performance accelerator platform provided by Vendor5. This guide will help you install PyTorch with ACC5 support.

Prerequisites

Hardware Requirements

  • ACC5-compatible accelerator hardware
  • Supported operating system (Linux)

Software Requirements

  • Python 3.9-3.12
  • ACC5 SDK or later

Installation

pip

Use the pip package manager to install PyTorch with ACC5 support. Select your preferred options in the selector above to get the installation command.

Verification

To ensure that PyTorch was installed correctly with ACC5 support, run the following code:

import torch
print(torch.__version__)

# Check ACC5 availability
if torch.backends.acc5.is_available():
    print("ACC5 is available!")
else:
    print("ACC5 is not available.")

Documentation

For more information, please visit the ACC5 Documentation.

Installing on ACC6 Platform

ACC6 is a high-performance accelerator platform provided by Vendor6. This guide will help you install PyTorch with ACC6 support.

Prerequisites

Hardware Requirements

  • ACC6-compatible accelerator hardware
  • Supported operating system (Linux)

Software Requirements

  • Python 3.9-3.12
  • ACC6 SDK or later

Installation

pip

Use the pip package manager to install PyTorch with ACC6 support. Select your preferred options in the selector above to get the installation command.

Verification

To ensure that PyTorch was installed correctly with ACC6 support, run the following code:

import torch
print(torch.__version__)

# Check ACC6 availability
if torch.backends.acc6.is_available():
    print("ACC6 is available!")
else:
    print("ACC6 is not available.")

Documentation

For more information, please visit the ACC6 Documentation.

Installing on ACC7 Platform

ACC7 is a high-performance accelerator platform provided by Vendor7. This guide will help you install PyTorch with ACC7 support.

Prerequisites

Hardware Requirements

  • ACC7-compatible accelerator hardware
  • Supported operating system (Linux)

Software Requirements

  • Python 3.9-3.12
  • ACC7 SDK or later

Installation

pip

Use the pip package manager to install PyTorch with ACC7 support. Select your preferred options in the selector above to get the installation command.

Verification

To ensure that PyTorch was installed correctly with ACC7 support, run the following code:

import torch
print(torch.__version__)

# Check ACC7 availability
if torch.backends.acc7.is_available():
    print("ACC7 is available!")
else:
    print("ACC7 is not available.")

Documentation

For more information, please visit the ACC7 Documentation.

Installing on ACC8 Platform

ACC8 is a high-performance accelerator platform provided by Vendor8. This guide will help you install PyTorch with ACC8 support.

Prerequisites

Hardware Requirements

  • ACC8-compatible accelerator hardware
  • Supported operating system (Linux)

Software Requirements

  • Python 3.9-3.12
  • ACC8 SDK or later

Installation

pip

Use the pip package manager to install PyTorch with ACC8 support. Select your preferred options in the selector above to get the installation command.

Verification

To ensure that PyTorch was installed correctly with ACC8 support, run the following code:

import torch
print(torch.__version__)

# Check ACC8 availability
if torch.backends.acc8.is_available():
    print("ACC8 is available!")
else:
    print("ACC8 is not available.")

Documentation

For more information, please visit the ACC8 Documentation.

Installing on ACC9 Platform

ACC9 is a high-performance accelerator platform provided by Vendor9. This guide will help you install PyTorch with ACC9 support.

Prerequisites

Hardware Requirements

  • ACC9-compatible accelerator hardware
  • Supported operating system (Linux)

Software Requirements

  • Python 3.9-3.12
  • ACC9 SDK or later

Installation

pip

Use the pip package manager to install PyTorch with ACC9 support. Select your preferred options in the selector above to get the installation command.

Verification

To ensure that PyTorch was installed correctly with ACC9 support, run the following code:

import torch
print(torch.__version__)

# Check ACC9 availability
if torch.backends.acc9.is_available():
    print("ACC9 is available!")
else:
    print("ACC9 is not available.")

Documentation

For more information, please visit the ACC9 Documentation.