Skip to main content

pytorch-xpu-setup

Stars15
Forks1
UpdatedApril 25, 2026 at 10:25

Guide for installing, configuring, and using PyTorch with Intel XPU (GPU) support. Use this skill whenever the user mentions: PyTorch with Intel GPU, XPU, torch.xpu, Intel Arc GPU for deep learning, Intel discrete GPU with PyTorch, installing PyTorch for Intel graphics, XPU device in PyTorch, migrating CUDA code to XPU, Intel oneAPI with PyTorch, or any task involving running PyTorch workloads on Intel GPUs (Arc A-series, B-series, Meteor Lake, Arrow Lake, Lunar Lake, Panther Lake, Data Center GPU Max). Also trigger when the user asks about mixed precision on XPU, torch.compile on XPU, or training/inference on Intel GPUs. Even if they just say "Intel GPU" and "PyTorch" in the same breath, use this skill.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

File Explorer
3 files
SKILL.md
readonly