Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
ksugar committed Jun 13, 2023
1 parent c282312 commit 5e0c839
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,28 @@ conda activate samapi
If you're using a computer with CUDA-compatible GPU, install `cudatoolkit`.

```bash
conda install -y cudatoolkit=11.3
conda install -y cudatoolkit=11.8
```

If you are using WSL2, `LD_LIBRARY_PATH` will need to be updated as follows.
If you're using a computer with CUDA-compatible GPU on Windows, install `torch` with GPU-support here.

```bash
export LD_LIBRARY_PATH=/usr/lib/wsl/lib:$LD_LIBRARY_PATH
# Windows with CUDA-compatible GPU only
python -m pip install torch --index-url https://download.pytorch.org/whl/cu118
```

Install `samapi` and its dependencies.

```bash
python -m pip install git+https://github.com/ksugar/samapi.git
```
```
If you are using WSL2, `LD_LIBRARY_PATH` will need to be updated as follows.
```bash
export LD_LIBRARY_PATH=/usr/lib/wsl/lib:$LD_LIBRARY_PATH
```

## Usage

Expand Down

0 comments on commit 5e0c839

Please sign in to comment.