Skip to content

Conversation

@zhengshengning
Copy link
Contributor

PR Category

Operator Mechanism

PR Types

Bug fixes

Description

adaptive_avg_pool2d、adaptive_avg_pool3d、adaptive_max_pool2d、adaptive_avg_pool3d

  1. 存在精度问题,是0-size时返回的初始化填充问题,avg时改为nan即可。
image 2. 解决上面问题后,GPU测试通过,但是CPU测试出现float16类型不支持问题,原因是cpu没有支持flaot16的kernel实现。 image

增加对float16的支持后测试:
adaptive_avg_pool2d
image
adaptive_avg_pool3d
image
adaptive_max_pool2d
image
adaptive_avg_pool3d
image

pcard-67164

@paddle-bot
Copy link

paddle-bot bot commented Jul 30, 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

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (develop@477772b). Learn more about missing BASE report.

Additional details and impacted files
@@             Coverage Diff             @@
##             develop    #74313   +/-   ##
===========================================
  Coverage           ?   100.00%           
===========================================
  Files              ?         3           
  Lines              ?         9           
  Branches           ?         0           
===========================================
  Hits               ?         9           
  Misses             ?         0           
  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.

@zhengshengning
Copy link
Contributor Author

/re-run all-failed

@wanghuancoder wanghuancoder merged commit d7e7496 into PaddlePaddle:develop Jul 30, 2025
70 of 71 checks passed
DanielSun11 added a commit that referenced this pull request Jul 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants