From bc664ecf3b18cf0d2dc16e5a07c87e844e2df356 Mon Sep 17 00:00:00 2001 From: oobabooga <112222186+oobabooga@users.noreply.github.com> Date: Sat, 21 Jan 2023 22:54:35 -0300 Subject: [PATCH] Update the installation instructions for low attention span people --- README.md | 30 +++++++----------------------- 1 file changed, 7 insertions(+), 23 deletions(-) diff --git a/README.md b/README.md index c5c1bac4..2ab0336c 100644 --- a/README.md +++ b/README.md @@ -25,42 +25,26 @@ Its goal is to become the [AUTOMATIC1111/stable-diffusion-webui](https://github. ## Installation -1. You need to have the conda environment manager installed on your system. If you don't have it already, [get miniconda here](https://docs.conda.io/en/latest/miniconda.html). - -2. Open a terminal window and create a conda environment by entering the following commands: +Open a terminal and copy and paste these commands one at a time ([install conda](https://docs.conda.io/en/latest/miniconda.html) first if you don't have it already): ``` conda create -n textgen conda activate textgen -``` - -3. Install the appropriate pytorch for your GPU. If you have an NVIDIA GPU, use this command: - -``` conda install pytorch torchvision torchaudio pytorch-cuda=11.7 git -c pytorch -c nvidia +git clone https://github.com/oobabooga/text-generation-webui +cd text-generation-webui +pip install -r requirements.txt ``` -If you have an AMD GPU, you will need the ROCm version of pytorch. +The third line assumes that you have an NVIDIA GPU. -If you are running in CPU mode, you just need the standard pytorch and should use this command instead: +* If you have an AMD GPU, you should install the ROCm version of pytorch instead. +* If you are running in CPU mode, you just need the standard pytorch and should replace the command with this one: ``` conda install pytorch torchvision torchaudio git -c pytorch ``` -4. Clone or download this repository, and then `cd` into its folder from your terminal window: - -``` -git clone https://github.com/oobabooga/text-generation-webui -cd text-generation-webui -``` - -5. Install the required Python libraries by running the following command: - -``` -pip install -r requirements.txt -``` - Once you have completed these steps, you should be able to start the web UI. However, you will first need to download a model. ## Downloading models