mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-12-24 13:28:13 +08:00
update dockerfile
This commit is contained in:
@@ -6,10 +6,10 @@ COPY ./client/ /opt/output/client/
|
||||
|
||||
ENV LD_LIBRARY_PATH "/usr/local/cuda-11.8/compat/:$LD_LIBRARY_PATH"
|
||||
|
||||
RUN pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
|
||||
RUN python3 -m pip install --pre paddlepaddle-gpu -i https://www.paddlepaddle.org.cn/packages/nightly/cu118/ \
|
||||
&& python3 -m pip install paddlenlp==3.0.0b0 \
|
||||
&& python3 -m pip install --no-cache-dir sentencepiece pycryptodome tritonclient[all]==2.41.1 \
|
||||
&& apt-get clean && rm -rf /var/lib/apt/lists/*
|
||||
&& python3 -m pip install --no-cache-dir sentencepiece pycryptodome tritonclient[all]==2.41.1
|
||||
|
||||
RUN git clone https://gitee.com/paddlepaddle/PaddleNLP.git && cd PaddleNLP/csrc \
|
||||
&& python3 setup_cuda.py build && python3 setup_cuda.py install --user \
|
||||
|
||||
@@ -6,10 +6,10 @@ COPY ./client/ /opt/output/client/
|
||||
|
||||
ENV LD_LIBRARY_PATH "/usr/local/cuda-12.3/compat/:$LD_LIBRARY_PATH"
|
||||
|
||||
RUN pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
|
||||
RUN python3 -m pip install --pre paddlepaddle-gpu -i https://www.paddlepaddle.org.cn/packages/nightly/cu123/ \
|
||||
&& python3 -m pip install paddlenlp==3.0.0b0 \
|
||||
&& python3 -m pip install --no-cache-dir sentencepiece pycryptodome tritonclient[all]==2.41.1 \
|
||||
&& apt-get clean && rm -rf /var/lib/apt/lists/*
|
||||
&& python3 -m pip install --no-cache-dir sentencepiece pycryptodome tritonclient[all]==2.41.1
|
||||
|
||||
RUN git clone https://gitee.com/paddlepaddle/PaddleNLP.git && cd PaddleNLP/csrc \
|
||||
&& python3 setup_cuda.py build && python3 setup_cuda.py install --user \
|
||||
|
||||
Reference in New Issue
Block a user