Skip to content

Conversation

@Luckycheng222
Copy link
Contributor

PR Category

Environment Adaptation

PR Types

Improvements

Description

add new packages
update xre

@paddle-bot
Copy link

paddle-bot bot commented Jun 27, 2025

你的PR提交成功,感谢你对开源项目的贡献!
请关注后续CI自动化测试结果,详情请参考Paddle-CI手册
Your PR has been submitted. Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

@paddle-bot paddle-bot bot added the XPU label Jun 27, 2025
@CLAassistant
Copy link

CLAassistant commented Jun 27, 2025

CLA assistant check
All committers have signed the CLA.

@dynamicheart dynamicheart changed the title update kunlun Dockerfile.develop.xre [XPU] update kunlun Dockerfile.develop.xre Jun 27, 2025
dynamicheart
dynamicheart previously approved these changes Jun 27, 2025
Copy link
Contributor

@dynamicheart dynamicheart left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

# default python version
ARG PY_VERSION=3.10
RUN apt-get install -y python3-distutils python3.8 python3.8-dev python3.9 python3.9-dev python3.10 python3.10-dev
RUN apt-get install -y python3-distutils python3.10 python3.10-dev
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

python3-distutils应该去掉,python3.10-distutils挪到上一行


# /proc/sys/kernel/core_pattern
RUN mkdir -p /var/core

Copy link
Contributor

@dynamicheart dynamicheart Jun 27, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

最后可以加上,使得中文字符可以显示

RUN echo "export LANG=en_US.UTF-8" >> /root/.bashrc \ && echo "export LANGUAGE=en_US.UTF-8" >> /root/.bashrc \ && echo "export LC_ALL=en_US.UTF-8" >> /root/.bashrc
rm -rf xre-ubuntu_2004_x86_64.tar.gz && rm -rf xre-ubuntu_2004_x86_64/
rm -rf xre-ubuntu_2004-x86_64-${XRE_VERSION}.tar.gz && rm -rf xre-ubuntu_2004-x86_64-${XRE_VERSION}/
ENV PATH=${XRE_INSTALL}/bin:$PATH
ENV LD_LIBRARY_PATH=${XRE_INSTALL}/lib64:$LD_LIBRARY_PATH
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个应该去掉,不然无法使用paddle包里面的xre so,这里的xre只是为了看xpu_smi

Copy link
Contributor

@dynamicheart dynamicheart left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@tianshuo78520a tianshuo78520a merged commit ca446fe into PaddlePaddle:develop Jun 27, 2025
61 of 63 checks passed
@Luckycheng222 Luckycheng222 deleted the cc branch August 18, 2025 03:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

4 participants