This guide follows PyTorch's official "Getting Started on Intel GPU" documentation, Intel's PyTorch prerequisites page and PyTorch's and Python's installation guides, all read on 27 November 2026.
PyTorch is the library behind a lot of local AI software, from image generators to fine-tuning scripts. On NVIDIA cards it runs through CUDA, but Intel Arc graphics cards and the Arc graphics in Core Ultra processors use a different backend called XPU, and it's now part of official PyTorch rather than a separate add-on. Installing it is mostly a matter of updating your driver and using the right download link. If you have an NVIDIA or AMD card instead, see our guides to installing PyTorch with CUDA or PyTorch with ROCm on Windows.
Before you start: check your hardware is on the list
Intel's PyTorch prerequisites page, written for PyTorch 2.16, lists the hardware it has verified with Windows 11:
Intel Arc A-Series graphics cards
Intel Arc B-Series graphics cards, such as the Intel Arc B580 Limited Edition 12GB
Intel Core Ultra processors with Intel Arc graphics, including Series 2 and the Series 3 mobile chips
The Arc Pro B50, B60, B65 and B70 workstation cards appear on Intel's verified list for Ubuntu 26.04 and 24.04, but not on its Windows 11 list. They use the same Battlemage architecture as the Arc B-Series, so they may work, but if you've bought an Arc Pro card mainly for AI, Linux is the route Intel has verified. Our Arc Pro B50 vs Arc Pro B60 comparison covers the differences between those two cards.
Step 1: Update your Intel graphics driver
Intel says that if you're installing PyTorch from the official packages (wheels) with pip, the Intel GPU driver is the only prerequisite, because the other runtime libraries come with the packages. Intel says PyTorch 2.16 is validated against Windows graphics driver 32.0.101.9175 WHQL and recommends that version or newer.
Install the latest driver from Intel's website. If you think you might use torch.compile later, Intel says to include the LevelZeroSDK component when you run the driver installer, as it's needed for torch.compile on Windows. Restart afterwards.
Step 2: Install Python
PyTorch's Start Locally page says the latest stable PyTorch requires Python 3.11 or later, so install a current version of Python for Windows. If typing python in PowerShell afterwards gives a "not recognised" error, Windows can't find it; our guide to adding a folder to PATH in Windows 11 shows how to fix that.
Step 3: Create a virtual environment
A virtual environment keeps this PyTorch install separate from any other Python projects on your PC, so different apps can't break each other. Open PowerShell in the folder where you want your project and run:
python -m venv arc-pytorch
arc-pytorch\Scripts\Activate.ps1
The first command creates the environment, and the second activates it in PowerShell. In Command Prompt, use arc-pytorch\Scripts\activate.bat instead. Your prompt should now start with (arc-pytorch).
Step 4: Install PyTorch for XPU
PyTorch's Intel GPU guide gives this command for the latest stable release with Intel GPU support:
pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/xpu
The important part is the /whl/xpu address at the end: it's what tells pip to fetch the Intel GPU (XPU) build, so don't leave it off. The packages are large, so the download can take a while. PyTorch also offers nightly builds from https://download.pytorch.org/whl/nightly/xpu, but stick with the stable release unless an app asks for a nightly.
Step 5: Check PyTorch can see your Arc GPU
With the environment still active, start Python by typing python, then run the check from PyTorch's guide:
import torch
print(torch.xpu.is_available())
If it prints True, PyTorch can use your Intel GPU. If it prints False, PyTorch's guide says to double-check your Intel GPU driver installation, so go back to Step 1, install the latest driver and restart. Also check you're inside the virtual environment and that you used the /whl/xpu address when installing.
Step 6: Point your code at the GPU
Code written for NVIDIA cards usually sends work to the GPU with "cuda". For an Intel GPU, PyTorch's guide says to change those references to "xpu", for example:
tensor = torch.tensor([1.0, 2.0]).to("xpu")
PyTorch says both training and inference work on Intel GPUs, along with FP32, BF16 and FP16 data types and automatic mixed precision, and that torch.compile is supported on Windows from PyTorch 2.7. One catch if you have an older Arc A-Series card: PyTorch notes that training with GradScaler needs FP64 support, which the Arc A-Series doesn't have natively, so it tells you to disable GradScaler on those cards.
Some AI projects only document Linux. Intel's prerequisites page also covers WSL2, where the Windows driver handles the GPU and you install Intel's compute runtime packages inside Ubuntu, with no separate Linux GPU driver. Intel says /dev/dxg must exist inside WSL2 and clinfo -l must list an Intel device for it to work. Our WSL2 GPU setup guide covers the basics of WSL2 itself.
If you'd rather not touch Python at all, many local AI apps bundle everything they need. Our guide to running local AI on an Intel Arc GPU and our best local AI apps for Intel Arc cover those options.
Our verdict
Installing PyTorch for an Intel Arc GPU on Windows 11 is now straightforward: update to Intel's driver 32.0.101.9175 or newer, create a Python virtual environment, install PyTorch from the download.pytorch.org/whl/xpu address and check that torch.xpu.is_available() returns True. Then change "cuda" to "xpu" in your code. It's well suited to Arc A-Series and B-Series cards and Core Ultra laptops, which Intel has verified on Windows 11, while Arc Pro owners will find Intel's verified support is on Ubuntu.