qmetrics.net

KernelBench

Benchmark and toolkit for LLM-generated GPU kernels

KernelBench screenshot

KernelBench evaluates whether language models can produce correct, fast CUDA and other GPU kernels that replace PyTorch operators on target hardware.

Overview

KernelBench is a benchmark and toolkit for assessing large language models on GPU kernel generation. The task is to transpile PyTorch operator descriptions into correct, efficient kernels in CUDA and additional DSLs, measured on a chosen GPU.

Problems are grouped into levels: single-kernel operators, simple fusion patterns, full model architectures, and Hugging Face model-style tasks. Evaluation checks correctness against reference PyTorch on randomized inputs and compares wall-clock runtime for speedup. The fast_p metric counts tasks that are both correct and exceed a speedup threshold relative to the PyTorch baseline.

Included scripts run and check individual samples, analyze benchmark results, and generate baseline timings. Backends include CUDA, Triton, HIP for AMD GPUs, and several other named DSLs. It can be imported as a library for timing and evaluation helpers, and supports local runs or remote evaluation through Modal when no local GPU is available.

KernelBench is framed as an open evaluation framework rather than a packaged agent scaffold; researchers are expected to clone or submodule it and adapt experiments. Profiling and correctness tooling are central to iterative kernel refinement workflows.

Key features

  • PyTorch-to-kernel transpilation tasks
  • Correctness checks on random inputs
  • Wall-clock speedup measurement
  • fast_p combined accuracy metric
  • Multiple GPU DSL backends
  • Single-problem evaluation scripts
  • Modal remote GPU evaluation
  • Importable Python evaluation API

Use cases

  • Benchmarking LLM kernel codegen
  • Comparing GPU DSL outputs
  • Research on agentic kernel optimization
  • Profiling model-generated CUDA
  • Teaching GPU programming evaluation

Tags

Similar software

PageIndex

Reasoning-based document retrieval without vector indexes

PageIndex builds a hierarchical tree index from PDFs and answers questions by having a language model reason over that structure instead of embedding chunks in a vector database.

  • Tree index built from PDF layout
  • LLM reasoning over the index for retrieval
  • Local SDK with pluggable chat models
PythonDetails →
★ 40.9k⟳ yesterdayMIT

Composio

SDK and CLI for connecting AI agents to many apps

Composio equips AI agents with large sets of pre-authenticated toolkits, per-user sessions, authentication, triggers, and a sandbox. SDKs ship for TypeScript and Python with adapters for common agent frameworks.

  • Pre-authenticated app toolkits
  • Per-user agent sessions
  • Runtime tool discovery and execution
TypeScriptCLIDetails →
★ 31.4k⟳ todayMIT

PageAgent

In-page JavaScript GUI agent for web applications

Embeddable script adds a natural-language agent to any webpage for DOM-based actions without screenshots or a Python backend.

  • Single-script or npm integration
  • DOM-based page manipulation
  • Bring-your-own LLM configuration
TypeScriptWeb, Browser extensionDetails →
★ 29.8k⟳ 3 days agoMIT
Open Source Alternative to:Claude in Chrome

AI SDK

TypeScript toolkit for AI applications and agents

The AI SDK is a provider-agnostic TypeScript library for building AI-powered applications and agents with popular UI frameworks and Node.js runtimes.

  • Unified provider API
  • Vercel AI Gateway support
  • Text and structured output
TypeScriptDetails →
★ 28.4k⟳ todayApache-2.0

Stagehand

SDK for AI-driven browser automation

Stagehand gives agents Playwright-style browser control with natural-language act, observe, and extract helpers. It ships for TypeScript, Python, and Go with local Chrome or hosted cloud browsers.

  • Playwright-style page methods
  • Natural-language act and extract
  • Self-healing action adaptation
TypeScriptCLIDetails →
★ 26.2k⟳ todayMIT

turbovec

In-process TurboQuant vector index for Python and Rust

An in-process vector index for Python and Rust that compresses embeddings to 2 or 4 bits per dimension and searches the compressed form with SIMD kernels.

  • 2-bit and 4-bit TurboQuant compression
  • SIMD search on compressed vectors
  • Incremental add and remove without rebuild
RustDetails →
★ 17.5k⟳ 1 month agoMIT