Skip to content

xpu: add XPU to additional pages#2076

Draft
dvrogozh wants to merge 2 commits into
pytorch:sitefrom
dvrogozh:xpu
Draft

xpu: add XPU to additional pages#2076
dvrogozh wants to merge 2 commits into
pytorch:sitefrom
dvrogozh:xpu

Conversation

@dvrogozh

@dvrogozh dvrogozh commented Jun 2, 2026

Copy link
Copy Markdown

Adding XPU to getting started additional pages space following procedure outlined in https://github.com/pytorch/pytorch.github.io/blob/site/additional_platforms.md

XPU is an in-tree PyTorch device backend designed to support hardware acceleration on Intel GPUs. XPU maintainers: @EikanWang, @guangyey.

@netlify

netlify Bot commented Jun 2, 2026

Copy link
Copy Markdown

Deploy Preview for pytorch-dot-org-preview ready!

Name Link
🔨 Latest commit 58b7a76
🔍 Latest deploy log https://app.netlify.com/projects/pytorch-dot-org-preview/deploys/6a3081010c98b20008d85415
😎 Deploy Preview https://deploy-preview-2076--pytorch-dot-org-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Comment thread _get_started/additional_platforms/xpu.md Outdated
Comment thread _get_started/additional_platforms/xpu.md Outdated
dvrogozh added 2 commits June 15, 2026 15:38
XPU is a PyTorch device backend designed to support hardware acceleration on Intel GPUs.

Signed-off-by: Dmitry Rogozhkin <dmitry.v.rogozhkin@intel.com>
Signed-off-by: Dmitry Rogozhkin <dmitry.v.rogozhkin@intel.com>

## Prerequisites

The system with configured Intel GPU card is required. For detailed list of supported devices and driver install instructions refer to [Getting Started on Intel GPU](https://docs.pytorch.org/docs/stable/notes/get_start_xpu.html).

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've decided to avoid duplication here with the getting started page and just note the need of Intel GPU card and redirect to existing documentation for the details.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good. Make it simpler.


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

```python

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

one liner can be useful for quick test, eg:

python -c "import torch; print(f'XPU Devices: {torch.xpu.device_count()}'); [print(f' - {torch.xpu.get_device_name(i)}') for i in range(torch.xpu.device_count())]"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants