microsoft / onnxscript

ONNX Script enables developers to naturally author ONNX functions and models using a subset of Python.
https://onnxscript.ai/
MIT License
246 stars 46 forks source link

Graph replayer #1372

Open justinchuby opened 2 months ago

justinchuby commented 2 months ago

Replay the transformation done on a graph, with call stack information and optional annotations.

JSON diff format with atomic actions like database ops.

UI for displaying the graph (with diff) and annotations

justinchuby commented 2 months ago

inspect.currentframe() or https://stackoverflow.com/questions/1156023/print-current-call-stack-from-a-method-in-code