Skip to content

Conversation

@risemeup1
Copy link
Contributor

PR Category

Environment Adaptation

PR Types

Bug fixes

Description

修复自定义算子打包会把.cu.o和.o文件拷贝到whl包的问题,即使用户操作失误,在paddle层也会把这些编译产物删除

pcard-67164

@paddle-bot
Copy link

paddle-bot bot commented Jun 9, 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.

for file in files:
if file.endswith(".cu.o") or file.endswith('.o'):
os.remove(os.path.join(root, file))
print(f"Removed: {os.path.join(root, file)}")
Copy link
Contributor

Choose a reason for hiding this comment

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

要打印么?

@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 18.18182% with 9 lines in your changes missing coverage. Please review.

Please upload report for BASE (develop@5bdf2fb). Learn more about missing BASE report.

Files with missing lines Patch % Lines
python/paddle/utils/cpp_extension/cpp_extension.py 18.18% 9 Missing ⚠️

❌ Your patch status has failed because the patch coverage (18.18%) is below the target coverage (90.00%). You can increase the patch coverage or adjust the target coverage.

Additional details and impacted files
@@ Coverage Diff @@ ## develop #73196 +/- ## ========================================== Coverage ? 18.18% ========================================== Files ? 1 Lines ? 11 Branches ? 0 ========================================== Hits ? 2 Misses ? 9 Partials ? 0 

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
@risemeup1 risemeup1 merged commit 598fd26 into PaddlePaddle:develop Jun 10, 2025
48 of 49 checks passed
shanjiang7 pushed a commit to shanjiang7/Paddle that referenced this pull request Jun 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants