Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@YqGe585
Copy link
Contributor

@YqGe585 YqGe585 commented Aug 11, 2025

PR Category

Custom Device

PR Types

Improvements

Description

pcard-67164
Support custom device empty_cache()
Use paddle.device.empty_cache() to release cached memory to OS.

@paddle-bot
Copy link

paddle-bot bot commented Aug 11, 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.

@codecov-commenter
Copy link

Codecov Report

❌ Patch coverage is 14.28571% with 6 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (develop@2d2476e). Learn more about missing BASE report.

Files with missing lines Patch % Lines
python/paddle/device/__init__.py 14.28% 6 Missing ⚠️

❌ Your patch status has failed because the patch coverage (14.28%) 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   #74539   +/-   ##
==========================================
  Coverage           ?   14.28%           
==========================================
  Files              ?        1           
  Lines              ?        7           
  Branches           ?        0           
==========================================
  Hits               ?        1           
  Misses             ?        6           
  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.

@yongqiangma yongqiangma merged commit 9667405 into PaddlePaddle:develop Aug 12, 2025
75 of 77 checks passed
maxiaolong001 pushed a commit to maxiaolong001/Paddle that referenced this pull request Aug 12, 2025
@YqGe585 YqGe585 deleted the emptycache branch September 16, 2025 03:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants