Update README.md
This commit is contained in:
parent
e9e76bb06c
commit
445ebf0ba8
1 changed files with 3 additions and 3 deletions
|
@ -40,7 +40,7 @@ Open a terminal and copy and paste these commands one at a time ([install conda]
|
||||||
```
|
```
|
||||||
conda create -n textgen
|
conda create -n textgen
|
||||||
conda activate textgen
|
conda activate textgen
|
||||||
conda install torchvision torchaudio pytorch-cuda=11.7 git -c pytorch -c nvidia
|
conda install torchvision=0.14.1 torchaudio=0.13.1 pytorch-cuda=11.7 git -c pytorch -c nvidia
|
||||||
git clone https://github.com/oobabooga/text-generation-webui
|
git clone https://github.com/oobabooga/text-generation-webui
|
||||||
cd text-generation-webui
|
cd text-generation-webui
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
|
@ -51,13 +51,13 @@ The third line assumes that you have an NVIDIA GPU.
|
||||||
* If you have an AMD GPU, replace the third command with this one:
|
* If you have an AMD GPU, replace the third command with this one:
|
||||||
|
|
||||||
```
|
```
|
||||||
pip3 install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/rocm5.2
|
pip3 install torch torchvision=0.14.1 torchaudio=0.13.1 --extra-index-url https://download.pytorch.org/whl/rocm5.2
|
||||||
```
|
```
|
||||||
|
|
||||||
* If you are running it in CPU mode, replace the third command with this one:
|
* If you are running it in CPU mode, replace the third command with this one:
|
||||||
|
|
||||||
```
|
```
|
||||||
conda install pytorch torchvision torchaudio git -c pytorch
|
conda install pytorch torchvision=0.14.1 torchaudio=0.13.1 git -c pytorch
|
||||||
```
|
```
|
||||||
|
|
||||||
> **Note**
|
> **Note**
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue