xpu-kernels Skill
Provides guidance for writing, optimizing, and benchmarking Triton kernels for Intel XPU GPUs (Battlemage/Arc Pro B50) using the Xe-Forge optimization framework. Includes an LLM-driven trial-loop workflow (analyze, validate, benchmark, profile, finalize), XPU-specific patterns (tensor descriptors, GRF mode, tile swizzl Published by huggingface in kernels.
Decision snapshot
Is this a fit?
Writing, Includes SKILL.md, Reusable instructions
Compatibility not yet detected.
Permission behavior not yet detected.
Copy skill directory
1 month ago · Apache-2.0 license
No specific cautions were detected. Review the source and requested permissions before installing.
What is xpu-kernels Skill?
Provides guidance for writing, optimizing, and benchmarking Triton kernels for Intel XPU GPUs (Battlemage/Arc Pro B50) using the Xe-Forge optimization framework. Includes an LLM-driven trial-loop workflow (analyze, validate, benchmark, profile, finalize), XPU-specific patterns (tensor descriptors, GRF mode, tile swizzl Published by huggingface in kernels. This profile combines repository metadata with install, compatibility, and usage signals so developers can quickly decide whether it fits their agent workflow before opening the source repository.
Automated repository signals based on public metadata such as recency, license, installation evidence, and adoption. These are not a security audit or endorsement. See how SkillIndex evaluates profiles.
Key capabilities
- Includes SKILL.md support
- Reusable instructions support
- Writing
- Writing use cases
Declared skill metadata
- Source file: kernel-builder/skills/xpu-kernels/SKILL.md
Allowed tools declared by source
These fields retain source and confidence evidence from the indexed SKILL.md.
Compatibility and setup
- Install or run with Copy skill directory
When to use xpu-kernels Skill
- Use it for writing.
Built with
Editorial notes
Source
- Creator: huggingface
- Repository: huggingface/kernels
- Skill file: kernel-builder/skills/xpu-kernels/SKILL.md
What it does
Provides guidance for writing, optimizing, and benchmarking Triton kernels for Intel XPU GPUs (Battlemage/Arc Pro B50) using the Xe-Forge optimization framework. Includes an LLM-driven trial-loop workflow (analyze, validate, benchmark, profile, finalize), XPU-specific patterns (tensor descriptors, GRF mode, tile swizzl
Skill instructions
XPU Triton Kernels for Intel GPUs This skill provides patterns and guidance for developing optimized Triton kernels targeting Intel XPU GPUs (Battlemage/Arc Pro B50). It integrates the Xe-Forge optimization framework — an LLM-driven loop that transforms PyTorch code into fast Triton kernels. Quick Start Optimize a Kernel (Xe-Forge Workflow) The full optimization workflow analyzes a PyTorch baseline, generates Triton kernel variants in a branching trial tree, benchmarks each on XPU hardware, and finalizes the best result. bash 1. Analyze the baseline python scripts/analyzekernel.py testkernels/70GemmSigmoidScalingResidualAddpytorch.py 2. Initialize trial tracking python scripts/trialmanager.py init 70GemmSigmoid testkernels/70GemmSigmoidScalingResidualAddpytorch.py 3. Validate a generated kernel (no GPU needed) python scripts/validatetriton.py mykernel.py 4. Benchmark correctness + performance python scripts/benchmark.py testkernels/70GemmSigmoidScalingResidualAddpytorch.py mykernel.py
Verified compatibility and discovery
Frequently asked questions
What is xpu-kernels?
xpu-kernels is a open-source AI agent skill with Copy skill directory. Provides guidance for writing, optimizing, and benchmarking Triton kernels for Intel XPU GPUs (Battlemage/Arc Pro B50) using the Xe-Forge optimization framework.
Who is xpu-kernels best for?
xpu-kernels is best for reusing agent instructions, scripts, and references, writing workflows.
How do I install xpu-kernels?
Install or run xpu-kernels using Copy skill directory. Check xpu-kernels for the latest setup command.
Is xpu-kernels actively maintained?
xpu-kernels may need a closer maintenance check before production use.
Project health auto-fetched from the source repository.
Maintain this resource?
Review this source-backed profile, send a correction with evidence, or link to it from your documentation. Claims verify your relationship to the project; profile facts still require source evidence and editorial review.