tritonparse 0.2.1.dev20250913071432__py3-none-any.whl → 0.2.1.dev20250914071450__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/common.py +4 -6
- {tritonparse-0.2.1.dev20250913071432.dist-info → tritonparse-0.2.1.dev20250914071450.dist-info}/METADATA +5 -2
- {tritonparse-0.2.1.dev20250913071432.dist-info → tritonparse-0.2.1.dev20250914071450.dist-info}/RECORD +6 -6
- {tritonparse-0.2.1.dev20250913071432.dist-info → tritonparse-0.2.1.dev20250914071450.dist-info}/WHEEL +0 -0
- {tritonparse-0.2.1.dev20250913071432.dist-info → tritonparse-0.2.1.dev20250914071450.dist-info}/licenses/LICENSE +0 -0
- {tritonparse-0.2.1.dev20250913071432.dist-info → tritonparse-0.2.1.dev20250914071450.dist-info}/top_level.txt +0 -0
tritonparse/common.py
CHANGED
|
@@ -357,15 +357,13 @@ def parse_logs(
|
|
|
357
357
|
file_mapping[rank_key]["mapped_file"] = mapped_file
|
|
358
358
|
|
|
359
359
|
# Clean up the file mapping - remove None mapped_files and ensure no duplicates
|
|
360
|
-
for rank_key in file_mapping:
|
|
360
|
+
for rank_key, rank_data in file_mapping.items():
|
|
361
361
|
if rank_key != "tritonparse_url_prefix":
|
|
362
362
|
# Remove duplicates from regular_files
|
|
363
|
-
|
|
364
|
-
set(file_mapping[rank_key]["regular_files"])
|
|
365
|
-
)
|
|
363
|
+
rank_data["regular_files"] = list(set(rank_data["regular_files"]))
|
|
366
364
|
# Remove mapped_file if None
|
|
367
|
-
if
|
|
368
|
-
del
|
|
365
|
+
if rank_data["mapped_file"] is None:
|
|
366
|
+
del rank_data["mapped_file"]
|
|
369
367
|
# Save file mapping to parsed_log_dir
|
|
370
368
|
log_file_list_path = os.path.join(parsed_log_dir, "log_file_list.json")
|
|
371
369
|
with open(log_file_list_path, "w") as f:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: tritonparse
|
|
3
|
-
Version: 0.2.1.
|
|
3
|
+
Version: 0.2.1.dev20250914071450
|
|
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
|
|
@@ -8,7 +8,10 @@ Project-URL: Homepage, https://github.com/meta-pytorch/tritonparse
|
|
|
8
8
|
Requires-Python: >=3.10
|
|
9
9
|
Description-Content-Type: text/markdown
|
|
10
10
|
License-File: LICENSE
|
|
11
|
-
|
|
11
|
+
Provides-Extra: triton
|
|
12
|
+
Requires-Dist: triton>3.3.1; extra == "triton"
|
|
13
|
+
Provides-Extra: pytorch-triton
|
|
14
|
+
Requires-Dist: pytorch-triton>=3.4.0; extra == "pytorch-triton"
|
|
12
15
|
Provides-Extra: test
|
|
13
16
|
Requires-Dist: coverage>=7.0.0; extra == "test"
|
|
14
17
|
Dynamic: license-file
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
tritonparse/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
-
tritonparse/common.py,sha256=
|
|
2
|
+
tritonparse/common.py,sha256=aT7zIPKEiuvTq_MbHgMREuVIz-gVcsRskSDlvuIOHuQ,13662
|
|
3
3
|
tritonparse/event_diff.py,sha256=yOD6uNxLJroatfx2nEGr-erw24ObOrHU9P6V5pzr8do,4907
|
|
4
4
|
tritonparse/extract_source_mappings.py,sha256=Z6UxFj2cCE5NCWLQTYPKqUpLfbYhqP8xgCl5mvud9KI,1451
|
|
5
5
|
tritonparse/ir_parser.py,sha256=1j1tP9jpUN7wH3e01bKUkUPgTMlNXUdp8LKRCC-WTro,9324
|
|
@@ -17,8 +17,8 @@ tritonparse/tools/format_fix.py,sha256=Ol0Sjui8D7OzHwbamAfGnq8V5Y63uwNaFTKSORN5H
|
|
|
17
17
|
tritonparse/tools/load_tensor.py,sha256=tfdmNVd9gsZqO6msQBhbXIhOvUzgc83yF64k2GDWPNk,2122
|
|
18
18
|
tritonparse/tools/prettify_ndjson.py,sha256=VOzVWoXpCbaAXYA4i_wBcQIHfh-JhAx7xR4cF_L8yDs,10928
|
|
19
19
|
tritonparse/tools/readme.md,sha256=w6PWYfYnRgoPArLjxG9rVrpcLUkoVMGuRlbpF-o0IQM,110
|
|
20
|
-
tritonparse-0.2.1.
|
|
21
|
-
tritonparse-0.2.1.
|
|
22
|
-
tritonparse-0.2.1.
|
|
23
|
-
tritonparse-0.2.1.
|
|
24
|
-
tritonparse-0.2.1.
|
|
20
|
+
tritonparse-0.2.1.dev20250914071450.dist-info/licenses/LICENSE,sha256=4ZciugpyN7wcM4L-9pyDh_etvMUeIfBhDTyH1zeZlQM,1515
|
|
21
|
+
tritonparse-0.2.1.dev20250914071450.dist-info/METADATA,sha256=0NjvdtMaAEWf5ro_pBKMHiG_AjdIJ3Zez5js5Yv83zU,6306
|
|
22
|
+
tritonparse-0.2.1.dev20250914071450.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
23
|
+
tritonparse-0.2.1.dev20250914071450.dist-info/top_level.txt,sha256=ITcTKgp3vf_bXV9vixuQU9IrZa3L1EfDSZwvRzRaoJU,12
|
|
24
|
+
tritonparse-0.2.1.dev20250914071450.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|