Skip to content

Latest commit

 

History

10 Commits

Folders and files

Repository files navigation

MegaBake

Live site: https://megabake.github.io/

Source repository: https://github.com/megabake/megabake.github.io

Website for MegaBake, a PyTorch compiler backend for persistent CUDA kernels.

Benchmark source

The leaderboard and downloads share the six published H200 decode packages from megabake/megakernels, pinned to revision 4f5f3b77d8af3c140ab9c0c7ffc60776f753185e, measured 24 October 2026.

js/benchmark-data.js contains the original reports. js/benchmarks.js derives shared model metadata, timings, and download paths from that snapshot.

  • Complete-call timing is selected by default and matches the source README.
  • The baseline is the faster complete call from inductor_graphed or inductor_cudagraphs. Pipelined comparisons use that same selected baseline.
  • Speed is one million divided by latency in microseconds. Speedup is baseline latency divided by MegaBake latency.
  • Faster / Slower requires a 10% speed difference. Close is within 10%.
  • All rows use batch 1, bf16, and a static 128-token KV cache. Longer-context results use different capacities and are not mixed into this table.

Refresh the snapshot with a full repository commit SHA:

python3 scripts/update-benchmarks.py <40-character-commit-sha>

After refreshing, run node scripts/render-static.cjs to refresh the static leaderboard and package links. Then check the displayed date and headline numbers in index.html against the new reports and run the checks below.

The downloadable ZIP contains module.py, report.json, and source_map.json from the same repository revision. Kernels require model weights, compatible hardware, and the matching MegaBake runtime. Hub distribution remains a proposal.

Run locally

python3 -m http.server 8765

Visit http://127.0.0.1:8765/ or open index.html directly.

Validation

node --test tests/*.test.cjs

Checks cover source benchmark values, baseline selection, timing modes, ZIP integrity, pinned downloads, and failure recovery.

Search and sharing

The canonical URL, Open Graph/Twitter metadata, and JSON-LD are in index.html. sitemap.xml lists the canonical page. CSS and JavaScript URLs carry content hashes to refresh browser and crawler caches after changes. The deploy workflow pre-renders the benchmark rows and package links before validation, so content is readable without JavaScript.

The site is published at the organization root, https://megabake.github.io/. Canonical, sharing, JSON-LD, robots, and sitemap URLs use this address. website/index.html redirects the old project-site path to the root while preserving query parameters and section links. Sitemap submission and search indexing require the site owner's Search Console account.

Releases

Packages

Contributors

Languages