Skip to content

Commit

Permalink
Remove fschat from Dockerfile
Browse files Browse the repository at this point in the history
Fastchat is removed from all dependencies

Signed-off-by: kingbri <bdashore3@proton.me>
  • Loading branch information
bdashore3 committed Dec 19, 2023
1 parent de9a19b commit 124e39d
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

Expand Down

0 comments on commit 124e39d

Please sign in to comment.