tritonparse icon indicating copy to clipboard operation
tritonparse copied to clipboard

feat(clp): Add CLP support to the OSS trace parsing workflow; Add `yscope_clp_core` dependency.

Open Bill-hbrhbr opened this issue 6 months ago • 0 comments

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.
  • Add support for reading CLP compressed trace output in unified_parse.
    • The workflow now cleans up the logging handler before running unified_parse.
  • 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_core to pyproject.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.

Bill-hbrhbr avatar Jun 01 '26 08:06 Bill-hbrhbr