neuro-compiler / evaluation /benchmark.json
chrisuser's picture
Release 0.2.0-experimental graph compiler
51c8a9f verified
Raw History Blame Contribute Delete
8.8 kB
{
"pipeline": {
"abi": "x86_64 SysV",
"device": "cuda",
"spec": {
"backbone": "Qwen/Qwen2.5-Coder-0.5B",
"revision": "0576a1bc0ae53f21860e905e081807bd7ff4a4c7",
"tokens": 96,
"depths": [
6
]
},
"manifest_sha256": "e7db505c0054653e111aaecdbea2542d00c901173d897cb6f9a93d3d63d2635c",
"source_fingerprint": "fecaadee6daec74c2e6ab067800ddde485698809b0e9c77ef473dfff795e396b",
"checkpoints": {
"ast": {
"sha256": "0115925b513ab25b5307c766b22510ec66db5259bb73387a1778dd8b1470ec03",
"epoch": 68,
"kind": "grounded_graph_ast"
},
"ssa": {
"sha256": "5705cb92c40cc7327da7102071f65aa12600ac9b91de64bf5fb147cb84032978",
"epoch": 79,
"kind": "graph_ssa_stage"
},
"isel": {
"sha256": "0290e3e3dea324a5e571f62503e3c070915e0dcb1b0003b188c607b4eb340fcd",
"epoch": 68,
"kind": "graph_isel_stage"
},
"regalloc": {
"sha256": "c571d8e96f3f1c3c98ca4958f2d776e6949a00ca25c12824d7311ef4318bf659",
"epoch": 30,
"kind": "graph_regalloc_occupancy_stage"
},
"binary": {
"sha256": "c137da040b13ceca334e450d23f32806bdbb01bf831456cf533e612332d14c04",
"epoch": 2,
"kind": "graph_binary_stage"
}
},
"binary_selection": {
"selected": "independent",
"candidates": [
{
"mode": "independent",
"epoch": 2,
"validation": {
"n": 2000,
"exact": 1.0,
"exact_count": 2000,
"instruction_exact": 1.0,
"length_accuracy": 1.0,
"byte_accuracy": 1.0,
"spill_n": 7,
"spill_exact": 1.0,
"nonspill_exact": 1.0
},
"sha256": "c137da040b13ceca334e450d23f32806bdbb01bf831456cf533e612332d14c04"
}
],
"policy": "Reference validation exact, instruction exact, byte accuracy; local and smaller on ties. No held-out selection."
},
"precision": "Qwen original cache precision; FP16 intermediate boundaries, FP32 specialized operations",
"scope": "Curriculum A: fully parenthesized unsigned 32-bit expressions, a/b/c, literals 1..63, 1..7 binary operations",
"reference_binary_sha256": "1ab80e559f1c8b8485abd1fb2056cc11e181c3ef0a3945b9cf6a1e3a29f56096",
"allocator_validation": {
"exact": 0.9815000295639038,
"signature_accuracy": 0.9906620383262634,
"register_accuracy": 0.9885137677192688,
"immediate_accuracy": 0.9915221333503723,
"stack_accuracy": 1.0,
"constant_repair": 0.9825000166893005,
"register_repair": 0.9900000095367432,
"spill_exact": 0.7142857313156128,
"spill_n": 7,
"nonspill_exact": 0.9824385643005371,
"n": 2000,
"structurally_executable": 0.993,
"semantic32": 0.986,
"semantic_n": 2000,
"inputs_per_function": 32,
"binding_accuracy": 0.9879426956176758,
"emission_overflow": 0,
"reference_eligible": 1992,
"predicted_instructions_mean": 6.584000110626221,
"event_count_accuracy": 0.9987921714782715,
"event_count_exact": 0.9939758777618408,
"anchor_accuracy": null,
"by_depth": {
"1": {
"n": 286,
"exact": 1.0
},
"2": {
"n": 370,
"exact": 1.0
},
"3": {
"n": 520,
"exact": 0.9903846383094788
},
"4": {
"n": 256,
"exact": 0.9921875
},
"5": {
"n": 224,
"exact": 0.9464285969734192
},
"6": {
"n": 191,
"exact": 0.9528796076774597
},
"7": {
"n": 153,
"exact": 0.9411764740943909
}
},
"by_operations": {
"1": {
"n": 286,
"exact": 1.0
},
"2": {
"n": 286,
"exact": 1.0
},
"3": {
"n": 286,
"exact": 0.996503472328186
},
"4": {
"n": 286,
"exact": 0.996503472328186
},
"5": {
"n": 286,
"exact": 0.9895104765892029
},
"6": {
"n": 285,
"exact": 0.9719298481941223
},
"7": {
"n": 285,
"exact": 0.9157894849777222
}
},
"by_origin": {
"balanced_shape": {
"n": 497,
"exact": 0.9919517040252686
},
"left_chain": {
"n": 502,
"exact": 0.9980079531669617
},
"random": {
"n": 504,
"exact": 0.954365074634552
},
"right_chain": {
"n": 497,
"exact": 0.9818913340568542
}
},
"by_balanced": {
"False": {
"n": 1559,
"exact": 0.976908266544342
},
"True": {
"n": 441,
"exact": 0.997732400894165
}
},
"occupancy": {
"labels": 49675,
"kind_accuracy": 0.9956517362858581,
"content_exact": 0.994765978862607,
"known_content_exact": 0.9948304663867443,
"by_kind": {
"0": {
"n": 5377,
"exact": 0.9942347033661894
},
"1": {
"n": 9159,
"exact": 0.9975979910470575
},
"2": {
"n": 8744,
"exact": 0.9969121683440073
},
"3": {
"n": 8270,
"exact": 0.9939540507859734
},
"4": {
"n": 11,
"exact": 0.0
},
"5": {
"n": 18114,
"exact": 0.9934304957491443
}
}
}
},
"binary_reference_validation": {
"n": 2000,
"exact": 1.0,
"exact_count": 2000,
"instruction_exact": 1.0,
"length_accuracy": 1.0,
"byte_accuracy": 1.0,
"spill_n": 7,
"spill_exact": 1.0,
"nonspill_exact": 1.0
},
"specialized_parameters_by_stage": {
"ast": 753739,
"ssa": 1078162,
"isel": 913695,
"regalloc": 585134,
"binary": 311553
},
"specialized_parameters": 3642283,
"backbone_parameters": 225608960,
"total_parameters": 229251243
},
"split": "test",
"neural": {
"functions": 2000,
"batch": 32,
"repeats": 3,
"seconds": [
4.960962400073186,
4.9124207000713795,
5.068292499985546
],
"median_seconds": 4.960962400073186,
"candidates_per_second": 403.1475828098386,
"peak_cuda_allocated_mib": 562.14208984375,
"peak_cuda_reserved_mib": 616.0,
"includes": "Tokenizer, host/device transfer, all six neural stages, byte packing and CPU byte serialization. Excludes model loading, file I/O and emulation.",
"sampled_correct_candidates_per_second": 395.68935252785656
},
"synchronized_stage_profile_ms_per_function": {
"tokenization_and_transfer": 1.0030856005614623,
"qwen": 1.142623248975724,
"ast": 0.15224995056632906,
"ssa": 0.21704874990973622,
"isel": 0.22722220013383776,
"regalloc": 0.31930019974242896,
"binary": 0.061826799996197224,
"output_transfer": 0.0037986001698300242
},
"profile_note": "Separate synchronized pass; synchronization overhead means totals need not match end-to-end benchmark.",
"clang": {
"tool": "clang++.EXE",
"optimization": "-O0",
"batch": 128,
"workers": 8,
"repeats": 3,
"seconds": [
0.11174400011077523,
0.11332290014252067,
0.11492149997502565
],
"median_seconds": 0.11332290014252067,
"functions_per_second": 17648.683518377115,
"note": "Clang C++ frontend and backend with batched translation units; may produce different bytes than unfolded SSA reference. Clang correctness not measured by this timing.",
"version": "clang version 23.1.2 (https://github.com/llvm/llvm-project 85ac560262434c9ccfc0c183ec22d4138ed647fb)"
},
"verification": {
"functions": 2000,
"serializable": 1.0,
"fully_disassembled": 1.0,
"semantic_accuracy": 0.9815,
"semantic_correct": 1963,
"inputs_per_function": 32
},
"hardware": {
"gpu": "NVIDIA GeForce RTX 2060 SUPER",
"cpu": "Intel(R) Core(TM) i9-10850K CPU @ 3.60GHz"
},
"environment": {
"python": "3.14.0",
"torch": "2.13.0+cu132"
},
"held_out_note": "Timing only; no checkpoint or architecture selection using these results."
}