tritonparse
tritonparse copied to clipboard
feat(clp): Add CLP support to the OSS trace parsing workflow; Add `yscope_clp_core` dependency.
Changes
- Write CLP archives directly to the requested
.clpfile path instead of creating an archive directory. - Add support for CLP compressed trace output from structured logging.
- Add support for reading CLP compressed trace output in
unified_parse.- The workflow now cleans up the logging handler before running
unified_parse.
- The workflow now cleans up the logging handler before running
- Add support for writing parsed output as CLP archives.
Utilities
- Add CLP single-file archive detection to the compression utilities.
- Add
enumerate_json()to skip line parsing when JSON objects are expected.
Misc
- Add
yscope_clp_coretopyproject.toml. - Add a CLP parsed output public asset for the UI.
Tests
- The workflow can be tested with:
TMPDIR=<tmp_dir> TRITON_TRACE_COMPRESSION=clp TEST_KEEP_OUTPUT=1 \
uv run python3 -m unittest tests.gpu.test_complex_kernels
- Add CLP coverage for compression helpers.
- Add
enumerate_json()coverage for gzip, zstd, and CLP.