{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/arxiv-2605-23215","title":"FastKernels: Benchmarking GPU Kernel Generation in Production","arxiv_id":"2605.23215","date":"2026-05-22","proceeding":null,"authors":["Gabriele Oliaro","Yichao Fu","May Jiang","Owen Lu","Junli Wang","Zhihao Jia","Hao Zhang","Samyam Rajbhandari"],"abstract":"LLM-based agents for GPU kernel generation are advancing rapidly, yet their progress is fundamentally constrained by the benchmarks they optimize against. Existing benchmarks are poorly aligned with production inference frameworks: they evaluate kernels on a single GPU with synthetic inputs, ignore the surrounding compilation stack, and reward replicating known optimizations rather than discovering new ones. The resulting reward signals are misleading: agents learn to generate kernels that score well in sandboxes but introduce interface incompatibilities, compilation-stack conflicts, and silent correctness degradation when integrated into real systems. We introduce FastKernels, a kernel benchmark built around a minimal set of 46 representative architectures spanning 8 categories, whose kernels collectively subsume those of 96.2% (409/425) of HuggingFace Transformers architectures. FastKernels doubles as a minimalistic, production-grade inference framework that runs at parity with hardened systems such as vLLM and SGLang on mainstream LLM serving and substantially exceeds upstream references on under-served architectures; each task's interface mirrors the corresponding module in the state-of-the-art library for its architecture family, enabling direct deployment of optimized kernels into production codebases. Evaluating state-of-the-art kernel agents on FastKernels, we find that even the strongest agent achieves only 0.94$\\times$ aggregate speedup over production baselines, with weaker agents at $0.78\\times$ and $0.53\\times$ -- confirming that benchmark-production misalignment is a critical bottleneck for the field. We release FastKernels as a stepping stone toward kernel agents whose benchmark gains translate directly into production throughput improvements. Code is available at https://github.com/Snowflake-AI-Research/fastkernels","url_abs":"https://arxiv.org/abs/2605.23215","url_pdf":"https://arxiv.org/pdf/2605.23215","source":{"archive":null,"snapshot":"2025-07-28","note":"not in the Papers with Code archive (frozen at the snapshot)","row_kind":"graph","title_abstract_authors_date":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)"},"code_links":[],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2605.23215","atlas_url":"https://app.syntology.ai/?focus=2605.23215","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2605.23215"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-25T09:33:49+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/Snowflake-AI-Research/fastkernels","reach":null}],"summary":{"ran":13,"unverified":4},"by_repo_kind":{"found_in_text":{"samples":17,"ran":13,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"e5d55fd1b07cbbf3","entry":"add_gumbel_noise","repo":"Snowflake-AI-Research/fastkernels","repo_kind":"found_in_text","path":"fastkernels/infra/dllm_engine.py","file_url":"https://github.com/Snowflake-AI-Research/fastkernels/blob/HEAD/fastkernels/infra/dllm_engine.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"e5d55fd1b07cbbf3"}},{"code_sha256_prefix":"4bf02140b3fa411f","entry":"apply_candidates","repo":"Snowflake-AI-Research/fastkernels","repo_kind":"found_in_text","path":"fastkernels/list.py","file_url":"https://github.com/Snowflake-AI-Research/fastkernels/blob/HEAD/fastkernels/list.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"4bf02140b3fa411f"}},{"code_sha256_prefix":"72b0ca2ff1fde509","entry":"compute_alignment","repo":"Snowflake-AI-Research/fastkernels","repo_kind":"found_in_text","path":"fastkernels/validate/bench_microsoft_bitnet.py","file_url":"https://github.com/Snowflake-AI-Research/fastkernels/blob/HEAD/fastkernels/validate/bench_microsoft_bitnet.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"72b0ca2ff1fde509"}},{"code_sha256_prefix":"e09479b4e819c39d","entry":"get_num_transfer_tokens","repo":"Snowflake-AI-Research/fastkernels","repo_kind":"found_in_text","path":"fastkernels/infra/dllm_engine.py","file_url":"https://github.com/Snowflake-AI-Research/fastkernels/blob/HEAD/fastkernels/infra/dllm_engine.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"e09479b4e819c39d"}},{"code_sha256_prefix":"2fa80d3bcbfd258a","entry":"get_transfer_index","repo":"Snowflake-AI-Research/fastkernels","repo_kind":"found_in_text","path":"fastkernels/infra/dllm_engine.py","file_url":"https://github.com/Snowflake-AI-Research/fastkernels/blob/HEAD/fastkernels/infra/dllm_engine.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"2fa80d3bcbfd258a"}},{"code_sha256_prefix":"82018d6ce171526e","entry":"infer_image_size","repo":"Snowflake-AI-Research/fastkernels","repo_kind":"found_in_text","path":"fastkernels/infra/detection_loader.py","file_url":"https://github.com/Snowflake-AI-Research/fastkernels/blob/HEAD/fastkernels/infra/detection_loader.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"82018d6ce171526e"}},{"code_sha256_prefix":"3ae5c99221e3ff07","entry":"is_reconstructable","repo":"Snowflake-AI-Research/fastkernels","repo_kind":"found_in_text","path":"fastkernels/capture.py","file_url":"https://github.com/Snowflake-AI-Research/fastkernels/blob/HEAD/fastkernels/capture.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"3ae5c99221e3ff07"}},{"code_sha256_prefix":"c44b70595c3bda16","entry":"is_rtdetrv2_model","repo":"Snowflake-AI-Research/fastkernels","repo_kind":"found_in_text","path":"fastkernels/infra/detection_loader.py","file_url":"https://github.com/Snowflake-AI-Research/fastkernels/blob/HEAD/fastkernels/infra/detection_loader.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"c44b70595c3bda16"}},{"code_sha256_prefix":"5173940a211024eb","entry":"is_yolov10_model","repo":"Snowflake-AI-Research/fastkernels","repo_kind":"found_in_text","path":"fastkernels/infra/detection_loader.py","file_url":"https://github.com/Snowflake-AI-Research/fastkernels/blob/HEAD/fastkernels/infra/detection_loader.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"5173940a211024eb"}},{"code_sha256_prefix":"36a91cf24e1acca7","entry":"lazy_op","repo":"Snowflake-AI-Research/fastkernels","repo_kind":"found_in_text","path":"fastkernels/infra/cuda_ext.py","file_url":"https://github.com/Snowflake-AI-Research/fastkernels/blob/HEAD/fastkernels/infra/cuda_ext.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"36a91cf24e1acca7"}},{"code_sha256_prefix":"fdcbceee466289a7","entry":"reconstruct","repo":"Snowflake-AI-Research/fastkernels","repo_kind":"found_in_text","path":"fastkernels/capture.py","file_url":"https://github.com/Snowflake-AI-Research/fastkernels/blob/HEAD/fastkernels/capture.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"fdcbceee466289a7"}},{"code_sha256_prefix":"146056506d46a2ec","entry":"reconstruct_op","repo":"Snowflake-AI-Research/fastkernels","repo_kind":"found_in_text","path":"fastkernels/capture.py","file_url":"https://github.com/Snowflake-AI-Research/fastkernels/blob/HEAD/fastkernels/capture.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"146056506d46a2ec"}},{"code_sha256_prefix":"fb4d70c9528f20a8","entry":"run_worker","repo":"Snowflake-AI-Research/fastkernels","repo_kind":"found_in_text","path":"fastkernels/validate/bench_microsoft_bitnet.py","file_url":"https://github.com/Snowflake-AI-Research/fastkernels/blob/HEAD/fastkernels/validate/bench_microsoft_bitnet.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"fb4d70c9528f20a8"}},{"code_sha256_prefix":"768b6fcc76ad8461","entry":"load_op","repo":"Snowflake-AI-Research/fastkernels","repo_kind":"found_in_text","path":"fastkernels/infra/cuda_ext.py","file_url":"https://github.com/Snowflake-AI-Research/fastkernels/blob/HEAD/fastkernels/infra/cuda_ext.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"768b6fcc76ad8461"}},{"code_sha256_prefix":"c5dfeaddadbc8647","entry":"load_real_prompt_workload","repo":"Snowflake-AI-Research/fastkernels","repo_kind":"found_in_text","path":"fastkernels/workloads.py","file_url":"https://github.com/Snowflake-AI-Research/fastkernels/blob/HEAD/fastkernels/workloads.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"c5dfeaddadbc8647"}},{"code_sha256_prefix":"ea290b87a81e8e65","entry":"purpose_of","repo":"Snowflake-AI-Research/fastkernels","repo_kind":"found_in_text","path":"fastkernels/workloads.py","file_url":"https://github.com/Snowflake-AI-Research/fastkernels/blob/HEAD/fastkernels/workloads.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"ea290b87a81e8e65"}},{"code_sha256_prefix":"bd183c221194c591","entry":"spec_for","repo":"Snowflake-AI-Research/fastkernels","repo_kind":"found_in_text","path":"fastkernels/workloads.py","file_url":"https://github.com/Snowflake-AI-Research/fastkernels/blob/HEAD/fastkernels/workloads.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"bd183c221194c591"}}]},"arxiv_metadata":{"licence":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)","fields":["title","abstract","authors","date"],"primary_category":"cs.LG","source":"arxiv_2026.jsonl"},"syntology_extracted_results":{"kind":"leaderboard_placements","source":"Syntology's leaderboard-shaped extractor over the paper's own arXiv-HTML tables: a model pointed at a cell, the number was read from that cell and checked against the board's metric, dataset, split and scale, and an independent check accepted the entry; not reviewed by the paper's authors or the archive's editors","extractor_model":"global.anthropic.claude-sonnet-4-5-20250929-v1:0","verifier_model":null,"prompt_sha":"fa63d4bb9d755694","coverage":{"sentence":"Syntology has checked 6,885 of the 9,623 papers on this site that are newer than the archive; results from the others appear after they are checked.","papers_newer_than_archive":9623,"papers_checked":6885},"entries":[],"not_placed":{"boards":2,"rejected_by_independent_check":0,"refused_by_a_rule":2,"check_did_not_answer":0,"proposed_without_a_cell":0,"declined_by_site":0}}}