Skip to content

Conversation

@DanielSun11
Copy link
Contributor

PR Category

Execute Infrastructure

PR Types

Improvements

Description

#70575 对paddle.linalg.solve的前向kernel进行了修复,但是其反向过程尚未支持0 size Tensor。因此修复了 paddle/phi/kernels/impl/solve_grad_kernel_impl.h 中的SolveGradKernel。

PaddleAPITest的报错信息:
image

修复历程:

  1. 检查infermeta推导,没问题
  2. 修复反向kernel
  3. 检查其他device有无对应kernel。(CPU GPU共用同一个函数模版)
  4. 添加单测
  5. paddleAPITest复测,复测结果

image

Pcard-67164

@paddle-bot
Copy link

paddle-bot bot commented May 20, 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.

Copy link
Contributor

@wanghuancoder wanghuancoder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@wanghuancoder wanghuancoder merged commit 26992ec into PaddlePaddle:develop May 21, 2025
54 checks passed
co63oc pushed a commit to co63oc/Paddle that referenced this pull request May 22, 2025
@DanielSun11 DanielSun11 deleted the fix_0-size_solve branch May 26, 2025 07:04
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.

2 participants