-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add option to pass trace_file list to Trace() object (#179)
Summary: ## What does this PR do? 1. Allows users to enter a list of trace_files in Trace class. HTA will then determine rank to trace file mapping. 1. Makes it so that you do not need "distributedInfo", HTa will now default to rank = 0 and emit a warning. Code example for (1) ``` inference_trace_files = ["tests/data/inference_single_rank/inference_rank_0.json.gz"] trace: Trace = Trace( trace_files=inference_trace_files, trace_dir=os.getcwd() ) ``` ## Before submitting - [ ] Was this discussed/approved via a Github issue? (no need for typos, doc improvements) - [x] N/A - [x] Did you write any new necessary tests? - [ ] N/A - [ ] Did you make sure to update the docs? - [x] N/A - [x] Did you update the [changelog](https://github.com/facebookresearch/HolisticTraceAnalysis/blob/main/CHANGELOG.md)? - [] N/A Pull Request resolved: #179 Reviewed By: fullthom Differential Revision: D61665964 Pulled By: briancoutinho fbshipit-source-id: 7b1cb636d263e9f96241439a468e83f11bb4458b
- Loading branch information
1 parent
471d468
commit 5f883b1
Showing
6 changed files
with
72 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters