TritonParse v0.2.0 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_metadataand pass to JIT hooks; ensure Inductor path invokesjit_post_compile_hook; newinit_with_envfor environment-based initialization; move compilation timingtimesintometadatafor 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_metadataand forward to JIT hooks. - Manually invoke
jit_post_compile_hookin the Inductor Triton compile path. - Add
init_with_envthat readsTRITON_TRACE_FOLDERandTRITON_TRACE_LAUNCH. - Move compilation
timesintometadataso the frontend auto-renders it. - Use cached source in compile listener for stability.
- Refactor source-mapping pipeline into modular units for maintainability.
- Save Inductor kernel params to
-
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-pytorchorg; update links and guidance; add AI assistant context. - Update/restore CONTRIBUTING docs to avoid breaking downstream consumers.
- Move repository to
-
Testing
- Preserve test outputs when
TEST_KEEP_OUTPUT=1to aid debugging.
- Preserve test outputs when
Compatibility notes
- Versioning & publishing: setuptools-scm with tag-based stable releases and nightly dev versions. Ensure
PYPI_API_TOKENis configured in CI if publishing is intended. - Data format: compilation timing
timesmoved undermetadata; 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_DATEandGIT_COMMIT_SHA_SHORTin the environment when running dev/build.