tritonparse
tritonparse copied to clipboard
TritonParse: A Compiler Tracer, Visualizer, and Reproducer for Triton Kernels
## Changes * Write CLP archives directly to the requested `.clp` file path instead of creating an archive directory. * Add support for CLP compressed trace output from structured logging....
Users can now label the left and right sides of the file diff view. Labels are persisted in the URL for sharing. Closes #270
The upstream autotune hook has been merged https://github.com/triton-lang/triton/pull/10125 and integrated to tritonparse https://github.com/meta-pytorch/tritonparse/commit/19981c786977c8f740c90e84787978d199ade3bd. We still need to add the autotune results to the website.
maybe we can just add a lable in the final parsed trace file name.
**Background:** Right now, kernel and launch-event querying lives under the info subcommand of the TritonParse CLI, implemented in [tritonparse/info](https://github.com/meta-pytorch/tritonparse/tree/ef7726147721fd51f26998137ce479b63ffa78ac/tritonparse/info). - [cli.py](https://github.com/meta-pytorch/tritonparse/blob/ef7726147721fd51f26998137ce479b63ffa78ac/tritonparse/info/cli.py) accepts a kernel name and a comma-separated equality query...
https://github.com/triton-lang/triton/pull/7866 updated the hook APIs. not a bc-breaking for now, but still need to update those API usages in TritonParse.
https://github.com/meta-pytorch/tritonparse/blob/0529d6615fb6a64f18fadc70d5bc4b247aa1282a/tritonparse/ir_parser.py#L194-L198 The above line mapping information should be changed to a named tuple or class. All its inferences should be updated too.
Maybe add a new reproduce template with some benchmarking runs in the main function.