File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -16,11 +16,17 @@ RUN apt-get update && apt-get install -y libibverbs-dev librdmacm-dev cmake pybi
16
16
17
17
# uninstall existing package
18
18
RUN python -m pip uninstall paddlepaddle-gpu paddlepaddle-xpu -y
19
- # install paddlepaddle
19
+ # install paddlepaddle-xpu
20
20
RUN python -m pip install --no-cache-dir --progress-bar off paddlepaddle-xpu==${PADDLE_VERSION} -i https://www.paddlepaddle.org.cn/packages/stable/xpu-p800/
21
21
22
22
RUN python -m pip install --no-cache-dir fastdeploy-xpu==${FD_VERSION} -i https://www.paddlepaddle.org.cn/packages/stable/fastdeploy-xpu-p800/ --extra-index-url https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple
23
23
24
+ RUN mkdir -p /workspace/deps && cd /workspace/deps && \
25
+ wget https://klx-sdk-release-public.su.bcebos.com/xre/kl3-release/5.0.21.21/xre-Linux-x86_64-5.0.21.21.tar.gz && \
26
+ tar -zxf xre-Linux-x86_64-5.0.21.21.tar.gz && mv xre-Linux-x86_64-5.0.21.21 xre
27
+
28
+ ENV PATH=/workspace/deps/xre/bin:$PATH
29
+
24
30
ENV http_proxy=""
25
31
ENV https_proxy=""
26
32
ENV no_proxy=""
You can’t perform that action at this time.
0 commit comments