mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-06-21 16:40:20 +00:00
Revert to base image and add python.h
This commit is contained in:
parent
ad4dcb68df
commit
ed8bf3a178
@ -174,7 +174,7 @@ COPY server/Makefile-flashinfer Makefile
|
|||||||
RUN make install-flashinfer
|
RUN make install-flashinfer
|
||||||
|
|
||||||
# Text Generation Inference base image
|
# Text Generation Inference base image
|
||||||
FROM nvidia/cuda:12.4.1-devel-ubuntu22.04 AS base
|
FROM nvidia/cuda:12.1.0-base-ubuntu22.04 AS base
|
||||||
|
|
||||||
# Conda env
|
# Conda env
|
||||||
ENV PATH=/opt/conda/bin:$PATH \
|
ENV PATH=/opt/conda/bin:$PATH \
|
||||||
@ -193,6 +193,7 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-ins
|
|||||||
make \
|
make \
|
||||||
curl \
|
curl \
|
||||||
git \
|
git \
|
||||||
|
python3.11-devel \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
# Copy conda with PyTorch installed
|
# Copy conda with PyTorch installed
|
||||||
|
Loading…
Reference in New Issue
Block a user