tritonparse 0.2.4.dev20251010071509__py3-none-any.whl → 0.2.4.dev20251011071459__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of tritonparse might be problematic. Click here for more details.
- {tritonparse-0.2.4.dev20251010071509.dist-info → tritonparse-0.2.4.dev20251011071459.dist-info}/METADATA +28 -29
- {tritonparse-0.2.4.dev20251010071509.dist-info → tritonparse-0.2.4.dev20251011071459.dist-info}/RECORD +6 -6
- {tritonparse-0.2.4.dev20251010071509.dist-info → tritonparse-0.2.4.dev20251011071459.dist-info}/WHEEL +0 -0
- {tritonparse-0.2.4.dev20251010071509.dist-info → tritonparse-0.2.4.dev20251011071459.dist-info}/entry_points.txt +0 -0
- {tritonparse-0.2.4.dev20251010071509.dist-info → tritonparse-0.2.4.dev20251011071459.dist-info}/licenses/LICENSE +0 -0
- {tritonparse-0.2.4.dev20251010071509.dist-info → tritonparse-0.2.4.dev20251011071459.dist-info}/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: tritonparse
|
|
3
|
-
Version: 0.2.4.
|
|
3
|
+
Version: 0.2.4.dev20251011071459
|
|
4
4
|
Summary: TritonParse: A Compiler Tracer, Visualizer, and mini-Reproducer Generator for Triton Kernels
|
|
5
5
|
Author-email: Yueming Hao <yhao@meta.com>
|
|
6
6
|
License-Expression: BSD-3-Clause
|
|
@@ -51,7 +51,30 @@ Dynamic: license-file
|
|
|
51
51
|
|
|
52
52
|
## 🚀 Quick Start
|
|
53
53
|
|
|
54
|
-
### 1.
|
|
54
|
+
### 1. Installation
|
|
55
|
+
|
|
56
|
+
**Four options to install:**
|
|
57
|
+
```bash
|
|
58
|
+
# install nightly version
|
|
59
|
+
pip install -U --pre tritonparse
|
|
60
|
+
# install stable version
|
|
61
|
+
pip install tritonparse
|
|
62
|
+
# install from source
|
|
63
|
+
git clone https://github.com/meta-pytorch/tritonparse.git
|
|
64
|
+
cd tritonparse
|
|
65
|
+
pip install -e .
|
|
66
|
+
# pip install the latest version from github
|
|
67
|
+
pip install git+https://github.com/meta-pytorch/tritonparse.git
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
**Prerequisites:** Python ≥ 3.10, Triton ≥ 3.4.0, GPU required (NVIDIA/AMD)
|
|
71
|
+
|
|
72
|
+
TritonParse relies on new features in Triton. If you're using nightly PyTorch, Triton is already included. Otherwise, install the latest Triton:
|
|
73
|
+
```bash
|
|
74
|
+
pip install triton
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
### 2. Generate Traces
|
|
55
78
|
|
|
56
79
|
```python
|
|
57
80
|
import tritonparse.structured_logging
|
|
@@ -86,19 +109,19 @@ tritonparse.utils.unified_parse("./logs/", out="./parsed_output")
|
|
|
86
109
|
```
|
|
87
110
|
</details>
|
|
88
111
|
|
|
89
|
-
###
|
|
112
|
+
### 3. Visualize Results
|
|
90
113
|
|
|
91
114
|
**Visit [https://meta-pytorch.org/tritonparse/](https://meta-pytorch.org/tritonparse/?json_url=https://meta-pytorch.org/tritonparse/dedicated_log_triton_trace_findhao__mapped.ndjson.gz)** and open your local trace files (.ndjson.gz format).
|
|
92
115
|
|
|
93
116
|
> **🔒 Privacy Note**: Your trace files are processed entirely in your browser - nothing is uploaded to any server!
|
|
94
117
|
|
|
95
|
-
###
|
|
118
|
+
### 4. Generate Reproducers (Optional)
|
|
96
119
|
|
|
97
120
|
Extract any kernel into a standalone, executable Python script for debugging or testing:
|
|
98
121
|
|
|
99
122
|
```bash
|
|
100
123
|
# Generate reproducer from first launch event
|
|
101
|
-
|
|
124
|
+
tritonparseoss reproduce ./parsed_output/trace.ndjson.gz --line 2 --out-dir repro_output
|
|
102
125
|
|
|
103
126
|
# Run the generated reproducer
|
|
104
127
|
cd repro_output/<kernel_name>/
|
|
@@ -127,30 +150,6 @@ result = reproduce(
|
|
|
127
150
|
|
|
128
151
|
</details>
|
|
129
152
|
|
|
130
|
-
## 🛠️ Installation
|
|
131
|
-
|
|
132
|
-
**For basic usage (trace generation):**
|
|
133
|
-
Four options:
|
|
134
|
-
```bash
|
|
135
|
-
# install nightly version
|
|
136
|
-
pip install -U --pre tritonparse
|
|
137
|
-
# install stable version
|
|
138
|
-
pip install tritonparse
|
|
139
|
-
# install from source
|
|
140
|
-
git clone https://github.com/meta-pytorch/tritonparse.git
|
|
141
|
-
cd tritonparse
|
|
142
|
-
pip install -e .
|
|
143
|
-
# pip install the latest version from github
|
|
144
|
-
pip install git+https://github.com/meta-pytorch/tritonparse.git
|
|
145
|
-
```
|
|
146
|
-
|
|
147
|
-
**Prerequisites:** Python ≥ 3.10, Triton ≥ 3.4.0, GPU required (NVIDIA/AMD)
|
|
148
|
-
|
|
149
|
-
TritonParse relies on new features in Triton. Please install the latest version of Triton:
|
|
150
|
-
```bash
|
|
151
|
-
pip install triton
|
|
152
|
-
```
|
|
153
|
-
|
|
154
153
|
## 📚 Complete Documentation
|
|
155
154
|
|
|
156
155
|
| 📖 Guide | Description |
|
|
@@ -30,9 +30,9 @@ tritonparse/tools/format_fix.py,sha256=Ol0Sjui8D7OzHwbamAfGnq8V5Y63uwNaFTKSORN5H
|
|
|
30
30
|
tritonparse/tools/load_tensor.py,sha256=94-TiSYlpXJx4MPmGK1ovmZlTt56Q_B3KQeCPaA6Cnw,2734
|
|
31
31
|
tritonparse/tools/prettify_ndjson.py,sha256=r2YlHwFDTHgML7KljRmMsHaDg29q8gOQAgyDKWJhxRM,11062
|
|
32
32
|
tritonparse/tools/readme.md,sha256=w6PWYfYnRgoPArLjxG9rVrpcLUkoVMGuRlbpF-o0IQM,110
|
|
33
|
-
tritonparse-0.2.4.
|
|
34
|
-
tritonparse-0.2.4.
|
|
35
|
-
tritonparse-0.2.4.
|
|
36
|
-
tritonparse-0.2.4.
|
|
37
|
-
tritonparse-0.2.4.
|
|
38
|
-
tritonparse-0.2.4.
|
|
33
|
+
tritonparse-0.2.4.dev20251011071459.dist-info/licenses/LICENSE,sha256=4ZciugpyN7wcM4L-9pyDh_etvMUeIfBhDTyH1zeZlQM,1515
|
|
34
|
+
tritonparse-0.2.4.dev20251011071459.dist-info/METADATA,sha256=DOEYznuw_uJWoKxcyZOGYNYxD_CVdbaeLkQWVkJQU0c,8278
|
|
35
|
+
tritonparse-0.2.4.dev20251011071459.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
36
|
+
tritonparse-0.2.4.dev20251011071459.dist-info/entry_points.txt,sha256=wEXdaieDoRRCCdhEv2p_C68iytnaXU_2pwt5CqjfbWY,56
|
|
37
|
+
tritonparse-0.2.4.dev20251011071459.dist-info/top_level.txt,sha256=ITcTKgp3vf_bXV9vixuQU9IrZa3L1EfDSZwvRzRaoJU,12
|
|
38
|
+
tritonparse-0.2.4.dev20251011071459.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|