Paddle icon indicating copy to clipboard operation
Paddle copied to clipboard

[Auto Parallel] Add spmd rule No.16 for depthwise_conv2d and depthwise_conv2d_grad ops.

Open NKNaN opened this issue 6 months ago • 2 comments

PR Category

Auto Parallel

PR Types

New features

Description

为 depthwise_conv2d 和 depthwise_conv2d_grad 算子增加切分推导规则。

  • input 和 filter 的 channel 维不进行切分:filter 的 channel 维大小总是 1,若将 input 的 channel 维切分到不同设备,则在不同设备上需要将 group 参数也改为对应的大小才能正确计算,所以暂时对 channel 维不做切分。
  • 其他规则与 conv2d, conv3d 一致

NKNaN avatar Jun 06 '25 07:06 NKNaN

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

Sorry to inform you that b4e6c54'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 15 '25 02:06 paddle-ci-bot[bot]

https://github.com/PaddlePaddle/Paddle/issues/72415#issuecomment-2989692615

@NKNaN 请知晓

luotao1 avatar Jun 20 '25 06:06 luotao1

#72415 (comment)

@NKNaN 请知晓

了解了

NKNaN avatar Jun 20 '25 07:06 NKNaN

Codecov Report

Attention: Patch coverage is 98.98990% with 1 line in your changes missing coverage. Please review.

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

Files with missing lines Patch % Lines
...addle/phi/infermeta/spmd_rules/depthwise_conv2d.cc 98.98% 1 Missing :warning:
Additional details and impacted files
@@            Coverage Diff             @@
##             develop   #73134   +/-   ##
==========================================
  Coverage           ?   98.98%           
==========================================
  Files              ?        1           
  Lines              ?       99           
  Branches           ?        0           
==========================================
  Hits               ?       98           
  Misses             ?        1           
  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 23 '25 18:06 codecov-commenter

/re-run all-failed

NKNaN avatar Jun 30 '25 13:06 NKNaN

CI 应该可以了

NKNaN avatar Jul 01 '25 11:07 NKNaN

需要解决下冲突

luotao1 avatar Jul 04 '25 04:07 luotao1

/re-run all-failed

NKNaN avatar Jul 04 '25 10:07 NKNaN