Преглед изворни кода

Merge branch 'main' of github.com:oobabooga/text-generation-webui

oobabooga пре 2 година
родитељ
комит
d37b4f76b1
2 измењених фајлова са 8 додато и 2 уклоњено
  1. 1 1
      Dockerfile
  2. 7 1
      README.md

+ 1 - 1
Dockerfile

@@ -26,7 +26,7 @@ LABEL maintainer="Your Name <your.email@example.com>"
 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

+ 7 - 1
README.md

@@ -70,9 +70,15 @@ 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/WSL) Install build tools
+
+```
+sudo apt install build-essential
+```
+
+
 #### 1. Create a new conda environment
 
 ```