File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -6,10 +6,10 @@ COPY ./client/ /opt/output/client/
6
6
7
7
ENV LD_LIBRARY_PATH "/usr/local/cuda-11.8/compat/:$LD_LIBRARY_PATH"
8
8
9
+ RUN pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
9
10
RUN python3 -m pip install --pre paddlepaddle-gpu -i https://www.paddlepaddle.org.cn/packages/nightly/cu118/ \
10
11
&& 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
13
13
14
14
RUN git clone https://gitee.com/paddlepaddle/PaddleNLP.git && cd PaddleNLP/csrc \
15
15
&& python3 setup_cuda.py build && python3 setup_cuda.py install --user \
Original file line number Diff line number Diff line change @@ -6,10 +6,10 @@ COPY ./client/ /opt/output/client/
6
6
7
7
ENV LD_LIBRARY_PATH "/usr/local/cuda-12.3/compat/:$LD_LIBRARY_PATH"
8
8
9
+ RUN pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
9
10
RUN python3 -m pip install --pre paddlepaddle-gpu -i https://www.paddlepaddle.org.cn/packages/nightly/cu123/ \
10
11
&& 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
13
13
14
14
RUN git clone https://gitee.com/paddlepaddle/PaddleNLP.git && cd PaddleNLP/csrc \
15
15
&& python3 setup_cuda.py build && python3 setup_cuda.py install --user \
You can’t perform that action at this time.
0 commit comments