Paddle
Paddle copied to clipboard
[XPU] support python memory api in XPU
PR Category
Custom Device
PR Types
New features
Description
Support python memory api in XPU, including max_memory_allocated, max_memory_reserved, reset_max_memory_allocated, reset_max_memory_reserved, memory_allocated, memory_reserved
你的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.
Codecov Report
:x: Patch coverage is 14.86486% with 63 lines in your changes missing coverage. Please review.
:warning: Please upload report for BASE (develop@1f27316). Learn more about missing BASE report.
| Files with missing lines | Patch % | Lines |
|---|---|---|
| python/paddle/device/xpu/__init__.py | 15.27% | 61 Missing :warning: |
| python/paddle/distributed/launch/utils/nvsmi.py | 0.00% | 2 Missing :warning: |
:x: Your patch status has failed because the patch coverage (14.86%) 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 #73189 +/- ##
==========================================
Coverage ? 14.86%
==========================================
Files ? 2
Lines ? 74
Branches ? 0
==========================================
Hits ? 11
Misses ? 63
Partials ? 0
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
:rocket: New features to boost your workflow:
- :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
/re-run all-failed
Sorry to inform you that b7bad79's CIs have passed for more than 7 days. To prevent PR conflicts, you need to re-run all CIs manually.
/re-run cpu
/re-run all-failed
/re-run all-failed
/re-run all-failed
/re-run dcu
/re-run all-failed