Skip to content

Commit

Permalink
Updated README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Neha J committed May 29, 2024
1 parent 27e5da6 commit a3fa0e1
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 5 deletions.
18 changes: 15 additions & 3 deletions GPU-MPC/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ This project requires NVIDIA GPUs, and assumes that GPU drivers and the [NVIDIA

Please note that Sytorch requires CMake version >= 3.17 and the build will fail if this depency is not met.

The code uses CUTLASS version 2.11 by default, so if you change the CUDA version, please make sure that the CUTLASS version being built is compatible with the new CUDA version. To change the version of CUTLASS being built, add `git checkout <branch>;` after line 31 (`cd ext/cutlass;`) of setup.sh.
The code uses CUTLASS version 2.11 by default, so if you change the CUDA version, please make sure that the CUTLASS version being built is compatible with the new CUDA version.

The last line of `setup.sh` tries to install `matplotlib`, which is needed for generating Figures 5a and 5b. In our experience, the installation fails if the versions of Python and `pip` do not match. In case the installation fails, please install `matplotlib` manually before running `run_experiment.py`.

Expand All @@ -22,12 +22,24 @@ export CUDA_VERSION=11.7
export GPU_ARCH=86
```

2. Set up the environment
2. Set up the environment.

```
sh setup.sh
sh setup.sh <CUTLASS branch>
```

To change the version of CUTLASS being built, optionally include the CUTLASS branch that should be built as

```
sh setup.sh <CUTLASS branch>
```
For example, to build the main branch, run

```
sh setup.sh main
```


3. Make Orca

```
Expand Down
13 changes: 12 additions & 1 deletion GPU-MPC/experiments/orca/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ This project requires NVIDIA GPUs, and assumes that GPU drivers and the [NVIDIA

Please note that Sytorch requires CMake version >= 3.17 and the build will fail if this depency is not met.

The code uses CUTLASS version 2.11 by default, so if you change the CUDA version, please make sure that the CUTLASS version being built is compatible with the new CUDA version. To change the version of CUTLASS being built, add `git checkout <branch>;` after line 31 (`cd ext/cutlass;`) of setup.sh.
The code uses CUTLASS version 2.11 by default, so if you change the CUDA version, please make sure that the CUTLASS version being built is compatible with the new CUDA version.

The last line of `setup.sh` tries to install `matplotlib`, which is needed for generating Figures 5a and 5b. In our experience, the installation fails if the versions of Python and `pip` do not match. In case the installation fails, please install `matplotlib` manually before running `run_experiment.py`.

Expand All @@ -29,6 +29,17 @@ export GPU_ARCH=86
sh setup.sh
```

To change the version of CUTLASS being built, optionally include the CUTLASS branch that should be built as

```
sh setup.sh <CUTLASS branch>
```
For example, to build the main branch, run

```
sh setup.sh main
```

3. Make Orca

```
Expand Down
13 changes: 12 additions & 1 deletion GPU-MPC/experiments/sigma/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ This project requires NVIDIA GPUs, and assumes that GPU drivers and the [NVIDIA

Please note that Sytorch requires CMake version >= 3.17 and the build will fail if this depency is not met.

The code uses CUTLASS version 2.11 by default, so if you change the CUDA version, please make sure that the CUTLASS version being built is compatible with the new CUDA version. To change the version of CUTLASS being built, add `git checkout <branch>;` after line 31 (`cd ext/cutlass;`) of setup.sh.
The code uses CUTLASS version 2.11 by default, so if you change the CUDA version, please make sure that the CUTLASS version being built is compatible with the new CUDA version.

The last line of `setup.sh` tries to install `matplotlib`, which is needed for generating Figure 10. In our experience, the installation fails if the versions of Python and `pip` do not match. In case the installation fails, please install `matplotlib` manually before running `run_experiment.py`.

Expand All @@ -28,6 +28,17 @@ export GPU_ARCH=86
sh setup.sh
```

To change the version of CUTLASS being built, optionally include the CUTLASS branch that should be built as

```
sh setup.sh <CUTLASS branch>
```
For example, to build the main branch, run

```
sh setup.sh main
```

3. Make SIGMA

```
Expand Down

0 comments on commit a3fa0e1

Please sign in to comment.