onnx_light.tools.kernel_reports#

Collects native kernel evidence and verifies persisted profiles in separate processes.

onnx_light.tools.kernel_reports.baseline(threads, repeat)#

Measures the fixed corpus under serial and explicit session policies.

onnx_light.tools.kernel_reports.check(condition, message)#

Raises when measurement evidence fails validation.

onnx_light.tools.kernel_reports.collect(output, threads, repeat, duration_ms, memory_bytes)#

Collects a clean baseline and calibrates every available CPU key.

onnx_light.tools.kernel_reports.main()#

Runs one measurement phase; verification must use a fresh process.

onnx_light.tools.kernel_reports.profile_key(profile)#

Returns the complete registry key, including the tuning ABI.

onnx_light.tools.kernel_reports.verify(output, incompatible=False)#

Checks schema/ABI and descriptor selection without recalibrating.

onnx_light.tools.kernel_reports.write_report(path, report)#

Writes a machine-readable report without dropping native diagnostics.