-
Notifications
You must be signed in to change notification settings - Fork 5.8k
【PIR API adaptor No.219 、220】 Migrate pinv/svd into pir #58446
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
|
LinalgPinvTestCase::test_static 单测出现的问题可以尝试一下:#58259 (comment) 原因可能是当前的 test_with_pir_api 中对 base.Program() 替换为 |
这里报dtype的问题是因为EighInferMeta函数写的有问题,需要将EighInferMeta的最后一行修改为 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
代码冲突了,辛苦解决下冲突。另外请在pr描述中写一下pir单测打开了多少,LinalgPinvTestCase.test_grad这个单测是动态图的单测,不需要适配pir |
PR types
Others
PR changes
APIs
Description
No.219 与 220
PIR API 推全升级
test_linalg_pinv_op
TestDivByZero.pinv_zero_input_static
不会 raise ValueError 于是关闭LinalgPinvTestCase.test_grad
由于目前不支持 OpResult 进行 backward,故未开启svd 全部通过