Skip to content

Commit 2637280

Browse files
committed
update dockerfile
1 parent 4bc8dc3 commit 2637280

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

llm/dockerfiles/Dockerfile_serving_cuda118_cudnn8

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ COPY ./client/ /opt/output/client/
66

77
ENV LD_LIBRARY_PATH "/usr/local/cuda-11.8/compat/:$LD_LIBRARY_PATH"
88

9+
RUN pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
910
RUN python3 -m pip install --pre paddlepaddle-gpu -i https://www.paddlepaddle.org.cn/packages/nightly/cu118/ \
1011
&& python3 -m pip install paddlenlp==3.0.0b0 \
11-
&& python3 -m pip install --no-cache-dir sentencepiece pycryptodome tritonclient[all]==2.41.1 \
12-
&& apt-get clean && rm -rf /var/lib/apt/lists/*
12+
&& python3 -m pip install --no-cache-dir sentencepiece pycryptodome tritonclient[all]==2.41.1
1313

1414
RUN git clone https://gitee.com/paddlepaddle/PaddleNLP.git && cd PaddleNLP/csrc \
1515
&& python3 setup_cuda.py build && python3 setup_cuda.py install --user \

llm/dockerfiles/Dockerfile_serving_cuda123_cudnn9

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ COPY ./client/ /opt/output/client/
66

77
ENV LD_LIBRARY_PATH "/usr/local/cuda-12.3/compat/:$LD_LIBRARY_PATH"
88

9+
RUN pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
910
RUN python3 -m pip install --pre paddlepaddle-gpu -i https://www.paddlepaddle.org.cn/packages/nightly/cu123/ \
1011
&& python3 -m pip install paddlenlp==3.0.0b0 \
11-
&& python3 -m pip install --no-cache-dir sentencepiece pycryptodome tritonclient[all]==2.41.1 \
12-
&& apt-get clean && rm -rf /var/lib/apt/lists/*
12+
&& python3 -m pip install --no-cache-dir sentencepiece pycryptodome tritonclient[all]==2.41.1
1313

1414
RUN git clone https://gitee.com/paddlepaddle/PaddleNLP.git && cd PaddleNLP/csrc \
1515
&& python3 setup_cuda.py build && python3 setup_cuda.py install --user \

0 commit comments

Comments
 (0)