plawanrath's picture
Initial upload of NL→MLIR benchmark
3598ef2 verified
{
"@context": {
"@language": "en",
"@vocab": "https://schema.org/",
"sc": "https://schema.org/",
"cr": "http://mlcommons.org/croissant/",
"rai": "http://mlcommons.org/croissant/RAI/",
"dct": "http://purl.org/dc/terms/",
"data": {
"@id": "cr:data",
"@type": "@json"
},
"dataType": {
"@id": "cr:dataType",
"@type": "@vocab"
},
"examples": {
"@id": "cr:examples",
"@type": "@json"
}
},
"@type": "sc:Dataset",
"name": "MLIR-Functional-Reference-30",
"description": "Hand-authored functional-correctness reference set for arith+func, linalg+memref, and StableHLO (n=30, 10 per dialect). Each record specifies a canonical function name, signature, concrete inputs, and the expected output under a dialect-specific execution wrapper. The set is released as evaluation evidence (verify-valid is necessary but not sufficient for functional correctness).",
"conformsTo": "http://mlcommons.org/croissant/1.0",
"license": "https://spdx.org/licenses/Apache-2.0.html",
"version": "1.0.0",
"datePublished": "2026-04-29",
"citeAs": "(anonymous submission to NeurIPS 2026 E&D track)",
"url": "<populated-at-camera-ready>",
"distribution": [
{
"@type": "cr:FileObject",
"@id": "MLIR-Functional-Reference-30-archive",
"name": "MLIR-Functional-Reference-30.zip",
"contentUrl": "<populated-at-camera-ready>",
"encodingFormat": "application/zip",
"sha256": "<populated-at-camera-ready>"
}
],
"recordSet": [
{
"@type": "cr:RecordSet",
"@id": "records",
"name": "records",
"description": "One functional-reference record per row.",
"field": [
{
"@type": "cr:Field",
"@id": "records/id",
"name": "id",
"dataType": "sc:Text",
"description": "Unique record identifier."
},
{
"@type": "cr:Field",
"@id": "records/dialect",
"name": "dialect",
"dataType": "sc:Text",
"description": "MLIR dialect tag (arith/linalg/stablehlo)."
},
{
"@type": "cr:Field",
"@id": "records/source_benchmark",
"name": "source_benchmark",
"dataType": "sc:Text",
"description": "Which sibling benchmark this prompt was authored from."
},
{
"@type": "cr:Field",
"@id": "records/source_id",
"name": "source_id",
"dataType": "sc:Text",
"description": "Sibling-benchmark prompt id (for cross-reference)."
},
{
"@type": "cr:Field",
"@id": "records/canonical_fn_name",
"name": "canonical_fn_name",
"dataType": "sc:Text",
"description": "Expected MLIR function name."
},
{
"@type": "cr:Field",
"@id": "records/canonical_signature",
"name": "canonical_signature",
"dataType": "sc:Text",
"description": "Expected MLIR function signature."
},
{
"@type": "cr:Field",
"@id": "records/result_type",
"name": "result_type",
"dataType": "sc:Text",
"description": "MLIR result type."
},
{
"@type": "cr:Field",
"@id": "records/inputs",
"name": "inputs",
"dataType": "sc:Text",
"description": "Concrete input values for the execution wrapper (JSON-encoded)."
},
{
"@type": "cr:Field",
"@id": "records/expected_output",
"name": "expected_output",
"dataType": "sc:Text",
"description": "Expected scalar/array output (JSON-encoded)."
},
{
"@type": "cr:Field",
"@id": "records/expected_stdout_regex",
"name": "expected_stdout_regex",
"dataType": "sc:Text",
"description": "Optional regex over the runner's stdout for matching."
},
{
"@type": "cr:Field",
"@id": "records/nl",
"name": "nl",
"dataType": "sc:Text",
"description": "Natural-language task description."
}
]
}
]
}