Skip to content

Add summary printing for parsed files #20

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

FindHao
Copy link
Member

@FindHao FindHao commented Jun 24, 2025

Fixes #17
Summary:

  • Introduced a new function print_parsed_files_summary to display a formatted summary of all parsed files, including their paths and sizes.
  • Updated oss_parse to call this new function after parsing logs, enhancing user feedback on parsing results.

Test Plan:

$ python tests/test_add.py

Triton kernel executed successfully
Torch compiled function executed successfully
tritonparse log file list: /tmp/tmp9po79vu5/log_file_list.json

================================================================================
📁 TRITONPARSE PARSING RESULTS
================================================================================
📂 Parsed files directory: /tmp/tmp9po79vu5
📊 Total files generated: 2

📄 Generated files:
--------------------------------------------------
   1. 📝 dedicated_log_triton_trace_yhao24__mapped.ndjson.gz (27.2KB)
   2. 📝 log_file_list.json (180B)
================================================================================
✅ Parsing completed successfully!
================================================================================

Summary:
- Introduced a new function `print_parsed_files_summary` to display a formatted summary of all parsed files, including their paths and sizes.
- Updated `oss_parse` to call this new function after parsing logs, enhancing user feedback on parsing results.
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Meta Open Source bot. label Jun 24, 2025
@facebook-github-bot
Copy link
Contributor

@FindHao has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Meta Open Source bot.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

print the final .gz file list
2 participants