ttnn.execute_trace

ttnn.execute_trace = <nanobind.nb_func object>

ttnn.MeshDevice, trace_id: ttnn.MeshTraceId, *, cq_id: Optional[ttnn.QueueId] = None, blocking: bool = True) -> None

Replays a captured trace.

trace_id is interpreted under the currently active sub-device manager. The manager under which the trace was captured must be active for this call.

Parameters:
  • mesh_device (ttnn.MeshDevice)Mesh device on which the trace was captured.

  • trace_id (ttnn.MeshTraceId)ID of the trace under the active sub-device manager.

Keyword Arguments:
  • cq_id (Optional[ttnn.QueueId])Command queue on which to replay. Defaults to the current command queue.

  • blocking (bool)Whether to wait for trace execution to complete. Defaults to True.

Type:

execute_trace(mesh_device