Skill / SKILL.md

Torch Xpu Bench

intel/skills

Benchmark a Hugging Face model on an Intel GPU through pure PyTorch + Transformers, **single-process, no HTTP server**. Measures generate() throughput in tokens/sec, time-to-first-token, decode-step latency, and peak XPU memory. Also covers diffusion and encoder-only models via `references/non-llm-snippets.md`. Use after **model-can-it-fit** to validate predicted memory against `torch.xpu.max_memory_allocated()`.
2 views 34 repository stars 0 commentsUpdated Nov 27, 2026
Overview

Benchmark a Hugging Face model on an Intel GPU through pure PyTorch + Transformers, **single-process, no HTTP server**. Measures generate() throughput in tokens/sec, time-to-first-token, decode-step latency, and peak XPU memory. Also covers diffusion and encoder-only models via `references/non-llm-snippets.md`. Use after **model-can-it-fit** to validate predicted memory against `torch.xpu.max_memory_allocated()`.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/intel/skills' skill-source

Use the complete skill-source/skills/torch-xpu-bench directory with your client’s skill installer.

  • skills/torch-xpu-bench

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory skills/torch-xpu-bench

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
220693a64fe0411a973beeced475892871c6f23f36fc01f68124d5e1928fb4a3
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills