Paddle icon indicating copy to clipboard operation
Paddle copied to clipboard

[XPU] support python memory api in XPU

Open cqulilujia opened this issue 5 months ago • 2 comments
trafficstars

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

cqulilujia avatar Jun 09 '25 06:06 cqulilujia

你的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[bot] avatar Jun 09 '25 06:06 paddle-bot[bot]

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.

codecov-commenter avatar Jun 09 '25 10:06 codecov-commenter

/re-run all-failed

cqulilujia avatar Jun 19 '25 02:06 cqulilujia

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.

paddle-ci-bot[bot] avatar Jun 30 '25 02:06 paddle-ci-bot[bot]

/re-run cpu

cqulilujia avatar Jul 07 '25 06:07 cqulilujia

/re-run all-failed

cqulilujia avatar Jul 07 '25 11:07 cqulilujia

/re-run all-failed

cqulilujia avatar Jul 18 '25 08:07 cqulilujia

/re-run all-failed

cqulilujia avatar Jul 20 '25 03:07 cqulilujia

/re-run dcu

cqulilujia avatar Jul 21 '25 02:07 cqulilujia

/re-run all-failed

cqulilujia avatar Jul 21 '25 03:07 cqulilujia