Skip to content

Commit

Permalink
Update user guide to include HTA installation and new argument for ch…
Browse files Browse the repository at this point in the history
…akra_trace_link

Co-authored-by: Joongun Park <8554137+JoongunPark@users.noreply.github.com>
  • Loading branch information
JoongunPark authored and TaekyungHeo committed Jun 27, 2024
1 parent b4f5e32 commit 5db2b05
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion USER_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,19 @@ $ git checkout c83ce8429110a86549c40fec5a01acbd9fbd54a4
$ pip install .
```

### Step 4: Uninstalling Chakra
### Step 4: Install Holistic Trace Analysis
Installing Holistic Trace Analysis is necessary for Trace link.

```bash
$ git clone https://github.com/facebookresearch/HolisticTraceAnalysis.git
$ cd HolisticTraceAnalysis
$ git checkout 5c7898abbc52a1d4051ef6c93365477feb6c08a8
$ git submodule update --init
$ pip install -r requirements.txt
$ pip install -e .
```

### Step 5: Uninstalling Chakra
To uninstall Chakra, use the following command within the virtual environment.

```bash
Expand All @@ -50,6 +62,7 @@ Merge PyTorch Chakra host trace and Kineto trace to encode GPU operators into th
$ chakra_trace_link \
--pytorch-et-file /path/to/pytorch_et \
--kineto-file /path/to/kineto \
--rank [RANK]
--output-file /path/to/merged_et
```

Expand Down

0 comments on commit 5db2b05

Please sign in to comment.