Repository: pytorch
Issue: xpu: clarify which Intel GPUs are supported by PyTorch 2.5
Labels: module: docs,triaged,module: xpu

Can it, please, be clarified which Intel GPUs are supported by XPU backend in PyTorch 2.5? I am reviewing 2 dedicated articles:
* https://pytorch.org/docs/2.5/notes/get_start_xpu.html on PyTorch side has a note that "Intel® Data Center GPU Max Series" is supported for Linux and "Intel Client GPUs" are supported on Linux/Windows. The first one is clear and matches [Intel® Data Center GPU Max Series](https://ark.intel.com/content/www/us/en/ark/products/series/232874/intel-data-center-gpu-max-series.html). The second one (Intel Client GPUs) is ambiguous and might mean few different generations of Intel GPUs. So, further clarification is needed.
* https://www.intel.com/content/www/us/en/developer/articles/tool/pytorch-prerequisites-for-intel-gpu/2-5.html - this document is on Intel side and provides further clarification on prerequisite setup instructions and supported hardware. Here, support of Max Series is also clear. However, for Intel Client GPUs it raises some questions. 

I will list my questions on the 2nd document below. But first I will just post my take of from this document on supported Intel GPUs for PyTorch 2.5 - **please, clarify is this correct or not (and document needs polishing)**?
| GPU | OS | Notes |
| --- | --- | --- |
| [Intel® Data Center GPU Max Series](https://ark.intel.com/content/www/us/en/ark/products/series/232874/intel-data-center-gpu-max-series.html) | Linux (OSes as described on dgpu-docs.intel.com) | Discrete Server GPU card |
| [Products formerly Alchemist](https://ark.intel.com/content/www/us/en/ark/products/codename/226095/products-formerly-alchemist.html) | Ubuntu 22.04, Windows, WSL2 | Discrete Client GPU cards, [Intel® Arc™ A-Series Graphics](https://ark.intel.com/content/www/us/en/ark/products/series/227957/intel-arc-a-series-graphics.html) |
| [Products formerly Meteor Lake](https://ark.intel.com/content/www/us/en/ark/products/codename/90353/products-formerly-meteor-lake.html) | Ubuntu 22.04, Windows, WSL2 | Integrated graphics |
| [Products formerly Lunar Lake](https://ark.intel.com/content/www/us/en/ark/products/codename/213792/products-formerly-lunar-lake.html) | **not supported** | Integrated graphics |
| [Products formerly Arrow Lake](https://ark.intel.com/content/www/us/en/ark/products/codename/225837/products-formerly-arrow-lake.html) | **not supported** | Integrated graphics |

Here are questions/concerns I have on the document:

* The document was updated few times during last few days without access to version history. Frequent updates are understandable since it's being prepared to PyTorch 2.5, but I am pretty sure that in one of the versions it did talk about support for Lunar Lake, but now I don't see this GPU mentioned.

* Document does not have links to Intel GPU descriptions, for example on ark.intel.com. It also uses names for the GPUs which are ambiguous and don't match descriptions on ark.intel.com and other intel registry materials. It also uses lower level names such as DG2 which is typically used in driver sources and might be known to limited group of people. Here is a snapshot from the current version of the document:

| OS Version | Supported Client GPUs |
| -- | -- |
| Ubuntu 22.04, WSL2 (Ubuntu 22.04) | Intel® Arc™ Graphics family (Codename DG2) |
| Ubuntu 24.04, WSL2 (Ubuntu 24.04) | Intel® Core™ Ultra processor family with Intel® Graphics (Codename Meteor Lake)<br>Intel® Arc™ Graphics family (Codename DG2) |
| Windows 11 Family, Windows 10 (22H2) | Intel® Core™ Ultra processor family with Intel® Graphics (Codename Meteor Lake)<br>Intel® Arc™ Graphics family (Codename DG2) |

* There are also question looking in how supported platforms are programmed to build SYCL eager mode kernels:
  * [Here](https://github.com/intel/torch-xpu-ops/blob/7e3d00acea9f0d3728048a5b2743de20d55c64ba/cmake/BuildFlags.cmake#L122) for Linux: `pvc,xe-lpg,ats-m150`
  * [Here](https://github.com/intel/torch-xpu-ops/blob/7e3d00acea9f0d3728048a5b2743de20d55c64ba/cmake/BuildFlags.cmake#L120) for Windows `ats-m150,lnl-m,mtl-u,mtl-h`
  * `ats-m150` means 170 versions of [Intel® Data Center GPU Flex Series](https://ark.intel.com/content/www/us/en/ark/products/series/230021/intel-data-center-gpu-flex-series.html) - it's not on the supported list. And DG2 is not on the prebuild kernels list. Likely due to architecture similarity `ats-m150` will allow DG2 to work, but are there any consequences?
  * `xe-lpg` means some GPU family. Likely Meteor Lake is in it, but is there any other GPUs included? if yes - which?
  * `lnl-m` suggests that Lunar Lake might be supported at least on Windows. Not sure about Linux - see prev. question, what's `xe-lpg`?
  * Arrow Lake does not seem to be on the supported list unless also included in `xe-lpg`

CC: @gujinghui @EikanWang @fengyuan14 @guangyey @jgong5 @vlad-penkin

cc @svekars @brycebortree @sekyondaMeta @gujinghui @EikanWang @fengyuan14 @guangyey