Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ debug.log
.vscode/
err.log
log.log
.env/
45 changes: 44 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,44 @@
# workflow
# workflow

A concise README for this repository.

## Overview

This repository contains tooling and research code for DeepFlow and ASTRA-sim:
- DeepFlow: performance & energy modeling, architecture search, and validation scripts.
See [DeepFlow/README.md](DeepFlow/README.md).
- ASTRA-sim: network and system simulator (analytical, ns-3, and garnet backends).
See [astra-sim/README.md](astra-sim/README.md).

## Quickstart

1. Clone repo
```sh
git clone --recursive <repo>
```

2. Prepare Python environment:
```sh
python3 -m venv .venv
source .venv/bin/activate
pip install --upgrade pip
pip install tqdm
```

3. Run entire workflow
To generate execution traces (neccessary for first run), comment out below in `main` in `workflow.py`
```python
runner = DeepFlowRunner()
runner.run_all()

parser = DeepFlowParser()
parser.parse_all()
```
Then, run astra-sim, run ``run_all()`` ``for AstraSimRunner``, only ``install_chakra`` for first run to your venv, if see protobuf version error, use pip to force install a version it prompts.
```python
def run_all(self):
self.compile_astrasim()
self.install_chakra()
self.convert_text_to_chakra()
self.run_astrasim()
```
Loading