xpu: add XPU to additional pages#2076
Draft
dvrogozh wants to merge 2 commits into
Draft
Conversation
✅ Deploy Preview for pytorch-dot-org-preview ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
ZhaoqiongZ
reviewed
Jun 3, 2026
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>
dvrogozh
commented
Jun 15, 2026
|
|
||
| ## 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). |
Author
There was a problem hiding this comment.
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.
ashokei
reviewed
Jun 16, 2026
|
|
||
| To ensure that PyTorch was installed correctly with XPU support, run the following code: | ||
|
|
||
| ```python |
There was a problem hiding this comment.
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())]"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.