-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add example trace with comm args metadata (#105)
Summary: As above 1. Adds a test trace with 2 GPU resnet job and 12 communication collectives. 2. Add a commArgs optional argument to ET node, this will be populated soon. 3. Minor updates to parser and add a new unittest that tries to validate this test ## Testing ``` (pytorch) [[email protected] /data/users/bcoutinho]$ export PYTHONPATH=/data/users/bcoutinho (pytorch) [[email protected] /data/users/bcoutinho]$ python3 param_bench/train/compute/python/test/test_execution_trace.py record_param_comms, process group args = ('Tuple[String,String]', ['0', 'default_pg'], [[], []]) record_param_comms, process group args = ('Tuple[String,String]', ['0', 'default_pg'], [[], []]) record_param_comms, process group args = ('Tuple[String,String]', ['', ''], [[], []]) record_param_comms, process group args = ('Tuple[String,String]', ['', ''], [[], []]) record_param_comms, process group args = ('Tuple[String,String]', ['0', 'default_pg'], [[], []]) record_param_comms, process group args = ('Tuple[String,String]', ['0', 'default_pg'], [[], []]) record_param_comms, process group args = ('Tuple[String,String]', ['', ''], [[], []]) record_param_comms, process group args = ('Tuple[String,String]', ['', ''], [[], []]) record_param_comms, process group args = ('Tuple[String,String]', ['0', 'default_pg'], [[], []]) record_param_comms, process group args = ('Tuple[String,String]', ['0', 'default_pg'], [[], []]) record_param_comms, process group args = ('Tuple[String,String]', ['', ''], [[], []]) record_param_comms, process group args = ('Tuple[String,String]', ['', ''], [[], []]) .None None None None None None None None None None None None . ---------------------------------------------------------------------- Ran 2 tests in 1.322s OK ``` Pull Request resolved: #105 Reviewed By: shengfukevin Differential Revision: D56739869 Pulled By: briancoutinho fbshipit-source-id: b53a3f36eb57e637e77b988cc071136b71e96caa
- Loading branch information
1 parent
c83ce84
commit 2b4cf3e
Showing
4 changed files
with
65 additions
and
55 deletions.
There are no files selected for viewing
Binary file added
BIN
+431 KB
train/compute/python/test/data/1.1.0-chakra.0.0.4/resnet_2gpu_et.json.gz
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
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