From 52339e9b20a153aea18547df53d8d1ed8f7199b4 Mon Sep 17 00:00:00 2001 From: loeken Date: Mon, 10 Apr 2023 21:18:07 +0200 Subject: [PATCH 1/3] add make/g++ to docker (#1015) --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 76f3fdd4..e9f8dbcf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -26,7 +26,7 @@ LABEL maintainer="Your Name " LABEL description="Docker image for GPTQ-for-LLaMa and Text Generation WebUI" RUN apt-get update && \ - apt-get install --no-install-recommends -y git python3 python3-pip && \ + apt-get install --no-install-recommends -y git python3 python3-pip make g++ && \ rm -rf /var/lib/apt/lists/* RUN --mount=type=cache,target=/root/.cache/pip pip3 install virtualenv From b7ca89ba3f481dbef3a701257fda7ebf82eb4b87 Mon Sep 17 00:00:00 2001 From: Jeff Lefebvre Date: Mon, 10 Apr 2023 14:19:10 -0500 Subject: [PATCH 2/3] Mention that build-essential is required (#1013) --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 136a6d60..e610cadb 100644 --- a/README.md +++ b/README.md @@ -70,9 +70,14 @@ On Linux or WSL, it can be automatically installed with these two commands: curl -sL "https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh" > "Miniconda3.sh" bash Miniconda3.sh ``` - Source: https://educe-ubc.github.io/conda.html +#### 0.1 (Ubuntu) Install build tools +``` +sudo apt-get update && sudo apt-get install build-essential +``` + + #### 1. Create a new conda environment ``` From f035b0182383c27f198da86de681f2c40f69ceac Mon Sep 17 00:00:00 2001 From: oobabooga <112222186+oobabooga@users.noreply.github.com> Date: Mon, 10 Apr 2023 16:20:23 -0300 Subject: [PATCH 3/3] Update README.md --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e610cadb..01f86723 100644 --- a/README.md +++ b/README.md @@ -72,9 +72,10 @@ bash Miniconda3.sh ``` Source: https://educe-ubc.github.io/conda.html -#### 0.1 (Ubuntu) Install build tools +#### 0.1 (Ubuntu/WSL) Install build tools + ``` -sudo apt-get update && sudo apt-get install build-essential +sudo apt install build-essential ```