The dataset viewer is not available for this split.
Error code: StreamingRowsError
Exception: CastError
Message: Couldn't cast
mode: string
accuracy: list<item: struct<offset: double, original: struct<max_abs_error: double, nonfinite: int64>, two_pas (... 52 chars omitted)
child 0, item: struct<offset: double, original: struct<max_abs_error: double, nonfinite: int64>, two_pass: struct<m (... 40 chars omitted)
child 0, offset: double
child 1, original: struct<max_abs_error: double, nonfinite: int64>
child 0, max_abs_error: double
child 1, nonfinite: int64
child 2, two_pass: struct<max_abs_error: double, nonfinite: int64>
child 0, max_abs_error: double
child 1, nonfinite: int64
targeted_cases: list<item: struct<suite: string, trial: int64, passed: bool, max_abs_error: double, nonfinite: int64 (... 2 chars omitted)
child 0, item: struct<suite: string, trial: int64, passed: bool, max_abs_error: double, nonfinite: int64>
child 0, suite: string
child 1, trial: int64
child 2, passed: bool
child 3, max_abs_error: double
child 4, nonfinite: int64
gpu_validation: bool
baseline_revision: string
torch_version: string
candidate_sha256: string
cuda_source_sha256: string
architecture: string
version: string
scope_note: string
compiler: string
gpu_execution: bool
results: list<item: struct<source: string, nvrtc_result: int64, log: string, source_sha256: string>>
child 0, item: struct<source: string, nvrtc_result: int64, log: string, source_sha256: string>
child 0, source: string
child 1, nvrtc_result: int64
child 2, log: string
child 3, source_sha256: string
to
{'compiler': Value('string'), 'version': Value('string'), 'architecture': Value('string'), 'gpu_execution': Value('bool'), 'results': List({'source': Value('string'), 'nvrtc_result': Value('int64'), 'log': Value('string'), 'source_sha256': Value('string')}), 'scope_note': Value('string'), 'cuda_source_sha256': Value('string')}
because column names don't match
Traceback: Traceback (most recent call last):
File "/src/services/worker/src/worker/utils.py", line 147, in get_rows_or_raise
return get_rows(
dataset=dataset,
...<4 lines>...
column_names=column_names,
)
File "/src/libs/libcommon/src/libcommon/utils.py", line 272, in decorator
return func(*args, **kwargs)
File "/src/services/worker/src/worker/utils.py", line 127, in get_rows
rows_plus_one = list(itertools.islice(safe_iter(ds, dataset=dataset), rows_max_number + 1))
File "/src/services/worker/src/worker/utils.py", line 483, in safe_iter
yield from ds.decode(False) if ds.features else ds
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2951, in __iter__
for key, example in ex_iterable:
^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2461, in __iter__
for key, pa_table in self._iter_arrow():
~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2486, in _iter_arrow
for key, pa_table in self.ex_iterable._iter_arrow():
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 547, in _iter_arrow
for key, pa_table in iterator:
^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 430, in _iter_arrow
for key, pa_table in self.generate_tables_fn(**gen_kwags):
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 343, in _generate_tables
self._cast_table(pa_table, json_field_paths=json_field_paths),
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 132, in _cast_table
pa_table = table_cast(pa_table, self.info.features.arrow_schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2378, in table_cast
return cast_table_to_schema(table, schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2306, in cast_table_to_schema
raise CastError(
...<3 lines>...
)
datasets.table.CastError: Couldn't cast
mode: string
accuracy: list<item: struct<offset: double, original: struct<max_abs_error: double, nonfinite: int64>, two_pas (... 52 chars omitted)
child 0, item: struct<offset: double, original: struct<max_abs_error: double, nonfinite: int64>, two_pass: struct<m (... 40 chars omitted)
child 0, offset: double
child 1, original: struct<max_abs_error: double, nonfinite: int64>
child 0, max_abs_error: double
child 1, nonfinite: int64
child 2, two_pass: struct<max_abs_error: double, nonfinite: int64>
child 0, max_abs_error: double
child 1, nonfinite: int64
targeted_cases: list<item: struct<suite: string, trial: int64, passed: bool, max_abs_error: double, nonfinite: int64 (... 2 chars omitted)
child 0, item: struct<suite: string, trial: int64, passed: bool, max_abs_error: double, nonfinite: int64>
child 0, suite: string
child 1, trial: int64
child 2, passed: bool
child 3, max_abs_error: double
child 4, nonfinite: int64
gpu_validation: bool
baseline_revision: string
torch_version: string
candidate_sha256: string
cuda_source_sha256: string
architecture: string
version: string
scope_note: string
compiler: string
gpu_execution: bool
results: list<item: struct<source: string, nvrtc_result: int64, log: string, source_sha256: string>>
child 0, item: struct<source: string, nvrtc_result: int64, log: string, source_sha256: string>
child 0, source: string
child 1, nvrtc_result: int64
child 2, log: string
child 3, source_sha256: string
to
{'compiler': Value('string'), 'version': Value('string'), 'architecture': Value('string'), 'gpu_execution': Value('bool'), 'results': List({'source': Value('string'), 'nvrtc_result': Value('int64'), 'log': Value('string'), 'source_sha256': Value('string')}), 'scope_note': Value('string'), 'cuda_source_sha256': Value('string')}
because column names don't matchNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
KernelBench-M
The measurement artifact for Measuring the Checker: Mutation Analysis for GPU-Kernel Benchmark Oracles: the mutation operators, the verified CUDA substrates they mutate, the kill witnesses, and the pipeline that produced every number in the paper.
Layout
rules/ 124 mutation rules, six families (mutator.py loads all of them)
substrates/ 208 gate-verified CUDA implementations, one per KernelBench
problem: the mutation targets. Never used as oracle.
witnesses/ per-problem kill records: for every mutant, its rule, family,
mutated site, whether the official protocol kills it, and — when
it survives — a suite that does
pipeline/ the measurement code (screening, kill matrix, audit, set cover)
summary.json per-problem mutant / witnessed / official-kill counts
validation/ errata, validation evidence, and quarantined historical records
The substrate count above describes the original release. InstanceNorm's repaired source has passed H100 re-admission; its active witness and summary records now describe the repaired source and expanded regression suites.
Supporting records: mechanism_curves.json (Fig. 2b–c), holdout.json
(dev/test split), ladder_summary.json (knowledge ladder),
gate_report.json (substrate admission), invalid_suites.json (suites
rejected for crossing the validity ceiling).
What a substrate is, and is not
KernelBench ships PyTorch references whose GPU execution bottoms out in closed
cuDNN/cuBLAS binaries, so there is no source to mutate. A substrate is a
correct CUDA implementation of the same computation, used only as a
mutation target. The oracle stays the benchmark's own PyTorch reference. Each
substrate is admitted by pipeline/gate_candidates.py, which compares it
against that reference on every suite before it may enter the pool
(gate_report.json records admissions and rejections).
Witness format
"softmax:barrier-drop:3": {
"rule": "barrier-drop", "family": "sync",
"site": "__syncthreads();",
"cls": "high_value",
"killed_by_official": false,
"witness": "T2_misaligned_batch"
}
cls is killed_by_T0 (the official inputs detect it), high_value (survives
the official inputs, a targeted input detects it), or no_witness (nothing we
have detects it — an equivalence or oracle-blindness candidate, excluded from
every denominator in the paper).
Reproducing
Requires an NVIDIA GPU with CUDA 12.x and PyTorch. From pipeline/:
python screen_mutants.py # generate, filter, and screen mutants
python full_matrix.py # kill matrix over all suites
python audit_matrix.py # score competing protocols (§5)
python analyze_cover.py # set-cover suite synthesis (§6)
python analyze_holdout.py # dev/test holdout (§6)
Each stage writes append-only JSONL journals and resumes from them, so a
crashed or preempted run can simply be restarted. SHARD_ID/SHARD_N split
problems across GPUs; STEAL=1 lets an idle worker pick up unclaimed problems.
Caveats
Mutation score is adequacy relative to this fault model, not absolute correctness: these operators cannot express faults living in structures the substrates do not contain (tensor-core paths, double-buffered pipelines), nor multi-site interactions. The artifact supports comparative claims between protocols and existence claims about specific faults. It cannot certify that a kernel passing these suites is correct.
Acknowledgments
Thanks to Jayden Vasquez for reporting the InstanceNorm numerical issue and providing a reproducer and initial fix.
- Downloads last month
- 438