mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-11 12:24:53 +00:00
backend(trtllm): add correctly untar it
This commit is contained in:
parent
6fd50ff3ba
commit
980fb92529
@ -39,9 +39,10 @@ ARG ompi_version
|
|||||||
ENV OMPI_TARBALL_FILENAME="openmpi-$ompi_version.tar.bz2"
|
ENV OMPI_TARBALL_FILENAME="openmpi-$ompi_version.tar.bz2"
|
||||||
ADD --checksum=sha256:54a33cb7ad81ff0976f15a6cc8003c3922f0f3d8ceed14e1813ef3603f22cd34 \
|
ADD --checksum=sha256:54a33cb7ad81ff0976f15a6cc8003c3922f0f3d8ceed14e1813ef3603f22cd34 \
|
||||||
https://download.open-mpi.org/release/open-mpi/v4.1/$OMPI_TARBALL_FILENAME \
|
https://download.open-mpi.org/release/open-mpi/v4.1/$OMPI_TARBALL_FILENAME \
|
||||||
/opt/src/mpi
|
/opt/src/mpi/
|
||||||
|
|
||||||
RUN cd /opt/src/mpi && \
|
WORKDIR /opt/src/mpi
|
||||||
|
RUN tar --strip-components=1 -xf $OMPI_TARBALL_FILENAME &&\
|
||||||
./configure --prefix=/usr/local/mpi --with-cuda=/usr/local/cuda --with-slurm && \
|
./configure --prefix=/usr/local/mpi --with-cuda=/usr/local/cuda --with-slurm && \
|
||||||
make -j all && \
|
make -j all && \
|
||||||
make install && \
|
make install && \
|
||||||
|
Loading…
Reference in New Issue
Block a user