github.com KernelBench: Benchmark Evaluates LLMs' Ability to Write Efficient GPU Kernels
Article Content
- •KernelBench is a benchmark of 250 PyTorch workloads for evaluating LLM-generated CUDA kernels.
- •The fast_p metric measures correct kernels that beat a chosen speedup threshold over the PyTorch baseline.
- •Per the paper abstract, frontier models match the PyTorch baseline in fewer than 20% of cases.
- •The project is being extended to other DSLs and AMD GPU support.
KernelBench is an open-source benchmark and evaluation environment, described on a GitHub repository page and an arXiv preprint (arXiv:2502.10517), for testing whether large language models can generate correct and efficient CUDA kernels for PyTorch programs on a target GPU.
It contains 250 PyTorch workloads organised into four levels: 100 single-kernel operators, 100 simple fusion patterns, 50 full model architectures, and a Hugging Face level.
The paper introduces a metric, fast_p, which measures the share of generated kernels that are functionally correct and exceed a speedup threshold p over the baseline.
According to the abstract, frontier reasoning models perform best out of the box but still fall short, matching the PyTorch baseline in fewer than 20% of cases.
The abstract states that results can improve with execution and profiling feedback during iterative refinement, and that difficulty rises as the speedup threshold increases.
The GitHub page says the project is being extended to other DSLs and AMD GPU support, and that the Hugging Face dataset has been updated to v0.1. This is a research benchmark rather than a security vulnerability or threat.
Ask AI about this cluster
Answers cite the sources they use
More articles in this cluster (2)
Following this threat?
Track Triton in your own feed — you're alerted when they show up in new reporting, leak sites or exploitation.
Free account · no card needed
Common questions
Is this a security vulnerability?
How well do LLMs perform on KernelBench?
Can I use KernelBench to evaluate my own models?
Continue Reading
Fake-looking foldjet-engine PyPI packages: unverified kernel wheels renamed from miniworld-engine Two PyPI package pages dated 2026-11-26 describe a project called foldjet-engine, which provides prebuilt CUDA/Triton kernels for AlphaFold3-style modules on H100, A100, RTX 5090 and B200 GPUs. The foldjet-engine-kernels-sm120-cu129 1.0.0 package, installed by foldjet-engine==1.0.0, is described as prebuilt RTX 5090…
DAG-KV open-source LLM KV cache library claims order-invariant prefix reuse A Python package named dag-kv (version 0.7.1) was published to PyPI on 2026-12-02, describing a position-decoupled graph KV cache for LLM serving. The project claims to eliminate the 0% prefix cache hit rate that standard prefix caches (vLLM Automatic Prefix Caching, SGLang RadixAttention) show when retrieved…