← Back to Leaderboard
Vvllm-project

vllm-project/vllm-xpu-kernels

Native PyTorch XPU kernels for vLLM inference on Intel GPUs

View on GitHub ↗
AI FrameworkQuickstart ↓
Engineering Health (Methodology)
A+ · 94/100
Maintenance Activity
● Updated yesterday
Latest Release
v0.1.18
Commercial License Check
Apache-2.0 · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption19/25
Release Cadence20/20
License Clarity20/20
DockerGPU
Total Stars
★ 88
24h Growth
+0
7d Growth
+2
Forks
138

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

vllm-project/vllm-xpu-kernels Star History (2025-07-16 - 2026-12-03) ALL-TIME STAR HISTORY (2025-07 – 2026-12) +87 in 505d · avg +0/day 93 47 0 2025-07-16: ★ 12025-08-16: ★ 42025-09-20: ★ 52025-10-25: ★ 82025-11-29: ★ 92026-01-03: ★ 122026-02-07: ★ 192026-03-14: ★ 232026-04-18: ★ 312026-05-23: ★ 442026-06-27: ★ 482026-08-01: ★ 572026-09-05: ★ 692026-10-10: ★ 752026-11-10: ★ 812026-12-03: ★ 88 ★ 88 2025-07 2026-03 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

vllm-xpu-kernels is the Intel GPU operator layer for vLLM, not a serving engine. vLLM imports vllm_xpu_kernels._C at startup, registering custom operators with the PyTorch dispatcher. PyTorch then selects their XPU implementations when vLLM executes those operators on Intel GPUs. The integration point is the operator call, not a separate process or API.

Native sources sit under csrc/. The kernels are written in SYCL/DPC++ and use oneDNN primitives. Setuptools packages the extension as a Python wheel, while CMake and Ninja support the native build. The build manifest pins torch==2.15.0+xpu; the wheel, PyTorch build, and Intel GPU runtime should be treated as a compatibility set.

Key Capabilities & Differentiators

The kernel set covers RMS norm, fused add-RMS norm, layer norm, gated activations, variable-length Flash Attention, GDN attention, and Xe2 attention variants. Paged KV-cache support includes _C_cache_ops.cp_gather_cache, a page-wise context-parallel gather operator with token-level sequence offsets and aligned 16-byte copies.

Beyond attention, the extension provides NeoX and GPT-J rotary layouts, DeepSeek-scaled RoPE, LoRA operators, fused grouped TopK routing, expert remapping, grouped GEMM, and FP8/MxFP4 quantization and GEMM. Default builds target common configurations for Llama, Qwen, and DeepSeek. The two prefill and paged-decode build settings let teams customize that coverage; they are not a guarantee that every model variant, precision, and GPU generation combination is available.

Trade-offs & Limitations

This extension makes sense when Intel GPUs are the deployment target and vLLM is the serving layer you want to keep. NVIDIA deployments should use vLLM's CUDA path instead. CUDA-aligned behavior in the cache gather operator helps align semantics across backends; it does not make binaries portable or establish performance parity. The extension does not replace vLLM's server or scheduler.

Wheels avoid a local native build, but not the need to align the wheel, PyTorch XPU build, and Intel runtime. Custom prefill and decode presets give teams control over kernel coverage at the cost of another build and validation matrix. Per-kernel scripts under benchmark/ can isolate regressions; use representative model traffic to judge throughput, latency, and memory headroom. Apache-2.0 permits commercial use, with separate license checks for dependencies and model weights.

Hardware & Deployment Guide

Install vLLM for XPU first if the goal is serving: it pulls in the kernel wheel automatically. To manage the extension separately, use a PyPI or release-hosted wheel that matches the PyTorch XPU and Intel runtime stack. The source-build baseline is Python 3.12, torch==2.15.0+xpu from the PyTorch XPU index, Intel OMIX 0.4 with oneAPI 2026.1 DPC++, CMake ≥ 3.26, and Ninja.

For development, build with Dockerfile.xpu and pass the host GPU through with --device=/dev/dri, or install intel-omix-dev on bare metal and source /opt/intel/oneapi/setvars.sh before building. Run pytest tests/ before load-testing the target model. v0.1.18 expands Xe3P attention coverage and adds GDN prefill checkpoints and virtual memory management for growable device buffers. It also moves MoE weight and scale prepacking out of the constructor: call prepack_weights() after loading weights.

Dispatch: Importing vllm_xpu_kernels._C registers native XPU operators with PyTorch.
Native stack: SYCL/DPC++ kernels use oneDNN primitives; the build manifest pins torch==2.15.0+xpu.
KV cache: _C_cache_ops.cp_gather_cache uses token-level sequence offsets and aligned 16-byte copies for page-wise context-parallel gather.
MoE and precision: Softmax and sigmoid TopK routing, fused grouped TopK, grouped GEMM, and FP8/MxFP4 quantization and GEMM.
Build coverage: Separate VLLM_CHUNK_PREFILL_CONFIG and VLLM_PAGED_DECODE_CONFIG settings control which kernels are compiled.
Upgrade compatibility: From v0.1.18, XpuFusedMoe callers must invoke prepack_weights() after loading weights.
Best For

Teams self-hosting vLLM on Intel GPUs that can pin the runtime stack and validate kernel coverage for their target models.

Skip If

You need a standalone server, deploy only on NVIDIA GPUs, or cannot maintain a compatible PyTorch XPU and Intel runtime stack.

Reviewed on 2026-12-02 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

DockerGPU
pip install --upgrade vllm-xpu-kernels

Comparison vs. Top LLMs & Inference Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
vllm-xpu-kernels ★88+2C++Apache-2.0Native PyTorch XPU kernels for vLLM inference on Intel GPUs
tensorflow201.7k+4C++Apache-2.0C++-backed ML framework for building models and embedding inference
ggml16.3k+97C++MITEmbeddable C/C++ tensor runtime for quantized inference across hardware backends
transformers169.6k+337PythonApache-2.0A PyTorch model-definition SDK for unified inference and training across modalit

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/vllm-project/vllm-xpu-kernels.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

vllm-project/vllm-xpu-kernels Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about vllm-xpu-kernels

How does vLLM pick up the Intel GPU kernels?

vLLM imports vllm_xpu_kernels._C at startup. The native extension registers custom operators with PyTorch, which dispatches to the XPU implementations for Intel GPU execution. The XPU distribution of vLLM pulls in the kernel wheel as a dependency; installing the wheel alone does not start an inference server.

What hardware and VRAM should I budget for?

Start with an Intel GPU supported by the specific kernels you need and a compatible PyTorch XPU and Intel runtime stack. There is no universal VRAM minimum: size for model weights, KV cache, and temporary buffers at your target sequence lengths and concurrency. Validate peak memory under representative prefill and decode traffic before setting serving limits.

Can I use this in a commercial self-hosted service?

Apache-2.0 permits commercial use and self-hosting. If you redistribute the software, comply with its license and notice requirements and mark modified files as required. Review the terms of bundled dependencies and model weights separately; the kernel package's license does not cover them.

When should I choose this over vLLM's CUDA backend?

Use this extension when you want to keep vLLM and run on Intel GPUs. For NVIDIA hardware, evaluate vLLM's CUDA backend instead: the two are hardware-specific execution paths, not interchangeable wheels. If you are choosing hardware as well as software, compare the same model, precision, context lengths, and concurrency end to end rather than extrapolating from individual kernel benchmarks.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining vllm-project/vllm-xpu-kernels? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature vllm-project/vllm-xpu-kernels on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare