SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2605.23215 · 2026

FASTKERNELS: Benchmarking GPU Kernel Generation in Production

Hao Zhang, Samyam Rajbhandari, Zhihao Jia, Yichao Fu, Gabriele Oliaro, Junli Wang, May Jiang, Owen Lu

arXiv · PDF · Open in the Atlas

Code that ran

13 of 17 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 2 honoured the contract we drafted, 3 violated it and 0 have no contract verdict; 8 failures of our instrument; 4 no recorded run), measured 2026-11-23; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2605.23215.json · badge: /api/ran/2605.23215.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
Snowflake-AI-Research/fastkernels canonical (classifier label)
classifier basis: census
13 ran · 4 no recorded run
FunctionStatusWhere it lives
add_gumbel_noise Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
Snowflake-AI-Research/fastkernels/fastkernels/infra/dllm_engine.py
code served (permissive licence) · get_code("e5d55fd1b07cbbf3")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 2, dtype family float, shape (2, 4) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# Create a small logits tensor (batch_size=2, num_classes=4)
logits = torch.randn(2, 4, dtype=torch.float32)

# Set temperature as a float
temperature = 0.5

ARGS = {
    "logits": logits,
    "temperature": temperature,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family float, shape (2, 4) — shape (2, 4) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
apply_candidates Ran
ran; our contract draft was wrong, not the code
Snowflake-AI-Research/fastkernels/fastkernels/list.py
code served (permissive licence) · get_code("4bf02140b3fa411f")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list, ndim 2, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import sys
import types

# Create mock fastkernels modules to test the monkey-patching
sys.modules['fastkernels'] = types.ModuleType('fastkernels')
sys.modules['fastkernels.core'] = types.ModuleType('fastkernels.core')
sys.modules['fastkernels.utils'] = types.ModuleType('fastkernels.utils')

# Define some base classes and candidate classes
class BaseKernel:
    """Mock base kernel class"""
    pass

class CandidateKernel:
    """Mock candidate kernel class"""
    pass

class AnotherBase:
    """Another base class"""
    pass

class AnotherCandidate:
    """Another candidate class"""
    pass

# Add the base classes to the mock modules so they can be monkey-patched
sys.modules['fastkernels.core'].BaseKernel = BaseKernel
sys.modules['fastkernels.utils'].AnotherBase = AnotherBase

# Create the pairs list: each tuple is (target_identifier, base_cls, candidate_cls)
pairs = [
    ('kernel_1', BaseKernel, CandidateKernel),
    ('kernel_2', AnotherBase, AnotherCandidate),
]

ARGS = {
    'pairs': pairs,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 2, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
compute_alignment Ran
ran; our contract draft was wrong, not the code
Snowflake-AI-Research/fastkernels/fastkernels/validate/bench_microsoft_bitnet.py
code served (permissive licence) · get_code("72b0ca2ff1fde509")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# Construct valid arguments for compute_alignment
# The function expects two lists of dicts, where each dict contains 'token_ids' key

a_outputs = [
    {'token_ids': [1, 2, 3, 4, 5]},
    {'token_ids': [1, 2, 3, 7, 8]},
    {'token_ids': [1, 2, 9]},
]

b_outputs = [
    {'token_ids': [1, 2, 3, 4, 5]},
    {'token_ids': [1, 2, 3, 4, 6]},
    {'token_ids': [1, 2, 9, 10]},
]

ARGS = {
    'a_outputs': a_outputs,
    'b_outputs': b_outputs,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_num_transfer_tokens Ran
ran; our contract draft was wrong, not the code
Snowflake-AI-Research/fastkernels/fastkernels/infra/dllm_engine.py
code served (permissive licence) · get_code("e09479b4e819c39d")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 2, dtype family int, shape (2, 3) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# block_mask_index should be a 2D tensor where:
# - dim 0 is batch size
# - dim 1 is some feature dimension
# The function sums along dim 1, so we need at least 2 dims
# Let's make it (batch=2, features=4)
block_mask_index = torch.randint(0, 2, (2, 4), dtype=torch.long)

# steps is an integer that determines how many columns the output will have
steps = 3

ARGS = {
    "block_mask_index": block_mask_index,
    "steps": steps,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family int, shape (2, 3) — shape (2, 3) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_transfer_index Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
Snowflake-AI-Research/fastkernels/fastkernels/infra/dllm_engine.py
code served (permissive licence) · get_code("2fa80d3bcbfd258a")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple, ndim 3, dtype family int; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn.functional as F

torch.manual_seed(0)

# Create small tensors with distinct dimensions
batch_size = 2
seq_len = 4
vocab_size = 3

# logits: (batch_size, seq_len, vocab_size)
logits = torch.randn(batch_size, seq_len, vocab_size, dtype=torch.float32)

# temperature: float
temperature = 0.5

# remasking: str - can be 'low_confidence' or 'random'
remasking = 'low_confidence'

# mask_index: (batch_size, seq_len) boolean tensor
mask_index = torch.randint(0, 2, (batch_size, seq_len), dtype=torch.bool)

# x: (batch_size, seq_len) tensor with token indices
x = torch.randint(0, vocab_size, (batch_size, seq_len), dtype=torch.long)

# num_transfer_tokens: (batch_size,) or (batch_size, 1) tensor
num_transfer_tokens = torch.tensor([2, 2], dtype=torch.long)

# threshold: float or None (testing with None to use num_transfer_tokens path)
threshold = None

ARGS = {
    'logits': logits,
    'temperature': temperature,
    'remasking': remasking,
    'mask_index': mask_index,
    'x': x,
    'num_transfer_tokens': num_transfer_tokens,
    'threshold': threshold,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 3, dtype family int — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
infer_image_size Ran
ran, honoured the contract we drafted
Snowflake-AI-Research/fastkernels/fastkernels/infra/detection_loader.py
code served (permissive licence) · get_code("82018d6ce171526e")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned int, ndim 0, dtype family int, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

# The function infer_image_size takes a model_name string parameter
# and returns an int based on whether it matches certain model name patterns.
# It uses the helper functions is_yolov10_model and is_rtdetrv2_model
# which only perform string operations on model_name.lower()

# Test cases for different model names
ARGS = {
    "model_name": "yolov10n"
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type int, ndim 0, dtype family int, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
is_reconstructable Ran
ran, violated the contract we drafted
Snowflake-AI-Research/fastkernels/fastkernels/capture.py
code served (permissive licence) · get_code("3ae5c99221e3ff07")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned bool, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

# Construct a valid operators dict matching what is_reconstructable expects
operators = {
    'op1': {
        'init': {
            'variants': [
                {
                    'args': {
                        'param1': 10,
                        'param2': [1, 2, 3]
                    }
                },
                {
                    'args': {
                        'nested': {
                            'value': 42
                        }
                    }
                }
            ]
        }
    },
    'op2': {
        'init': {
            'variants': [
                {
                    'args': [
                        {'key': 'val'},
                        {'another': 'recipe'}
                    ]
                }
            ]
        }
    }
}

# Test recipe 1: Simple dict with no opaque nodes
recipe_simple = {
    'layer': 'conv',
    'params': [1, 2, 3]
}

# Test recipe 2: Dict with valid op_ref that has init_variant_id
recipe_with_op_ref = {
    'op': 'layer1',
    '$op_ref': {
        'op': 'op1',
        'init_variant_id': 0
    }
}

# Test recipe 3: List of recipes
recipe_list = [
    {'data': 1},
    {'data': 2},
    [{'nested': 'list'}]
]

# Test recipe 4: Recipe with invalid op_ref (negative variant_id)
recipe_invalid_ref = {
    '$op_ref': {
        'op': 'op1',
        'init_variant_id': -1
    }
}

# Test recipe 5: Recipe with opaque node
recipe_opaque = {
    'layer': 'conv',
    '$opaque': True
}

# Test recipe 6: Deeply nested valid recipe
recipe_nested = {
    'outer': {
        'middle': {
            'inner': [1, 2, 3]
        }
    }
}

ARGS = {
    'recipe': recipe_simple,
    'operators': operators,
    '_seen': None
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type bool, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
is_rtdetrv2_model Ran
ran, violated the contract we drafted
Snowflake-AI-Research/fastkernels/fastkernels/infra/detection_loader.py
code served (permissive licence) · get_code("c44b70595c3bda16")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned bool, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

ARGS = {
    "model_name": "rtdetr_v2_small"
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type bool, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
is_yolov10_model Ran
ran, violated the contract we drafted
Snowflake-AI-Research/fastkernels/fastkernels/infra/detection_loader.py
code served (permissive licence) · get_code("5173940a211024eb")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned bool, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

ARGS = {
    "model_name": "yolov10n"
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type bool, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
lazy_op Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
Snowflake-AI-Research/fastkernels/fastkernels/infra/cuda_ext.py
code served (permissive licence) · get_code("36a91cf24e1acca7")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned _LazyExt. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import os
import tempfile
import inspect

torch_cuda_arch_list = "8.0"
os.environ['TORCH_CUDA_ARCH_LIST'] = torch_cuda_arch_list

with tempfile.TemporaryDirectory() as tmpdir:
    dummy_cu_file = os.path.join(tmpdir, "test_op.cu")
    with open(dummy_cu_file, "w") as f:
        f.write("// dummy cuda source\n")
    
    ARGS = {
        "name": "test_op",
        "sources": "test_op.cu",
        "need_cutlass": False,
        "extra_cuda_cflags": None,
        "extra_ldflags": None,
    }
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
flashinfer, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type _LazyExt — a _LazyExt output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
reconstruct Ran
ran, honoured the contract we drafted
Snowflake-AI-Research/fastkernels/fastkernels/capture.py
code served (permissive licence) · get_code("fdcbceee466289a7")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 2, dtype family float, shape (2, 4) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

# Build a minimal operators dict that satisfies reconstruct_op
operators = {
    'torch.nn:Linear': {
        'init': {
            'variants': [
                {
                    'args': {
                        'in_features': 4,
                        'out_features': 3,
                    }
                }
            ]
        }
    },
    'torch.nn:ReLU': {
        'init': {
            'variants': [
                {
                    'args': {}
                }
            ]
        }
    }
}

# Test recipes for the reconstruct function
recipe_primitive = 42
recipe_list = [1, 2.5, "hello", True]
recipe_tensor = {
    '$tensor': {
        'shape': [2, 4],
        'dtype': 'float32'
    }
}
recipe_dtype = {'$dtype': 'int64'}
recipe_tuple = {
    '$tuple': [1, 2, 3]
}
recipe_dict = {
    '$dict': {
        'a': 1,
        'b': 'test',
        'c': [1, 2]
    }
}
recipe_enum = {
    '$enum': 'torch:device',
    'value': 'cpu'
}
recipe_op_ref = {
    '$op_ref': {
        'op': 'torch.nn:Linear',
        'init_variant_id': 0
    }
}

# The function's main parameter is `recipe`
# Additional params: operators, device
ARGS = {
    'recipe': recipe_tensor,
    'operators': operators,
    'device': 'cpu'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family float, shape (2, 4) — shape (2, 4) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
reconstruct_op Ran
ran; our contract draft was wrong, not the code
Snowflake-AI-Research/fastkernels/fastkernels/capture.py
code served (permissive licence) · get_code("146056506d46a2ec")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Linear. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn
from enum import Enum

torch.manual_seed(0)

# Create a minimal operators dict that satisfies the function requirements
operators = {
    'torch.nn:Linear': {
        'init': {
            'variants': [
                {
                    'args': {
                        'in_features': 4,
                        'out_features': 3,
                    }
                }
            ]
        }
    },
    'torch.nn:ReLU': {
        'init': {
            'variants': [
                {
                    'args': {}
                }
            ]
        }
    },
}

ARGS = {
    'qualname': 'torch.nn:Linear',
    'init_variant_id': 0,
    'operators': operators,
    'device': 'cpu',
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Linear — a Linear output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Linear output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
run_worker Ran
ran; our contract draft was wrong, not the code
Snowflake-AI-Research/fastkernels/fastkernels/validate/bench_microsoft_bitnet.py
code served (permissive licence) · get_code("fb4d70c9528f20a8")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import json
import os
import tempfile
import sys

# Create a minimal valid Python script that the worker will execute
test_script = """
import json
import sys

config = json.load(open(sys.argv[1]))
output_file = config['output_file']
result = {'status': 'success', 'value': 42}
with open(output_file, 'w') as f:
    json.dump(result, f)
"""

# Create a minimal config dict
test_config = {
    'output_file': tempfile.NamedTemporaryFile(mode='w', suffix='.json', delete=False).name,
    'param1': 'value1',
    'param2': 123
}

# Ensure the output file path exists and is writable
os.makedirs(os.path.dirname(test_config['output_file']) or '.', exist_ok=True)

ARGS = {
    'script': test_script,
    'config': test_config,
    'label': 'test_worker_execution'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
load_op Not yet run
unverified (harvested, no recorded run)
Snowflake-AI-Research/fastkernels/fastkernels/infra/cuda_ext.py
code served (permissive licence) · get_code("768b6fcc76ad8461")
How it ran

no invocation recorded.

load_real_prompt_workload Not yet run
unverified (harvested, no recorded run)
Snowflake-AI-Research/fastkernels/fastkernels/workloads.py
code served (permissive licence) · get_code("c5dfeaddadbc8647")
How it ran

no invocation recorded.

purpose_of Not yet run
unverified (harvested, no recorded run)
Snowflake-AI-Research/fastkernels/fastkernels/workloads.py
code served (permissive licence) · get_code("ea290b87a81e8e65")
How it ran

no invocation recorded.

spec_for Not yet run
unverified (harvested, no recorded run)
Snowflake-AI-Research/fastkernels/fastkernels/workloads.py
code served (permissive licence) · get_code("bd183c221194c591")
How it ran

no invocation recorded.

Also present in other papers' code

Of 17 samples lifted from this paper's linked repositories, 17 carry a function identity and 0 do not. Of the 17 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 17 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

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 Hug-gingFace 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× aggregate speedup over production baselines, with weaker agents at 0.78× and 0.53×-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. LLM-based agents for GPU kernel generation now achieve strong scores on isolated benchmarks [18,13,23], with state-of-the-art systems autonomously compiling, profiling, and refining CUDA or Triton code. Yet these gains often fail to transfer into production inference frameworks such as vLLM [7] and SGLang [25]: kernels that score well in sandbox evaluation routinely regress once they encounter real serving interfaces, compilation stacks, and workloads. The root cause is benchmark-production misalignment. Current benchmarks rely heavily on synthetic inputs, single-GPU isolated kernels, simplified interfaces, and independent task levels that do not compose into full inference pipelines. They therefore reward kernels that are fast in isolation but brittle in deployed systems, hiding interface mismatches, compilation-stack conflicts, and correctness degradation that only appears at model scale.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2605.23215")
get_code_for_paper("2605.23215")
have("2605.23215")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2605.23215.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2605.23215.svg)](https://syntology.ai/paper/2605.23215)

Connect an agent — have() is free.