-
Notifications
You must be signed in to change notification settings - Fork 171
[ILUVATAR_GPU] Add logic to apply patches to python files in install script && Fix the segment fault that occurred after linking with the NCCL library. #1762
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Conversation
eec6693
to
fa422e3
Compare
已将patch中spawn.py给去掉,flash_attention.py暂时保留在patch文件中,先保证CI使能,后续再完善这段关于python文件的patch逻辑。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Flash attention is a temporary modification. This can be merged for now.
… the NCCL library.
fa422e3
to
17640a5
Compare
@@ -17,6 +17,7 @@ | |||
SCRIPT_DIR=$(dirname "$0") | |||
LEGACY_TEST_PATH="${SCRIPT_DIR}/../../../Paddle/test/legacy_test" | |||
export PYTHONPATH="${LEGACY_TEST_PATH}:${PYTHONPATH}" | |||
export LD_PRELOAD=/usr/local/corex-4.3.0/lib/libcuda.so.1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
是否可以不使用绝对路径?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
已修改,使用环境变量替代绝对路径
CI显示通过,但实际有报错,需解决此问题后合入 |
45cd97b
to
94ad07d
Compare
7d97892
to
94ad07d
Compare
增加了python文件的patch;
解决了链接nccl.so后出现的segment fault问题;