Skip to content

TritonParse v0.2.0 Release πŸŽ‰

Choose a tag to compare

@FindHao FindHao released this 11 Sep 23:08
· 384 commits to main since this release

TritonParse Release Notes (last 27 commits)

  • Date range: 2025-07-25 β€” 2025-09-11
  • Scope: Core library, website UI/UX, performance & scalability, CI/CD & packaging, documentation & maintenance.

Highlights

  • PyPI package: TritonParse has been added to PyPI and can be installed by pip install tritonparse!
  • Website usability: Drag-and-drop to open logs; one-click copy in code viewers; sticky, compact kernel selector; footer shows app version, localized build date, and Git short SHA; tensor arguments in Launch Analysis now display concise summaries with expandable details.
  • Large-file parsing: Streaming NDJSON parsing and robust gzip handling significantly reduce memory usage and improve stability for files >100 MB.
  • Core & integrations: Persist Inductor kernel config into inductor_metadata and pass to JIT hooks; ensure Inductor path invokes jit_post_compile_hook; new init_with_env for environment-based initialization; move compilation timing times into metadata for automatic frontend rendering.
  • Releases & versioning: Adopt setuptools-scm dynamic versioning; add Nightly PyPI publishing; enable stable publishing on tag push; fix nightly version potentially being older than stable; correct packaging license metadata.
  • CI stability: Ubuntu 24.04 compatibility; improved CUDA/cuDNN setup and detection; parallelize jobs; add parallel CI for pip-installed Triton; better error visibility in install scripts; upgrade libstdc++.

Changes by area

  • Core library

    • Save Inductor kernel params to inductor_metadata and forward to JIT hooks.
    • Manually invoke jit_post_compile_hook in the Inductor Triton compile path.
    • Add init_with_env that reads TRITON_TRACE_FOLDER and TRITON_TRACE_LAUNCH.
    • Move compilation times into metadata so the frontend auto-renders it.
    • Use cached source in compile listener for stability.
    • Refactor source-mapping pipeline into modular units for maintainability.
  • Website UI/UX

    • Drag-and-drop to open supported log files.
    • Copy button in code viewer panels.
    • Sticky/collapsible/compact kernel selector in Kernel Overview; resizable compilation stack trace vertically.
    • Launch Analysis: tensor args show concise summaries with expandable details.
    • Footer displays version, localized build date, and Git short SHA.
    • Streaming NDJSON parsing and improved error handling for large logs.
  • Performance & scalability

    • Use streaming path for files >100 MB to reduce memory peaks and improve robustness.
  • CI/CD & packaging

    • Enable setuptools-scm and nightly PyPI publishing.
    • Publish stable releases on tag push; improve version computation and tag detection.
    • Fix nightly version possibly lagging behind stable; add clear error on missing tags.
    • Add parallel CI for pip-installed Triton; recommend pip installation in docs.
    • Improve Ubuntu 24.04 setup, CUDA/cuDNN handling, and job parallelism.
    • Increase error visibility in install scripts and upgrade libstdc++.
    • Define lower bounds for prerequisites in pyproject.toml.
  • Docs & maintenance

    • Move repository to meta-pytorch org; update links and guidance; add AI assistant context.
    • Update/restore CONTRIBUTING docs to avoid breaking downstream consumers.
  • Testing

    • Preserve test outputs when TEST_KEEP_OUTPUT=1 to aid debugging.

Compatibility notes

  • Versioning & publishing: setuptools-scm with tag-based stable releases and nightly dev versions. Ensure PYPI_API_TOKEN is configured in CI if publishing is intended.
  • Data format: compilation timing times moved under metadata; update any downstream scripts that referenced the old location.
  • Build metadata: footer shows localized build date and Git short SHA; restart dev server to refresh these values.

Upgrade guidance

  • Prefer Triton from PyPI (β‰₯ 3.4.0) and adhere to the lower bounds declared in pyproject.toml.
  • For deterministic build metadata in the website, set BUILD_DATE and GIT_COMMIT_SHA_SHORT in the environment when running dev/build.