Skip to content

Commit

Permalink
update optional dependencies installation README with quotation marks
Browse files Browse the repository at this point in the history
  • Loading branch information
goldmermaid committed Sep 20, 2023
1 parent 6c0fce6 commit 3a9c511
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ conda activate pykoi # some OS requires `source activate pykoi`

Then install `pykoi` and the compatible [pytorch based on your os](https://pytorch.org/get-started/locally/)
```
pip3 install pykoi[rag]
pip3 install "pykoi[rag]"
pip3 install torch
```

Expand All @@ -69,7 +69,7 @@ conda create -n pykoi python=3.10 -y && source activate pykoi

Then install `pykoi` and [pytorch based on your cuda version](https://pytorch.org/get-started/locally/). You can find your CUDA version via `nvcc -V`.
```
pip3 install pykoi[huggingface]
pip3 install "pykoi[huggingface]"
pip3 install --pre torch --index-url https://download.pytorch.org/whl/nightly/cu121 # cu121 means cuda 12.1
```
Expand All @@ -84,7 +84,7 @@ conda create -n pykoi python=3.10 -y && source activate pykoi

Then install `pykoi` and [pytorch based on your cuda version](https://pytorch.org/get-started/locally/). You can find your CUDA version via `nvcc -V`.
```
pip3 install pykoi[rlhf]
pip3 install "pykoi[rlhf]"
pip3 install --pre torch --index-url https://download.pytorch.org/whl/nightly/cu121 # cu121 means cuda 12.1
```
Expand Down

0 comments on commit 3a9c511

Please sign in to comment.