pycauset.last_io_trace
Return the most recent IO trace, optionally filtered by operation name.
Each trace records the chosen route (direct vs streaming), the reason, operand storage summaries, tile shape, queue depth, and events. Useful for answering "did this op spill to disk, and why".
Parameters
- op (str, optional): Filter to the most recent trace for this operation
name (for example
"matmul"). WhenNone, returns the latest trace regardless of operation.
Returns
- dict | None: The most recent trace record, or
Nonewhen no matching trace exists.