Reads kernels/projects/<project>/state.json and reports tracked job states.
Primary keys used by current flow:
profilegenerateoptimize_adv(optimize job path still uses this key in current walkers)benchmark
Common state fields:
status:queued|running|paused|completed|error|cancelledphase: backend stage textmessage: progress/error textstarted_atupdated_atfinished_atlogpidprogress(optional):{current,total,percent,updated_at}
Legacy compatibility:
- legacy
generate_advstate is migrated togenerateon read.
Reads project benchmark + profile artifacts and returns dashboard chart payload.
Inputs:
kernels/projects/<project>/benchmarks/op_benchmarks.jsonkernels/projects/<project>/io/summary.json
Returns:
operator_usage: list of{name,count,total_time_ms}speed_comparison: list of{name,pytorch,optimized?}status:pending|error|empty|partial|readyprofile_statusprofile_messageerrors
Behavior notes:
speed_comparisonmay contain baseline-only rows while generation is in progress.operator_usageprefers optimized timing when available, else baseline timing.- During per-operator generation/optimization, chart payload may update incrementally.