mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-06-07 18:02:07 +00:00
Removing the cache directive.
This commit is contained in:
parent
c567676cb6
commit
176f7839a6
@ -18,9 +18,7 @@ RUN cargo chef prepare --recipe-path recipe.json
|
||||
# CUDA dependent dependencies resolver stage
|
||||
FROM nvidia/cuda:12.6.3-cudnn-devel-ubuntu24.04 AS cuda-builder
|
||||
|
||||
RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
|
||||
--mount=type=cache,target=/var/lib/apt,sharing=locked \
|
||||
apt update && apt install -y \
|
||||
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
|
||||
build-essential \
|
||||
cmake \
|
||||
curl \
|
||||
@ -37,7 +35,7 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
|
||||
python3-dev \
|
||||
python3-setuptools \
|
||||
tar \
|
||||
wget && \
|
||||
wget --no-install-recommends && \
|
||||
pipx ensurepath
|
||||
|
||||
ENV TGI_INSTALL_PREFIX=/usr/local/tgi
|
||||
|
Loading…
Reference in New Issue
Block a user