tt-enable-tracing
Installation
SKILL.md
External Resources
- Advanced Performance Optimizations -- trace APIs, multiple command queues, combining trace + multi-CQ, programming examples
Overview
Trace capture records a sequence of TTNN operations once, then replays them without host dispatch overhead.
Prerequisites
When opening the device, reserve space for the trace with trace_region_size:
# Single device
device = ttnn.open_device(device_id=0, trace_region_size=100000000)