Favicon of xpu-kernels

xpu-kernels Skill

AI Agent SkillPythonOpen source

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.

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.

Trust signal
95/100
Maintenance signal
90/100
Adoption signal
71/100

Automated repository signals based on public metadata such as recency, license, installation evidence, and adoption. These are not a security audit or endorsement.

Key capabilities

  • Includes SKILL.md support
  • Reusable instructions support
  • Writing
  • Writing use cases

Technical details

Copy skill directory
  • Install or run with Copy skill directory

When to use xpu-kernels Skill

  • Use it for writing.

Built with

PythonCopy skill directory

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

Explore related resources

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.

Share:

Stars
711
Forks
111
Last commit
9 days ago
Repository age
2 years
License
Apache-2.0

Auto-fetched from GitHub.

Ad
Favicon

 

  
 

Similar to xpu-kernels