You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary:
- Documented significant updates and enhancements in the TritonParse library, including improvements in website usability, large-file parsing, core library features, CI/CD processes, and documentation maintenance.
- Updated version numbers in package.json and package-lock.json to reflect the new release version 0.2.0.
Highlights include drag-and-drop functionality for log files, improved error handling, and enhanced CI stability. Compatibility notes and upgrade guidance are also provided for users.
Pull Request resolved: #100
Reviewed By: sfzhu93
Differential Revision: D82254863
Pulled By: FindHao
fbshipit-source-id: ea7a8ebbf20f345b916558d0541f97a4d9ce0917
-**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.
17
+
-**Large-file parsing**: Streaming NDJSON parsing and robust gzip handling significantly reduce memory usage and improve stability for files >100 MB.
18
+
-**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.
19
+
-**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.
20
+
-**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++.
21
+
22
+
### Changes by area
23
+
-**Core library**
24
+
- Save Inductor kernel params to `inductor_metadata` and forward to JIT hooks.
25
+
- Manually invoke `jit_post_compile_hook` in the Inductor Triton compile path.
26
+
- Add `init_with_env` that reads `TRITON_TRACE_FOLDER` and `TRITON_TRACE_LAUNCH`.
27
+
- Move compilation `times` into `metadata` so the frontend auto-renders it.
28
+
- Use cached source in compile listener for stability.
29
+
- Refactor source-mapping pipeline into modular units for maintainability.
- Launch Analysis: tensor args show concise summaries with expandable details.
36
+
- Footer displays version, localized build date, and Git short SHA.
37
+
- Streaming NDJSON parsing and improved error handling for large logs.
38
+
39
+
-**Performance & scalability**
40
+
- Use streaming path for files >100 MB to reduce memory peaks and improve robustness.
41
+
42
+
-**CI/CD & packaging**
43
+
- Enable setuptools-scm and nightly PyPI publishing.
44
+
- Publish stable releases on tag push; improve version computation and tag detection.
45
+
- Fix nightly version possibly lagging behind stable; add clear error on missing tags.
46
+
- Add parallel CI for pip-installed Triton; recommend pip installation in docs.
47
+
- Improve Ubuntu 24.04 setup, CUDA/cuDNN handling, and job parallelism.
48
+
- Increase error visibility in install scripts and upgrade libstdc++.
49
+
- Define lower bounds for prerequisites in `pyproject.toml`.
50
+
51
+
-**Docs & maintenance**
52
+
- Move repository to `meta-pytorch` org; update links and guidance; add AI assistant context.
53
+
- Update/restore CONTRIBUTING docs to avoid breaking downstream consumers.
54
+
55
+
-**Testing**
56
+
- Preserve test outputs when `TEST_KEEP_OUTPUT=1` to aid debugging.
57
+
58
+
### Compatibility notes
59
+
- 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.
60
+
- Data format: compilation timing `times` moved under `metadata`; update any downstream scripts that referenced the old location.
61
+
- Build metadata: footer shows localized build date and Git short SHA; restart dev server to refresh these values.
62
+
63
+
### Upgrade guidance
64
+
- Prefer Triton from PyPI (≥ 3.4.0) and adhere to the lower bounds declared in `pyproject.toml`.
65
+
- For deterministic build metadata in the website, set `BUILD_DATE` and `GIT_COMMIT_SHA_SHORT` in the environment when running dev/build.
0 commit comments