File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,10 +6,10 @@ COPY ./client/ /opt/output/client/
66
77ENV 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
910RUN 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
1414RUN git clone https://gitee.com/paddlepaddle/PaddleNLP.git && cd PaddleNLP/csrc \
1515 && 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/
66
77ENV 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
910RUN 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
1414RUN git clone https://gitee.com/paddlepaddle/PaddleNLP.git && cd PaddleNLP/csrc \
1515 && python3 setup_cuda.py build && python3 setup_cuda.py install --user \
You can’t perform that action at this time.
0 commit comments