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

Start initial refactor of et replay #110

Closed
wants to merge 1 commit into from
Closed

Conversation

briancoutinho
Copy link
Contributor

@briancoutinho briancoutinho commented May 3, 2024

Add a new tree structure for et_replay to enable better encapsulation of this code. We keep comms and compute unchanged, only moving et_replay files.

[[email protected] ~/fbsource/fbcode/param_bench/et_replay (d4b11e786)]$ tree .
.
├── lib
│   ├── et_replay_utils.py
│   ├── execution_trace.py
│   └── utils.py
├── README.md
├── tests
│   ├── inputs
│   │   ├── 1.0.3-chakra.0.0.4
│   │   │   └── resnet_1gpu_et.json.gz
│   │   ├── 1.1.0-chakra.0.0.4
│   │   │   └── resnet_2gpu_et.json.gz
│   │   ├── dlrm_kineto.tar.gz
│   │   ├── dlrm_pytorch_et.tar.gz
│   │   ├── __init__.py
│   │   ├── linear_et.json.gz
│   │   ├── linear_kineto.json.gz
│   │   ├── resnet_et.json.gz
│   │   └── resnet_kineto.json.gz
│   └── test_execution_trace.py
└── tools
    ├── et_replay.py
    └── validate_trace.py

Differential Revision: D56960365

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label May 3, 2024
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D56960365

@srinivas212
Copy link

@briancoutinho do we create additional subdirectories for compute and comms?

@briancoutinho
Copy link
Contributor Author

briancoutinho commented May 4, 2024 via email

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D56960365

briancoutinho added a commit that referenced this pull request May 7, 2024
Summary:
Pull Request resolved: #110

Add a new tree structure for et_replay to enable better encapsulation of this code. We keep comms and compute unchanged, only moving et_replay files.

```
[[email protected] ~/fbsource/fbcode/param_bench/et_replay (d4b11e786)]$ tree .
.
├── lib
│   ├── et_replay_utils.py
│   ├── execution_trace.py
│   └── utils.py
├── README.md
├── tests
│   ├── inputs
│   │   ├── 1.0.3-chakra.0.0.4
│   │   │   └── resnet_1gpu_et.json.gz
│   │   ├── 1.1.0-chakra.0.0.4
│   │   │   └── resnet_2gpu_et.json.gz
│   │   ├── dlrm_kineto.tar.gz
│   │   ├── dlrm_pytorch_et.tar.gz
│   │   ├── __init__.py
│   │   ├── linear_et.json.gz
│   │   ├── linear_kineto.json.gz
│   │   ├── resnet_et.json.gz
│   │   └── resnet_kineto.json.gz
│   └── test_execution_trace.py
└── tools
    ├── et_replay.py
    └── validate_trace.py
```

Differential Revision: D56960365
@briancoutinho briancoutinho changed the title Draft refactor of et replay Start initial refactor of et replay May 7, 2024
Summary:
Pull Request resolved: #110

Add a new tree structure for et_replay to enable better encapsulation of this code. We keep comms and compute unchanged, only moving et_replay files.

```
[[email protected] ~/fbsource/fbcode/param_bench/et_replay (d4b11e786)]$ tree .
.
├── lib
│   ├── et_replay_utils.py
│   ├── execution_trace.py
│   └── utils.py
├── README.md
├── tests
│   ├── inputs
│   │   ├── 1.0.3-chakra.0.0.4
│   │   │   └── resnet_1gpu_et.json.gz
│   │   ├── 1.1.0-chakra.0.0.4
│   │   │   └── resnet_2gpu_et.json.gz
│   │   ├── dlrm_kineto.tar.gz
│   │   ├── dlrm_pytorch_et.tar.gz
│   │   ├── __init__.py
│   │   ├── linear_et.json.gz
│   │   ├── linear_kineto.json.gz
│   │   ├── resnet_et.json.gz
│   │   └── resnet_kineto.json.gz
│   └── test_execution_trace.py
└── tools
    ├── et_replay.py
    └── validate_trace.py
```

Differential Revision: D56960365
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D56960365

briancoutinho added a commit to briancoutinho/HolisticTraceAnalysis that referenced this pull request May 7, 2024
Summary:
X-link: facebookresearch/param#110

Add a new tree structure for et_replay to enable better encapsulation of this code. We keep comms and compute unchanged, only moving et_replay files.

```
[[email protected] ~/fbsource/fbcode/param_bench/et_replay (d4b11e786)]$ tree .
.
├── lib
│   ├── et_replay_utils.py
│   ├── execution_trace.py
│   └── utils.py
├── README.md
├── tests
│   ├── inputs
│   │   ├── 1.0.3-chakra.0.0.4
│   │   │   └── resnet_1gpu_et.json.gz
│   │   ├── 1.1.0-chakra.0.0.4
│   │   │   └── resnet_2gpu_et.json.gz
│   │   ├── dlrm_kineto.tar.gz
│   │   ├── dlrm_pytorch_et.tar.gz
│   │   ├── __init__.py
│   │   ├── linear_et.json.gz
│   │   ├── linear_kineto.json.gz
│   │   ├── resnet_et.json.gz
│   │   └── resnet_kineto.json.gz
│   └── test_execution_trace.py
└── tools
    ├── et_replay.py
    └── validate_trace.py
```

Differential Revision: D56960365
@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 9b1946f.

facebook-github-bot pushed a commit to facebookresearch/HolisticTraceAnalysis that referenced this pull request May 7, 2024
Summary:
Pull Request resolved: #131

X-link: facebookresearch/param#110

Add a new tree structure for et_replay to enable better encapsulation of this code. We keep comms and compute unchanged, only moving et_replay files.

```
[[email protected] ~/fbsource/fbcode/param_bench/et_replay (d4b11e786)]$ tree .
.
├── lib
│   ├── et_replay_utils.py
│   ├── execution_trace.py
│   └── utils.py
├── README.md
├── tests
│   ├── inputs
│   │   ├── 1.0.3-chakra.0.0.4
│   │   │   └── resnet_1gpu_et.json.gz
│   │   ├── 1.1.0-chakra.0.0.4
│   │   │   └── resnet_2gpu_et.json.gz
│   │   ├── dlrm_kineto.tar.gz
│   │   ├── dlrm_pytorch_et.tar.gz
│   │   ├── __init__.py
│   │   ├── linear_et.json.gz
│   │   ├── linear_kineto.json.gz
│   │   ├── resnet_et.json.gz
│   │   └── resnet_kineto.json.gz
│   └── test_execution_trace.py
└── tools
    ├── et_replay.py
    └── validate_trace.py
```

Reviewed By: shengfukevin

Differential Revision: D56960365

fbshipit-source-id: d2ef172bc6c4629d78222357e616df9bddaec81e
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 Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants