Skip to content
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

Dumping collective metadata to csv for each rank #154

Closed
wants to merge 4 commits into from

Conversation

barakgnv
Copy link

Summary

Adding a function that loops for the nodes and for each collective node dump basic data into csv file (data like the node id, the node name that includes the collective name, the collective msg size, the pg_name, root rank if needed, etc.

the dump allows to further processing the trace for example if we want to create collective implementation of those high-level collective commands.

Test Plan

Running it on several et_{rank}.json files, and see the dump created.

Additional Notes

if, for each collective node, one of the following attributes is missing: pg_name, coll_size, root_rank, the dump will indicate that in separate field so it will not fail on that. The user will need to check of it's OK. for example, not every node needs root_rank, so it's OK if it's missing for AllReduce for example, but not for Broadcase.

@barakgnv barakgnv requested a review from a team as a code owner September 19, 2024 09:13
Copy link

github-actions bot commented Sep 19, 2024

MLCommons CLA bot All contributors have signed the MLCommons CLA ✍️ ✅

@barakgnv
Copy link
Author

recheck

@srinivas212 srinivas212 closed this Oct 4, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Oct 4, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants