Query and analyze NKI kernel profile data from neuron-explorer parquet
files. Supports SQL queries via the neuron-explorer API and Python on
parquet for advanced analysis. Works locally on trainium with NEFF/NTFF
files on disk.
Querying: start neuron-explorer, ingest profiles, run SQL against
tables (Summary, Instruction, DmaPacket, DmaPacketAggregated, etc.),
explore schemas. Use when user says "query profile", "run SQL on profile",
"start neuron-explorer", or has NEFF+NTFF files and wants to query them.
Analysis: compute performance bounds, identify bottleneck engines,
measure gaps (idle time, inefficiency, excess traffic, transposes),
and run investigations to localize inefficiencies to NKI source lines.
Use when user says "analyze profile", "what's the bottleneck",
"compute bounds", "why is my kernel slow", or wants profile-guided
optimization guidance.