tritonparse 0.2.1.dev20250913071432__py3-none-any.whl → 0.2.1.dev20250915071616__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 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
- file_mapping[rank_key]["regular_files"] = list(
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 file_mapping[rank_key]["mapped_file"] is None:
368
- del file_mapping[rank_key]["mapped_file"]
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.dev20250913071432
3
+ Version: 0.2.1.dev20250915071616
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
- Requires-Dist: triton>3.3.1
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=VWKFZJG7msIExMH0QNYCO8SHKqUBFtdRuLaCy_K8DFI,13725
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.dev20250913071432.dist-info/licenses/LICENSE,sha256=4ZciugpyN7wcM4L-9pyDh_etvMUeIfBhDTyH1zeZlQM,1515
21
- tritonparse-0.2.1.dev20250913071432.dist-info/METADATA,sha256=XPRwEq-B5zma_jTdr7Gb6G0JZuBA3MN7pXeOYzhn10g,6169
22
- tritonparse-0.2.1.dev20250913071432.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
23
- tritonparse-0.2.1.dev20250913071432.dist-info/top_level.txt,sha256=ITcTKgp3vf_bXV9vixuQU9IrZa3L1EfDSZwvRzRaoJU,12
24
- tritonparse-0.2.1.dev20250913071432.dist-info/RECORD,,
20
+ tritonparse-0.2.1.dev20250915071616.dist-info/licenses/LICENSE,sha256=4ZciugpyN7wcM4L-9pyDh_etvMUeIfBhDTyH1zeZlQM,1515
21
+ tritonparse-0.2.1.dev20250915071616.dist-info/METADATA,sha256=CigDDEKt_dqH4EA7Le5lt9a-HQkeidokxdsYJBadVA0,6306
22
+ tritonparse-0.2.1.dev20250915071616.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
23
+ tritonparse-0.2.1.dev20250915071616.dist-info/top_level.txt,sha256=ITcTKgp3vf_bXV9vixuQU9IrZa3L1EfDSZwvRzRaoJU,12
24
+ tritonparse-0.2.1.dev20250915071616.dist-info/RECORD,,