You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary:
Pull Request resolved: #3227
Added a support for JSON file configuration of cmd_conf decorator for benchmark parameters parsing. This feature makes easier to reproduce complex configurations without the need to pass CLI arguments.
Example .json file should look like:
```
{
"RunOptions": {
"world_size": 1,
"num_batches": 3
},
"PipelineConfig": {
"pipeline": "sparse"
}
}
```
Also, configs can be listed in a 'flat' way as well:
```
{
"world_size": 2,
"num_batches": 3,
"pipeline": "base"
}
```
To run, add `--json_config` flag with the .json file path. JSON configs will override YAML configs if both are given.
Reviewed By: aliafzal
Differential Revision: D78833153
fbshipit-source-id: 9be6b0e8945497f4f4e9f5c3cf96bd79ff03ea9d
0 commit comments