text-generation-inference icon indicating copy to clipboard operation
text-generation-inference copied to clipboard

Remove Conda from Docker Installation

Open rjmehta1993 opened this issue 9 months ago • 1 comments

System Info

The docker file has non-commercial conda installation whereas the tgi is Apache-2.0 License. Installing tgi through docker creates conda license violation.

https://github.com/huggingface/text-generation-inference/blob/main/Dockerfile

Information

  • [x] Docker
  • [ ] The CLI directly

Tasks

  • [x] An officially supported command
  • [ ] My own modifications

Reproduction

https://github.com/huggingface/text-generation-inference/blob/main/Dockerfile

ENV PATH=/opt/conda/bin:$PATH

RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends
build-essential
ca-certificates
ccache
curl
git &&
rm -rf /var/lib/apt/lists/*

Install conda

Expected behavior

Should be using venv or other env and not conda if using commercially.

rjmehta1993 avatar Jan 21 '25 20:01 rjmehta1993