From 124e39df26d59f0c974a1ea7c0042a91ae2a559d Mon Sep 17 00:00:00 2001 From: kingbri Date: Sun, 17 Dec 2023 21:45:23 -0500 Subject: [PATCH] Remove fschat from Dockerfile Fastchat is removed from all dependencies Signed-off-by: kingbri --- Dockerfile | 9 --------- 1 file changed, 9 deletions(-) diff --git a/Dockerfile b/Dockerfile index 79c53eb..c20faad 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,12 +7,6 @@ RUN apt-get update && apt-get install -y \ python3-pip \ && rm -rf /var/lib/apt/lists/* -# Define a build-time argument for conditional installation -ARG INSTALL_FSCHAT=false - -# Set the environment variable based on the build argument -ENV INSTALL_FSCHAT=$INSTALL_FSCHAT - # Set the working directory in the container WORKDIR /usr/src/app @@ -26,9 +20,6 @@ RUN pip install exllamav2 # Install any other needed packages specified in requirements.txt RUN pip install --no-cache-dir -r requirements.txt -# Conditional installation of fschat[model_worker] -RUN if [ "$INSTALL_FSCHAT" = "true" ] ; then pip install fschat[model_worker] ; fi - # Copy the sample config file to the main config RUN cp config_sample.yml config.yml