# Torch Xpu Run

> Run an arbitrary Hugging Face safetensors model on an Intel GPU using upstream PyTorch (= 2.8) with the built-in torch.xpu device. Covers loading from the Hub, picking the right dtype, autocast, multi-GPU with accelerate's devicemap, and the CUDA - XPU code translation a user has to do once. Use for the Transformers / Accelerate / Diffusers path. Not for OpenAI-compatible serving (use vllm-xpu-run); explicitly not via intel-extension-for-pytorch (ipex) or ipex-llm — those paths are en

## Facts
- Page: https://tashan.sh/capability/plugin-intel-gpu-ai-skills-torch-xpu-run
- tashan id: plugin:intel/gpu-ai-skills/torch-xpu-run
- Source: https://github.com/intel/gpu-ai-skills
- Type: plugin
- Category: ai
- tashan score: 45.0 / 100
- Adoption: 7.0
- Upkeep: 100.0
- Freshness: 99.0
- Evidence coverage: 84% of the inputs this score can use
- Health: active
- Instruction depth: not yet graded
- License: Apache-2.0
- Official: no

## Install

```sh
/plugin marketplace add intel/gpu-ai-skills
/plugin install torch-xpu-run@intel-model-skillpack
```

## Security audit
Not scanned. We audit npm-published capabilities; this one has no npm package we can resolve, or has not reached the queue. This is not a clean bill of health.

---
Measured 2026-09-13 by tashan (https://tashan.sh) from public evidence. Scorer s5.
