You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/source/notes/get_start_xpu.rst
+35-16Lines changed: 35 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,27 +4,46 @@ Getting Started on Intel GPU
4
4
Hardware Prerequisite
5
5
---------------------
6
6
7
+
For Intel Data Center GPU
8
+
7
9
.. list-table::
8
-
:widths: 50 50
10
+
:widths: 50 50 50 50
9
11
:header-rows: 1
10
12
11
-
* - Supported OS
12
-
- Validated Hardware
13
-
* - Linux
14
-
- Intel® Client GPUs / Intel® Data Center GPU Max Series
15
-
* - Windows
16
-
- Intel® Client GPUs
17
-
* - WSL2 (experimental feature)
18
-
- Intel® Client GPUs
19
-
20
-
Intel GPUs support (Prototype) is ready in PyTorch* 2.6 for Intel® Client GPUs and Intel® Data Center GPU Max Series on both Linux and Windows, which brings Intel GPUs and the SYCL* software stack into the official PyTorch stack with consistent user experience to embrace more AI application scenarios.
13
+
* - Device
14
+
- Red Hat* Enterprise Linux* 9.2
15
+
- SUSE Linux Enterprise Server* 15 SP5
16
+
- Ubuntu* Server 22.04 (>= 5.15 LTS kernel)
17
+
* - Intel® Data Center GPU Max Series (CodeName: Ponte Vecchio)
Intel GPUs support (Prototype) is ready from PyTorch* 2.5 for Intel® Client GPUs and Intel® Data Center GPU Max Series on both Linux and Windows, which brings Intel GPUs and the SYCL* software stack into the official PyTorch stack with consistent user experience to embrace more AI application scenarios.
21
40
22
41
Software Prerequisite
23
42
---------------------
24
43
25
-
To use PyTorch on Intel GPUs, you need to install the Intel GPUs driver first. For installation guide, visit `Intel GPUs Driver Installation <https://www.intel.com/content/www/us/en/developer/articles/tool/pytorch-prerequisites-for-intel-gpu/2-6.html#driver-installation>`_.
44
+
To use PyTorch on Intel GPUs, you need to install the Intel GPUs driver first. For installation guide, visit `Intel GPUs Driver Installation <https://www.intel.com/content/www/us/en/developer/articles/tool/pytorch-prerequisites-for-intel-gpu.html#driver-installation>`_.
26
45
27
-
Please skip the Intel® Deep Learning Essentials installation section if you install from binaries. For building from source, please refer to `PyTorch Installation Prerequisites for Intel GPUs <https://www.intel.com/content/www/us/en/developer/articles/tool/pytorch-prerequisites-for-intel-gpu/2-6.html>`_ for both Intel GPU Driver and Intel® Deep Learning Essentials Installation.
46
+
Please skip the Intel® Deep Learning Essentials installation section if you install from binaries. For building from source, please refer to `PyTorch Installation Prerequisites for Intel GPUs <https://www.intel.com/content/www/us/en/developer/articles/tool/pytorch-prerequisites-for-intel-gpu.html>`_ for both Intel GPU Driver and Intel® Deep Learning Essentials Installation.
28
47
29
48
30
49
Installation
@@ -33,7 +52,7 @@ Installation
33
52
Binaries
34
53
^^^^^^^^
35
54
36
-
Now that we have `Intel GPU Driver <https://www.intel.com/content/www/us/en/developer/articles/tool/pytorch-prerequisites-for-intel-gpu/2-6.html#driver-installation>`_ installed, use the following commands to install ``pytorch``, ``torchvision``, ``torchaudio`` on Linux.
55
+
Now that we have `Intel GPU Driver <https://www.intel.com/content/www/us/en/developer/articles/tool/pytorch-prerequisites-for-intel-gpu.html#driver-installation>`_ installed, use the following commands to install ``pytorch``, ``torchvision``, ``torchaudio`` on Linux.
37
56
38
57
For release wheels
39
58
@@ -52,7 +71,7 @@ For nightly wheels
52
71
From Source
53
72
^^^^^^^^^^^
54
73
55
-
Now that we have `Intel GPU Driver and Intel® Deep Learning Essentials <https://www.intel.com/content/www/us/en/developer/articles/tool/pytorch-prerequisites-for-intel-gpu/2-6.html>`_ installed. Follow guides to build ``pytorch``, ``torchvision``, ``torchaudio`` from source.
74
+
Now that we have `Intel GPU Driver and Intel® Deep Learning Essentials <https://www.intel.com/content/www/us/en/developer/articles/tool/pytorch-prerequisites-for-intel-gpu.html>`_ installed. Follow guides to build ``pytorch``, ``torchvision``, ``torchaudio`` from source.
56
75
57
76
Build from source for ``torch`` refer to `PyTorch Installation Build from source <https://github.com/pytorch/pytorch?tab=readme-ov-file#from-source>`_.
58
77
@@ -88,7 +107,7 @@ If you are migrating code from ``cuda``, you would change references from ``cuda
88
107
The following points outline the support and limitations for PyTorch with Intel GPU:
89
108
90
109
#. Both training and inference workflows are supported.
91
-
#. Both eager mode and ``torch.compile`` is supported.
110
+
#. Both eager mode and ``torch.compile`` is supported. The feature ``torch.compile`` is also supported on Windows from PyTorch* 2.7 with Intel GPU, refer to `How to Use Inductor on Windows with CPU/XPU <https://pytorch.org/tutorials/prototype/inductor_windows_cpu.html>`_.
92
111
#. Data types such as FP32, BF16, FP16, and Automatic Mixed Precision (AMP) are all supported.
0 commit comments