Skip to content
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

【Infer Symbolic Shape No.232】【BUAA】Add svd, changed 3 files #67664

Merged
merged 64 commits into from
Sep 18, 2024

Conversation

Whsjrczr
Copy link
Contributor

@Whsjrczr Whsjrczr commented Aug 22, 2024

PR Category

User Experience

PR Types

New features

Description

加入了svd
单测位于test\legacy_test\test_svd_op.py
self.check_output(no_check_set=['U', 'VH'], check_pir=True),其中默认check_symbol_infer=True,

Copy link

paddle-bot bot commented Aug 22, 2024

你的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 paddle-bot bot added the contributor External developers label Aug 22, 2024
@luotao1 luotao1 added the HappyOpenSource Pro 进阶版快乐开源活动,更具挑战性的任务 label Aug 23, 2024
Copy link

paddle-ci-bot bot commented Aug 31, 2024

Sorry to inform you that 40cd98a's CIs have passed for more than 7 days. To prevent PR conflicts, you need to re-run all CIs manually.

const symbol::DimExpr m = x_shapes[x_rank - 2];
const symbol::DimExpr n = x_shapes[x_rank - 1];
const symbol::DimExpr k =
std::min(m.Get<std::int64_t>(), n.Get<std::int64_t>());
Copy link
Contributor

Choose a reason for hiding this comment

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

这里应该用symbol::DimExprBuilder builder; builder.min()

const symbol::DimExpr n = x_shapes[x_rank - 1];
symbol::DimExprBuilder builder;
const symbol::DimExpr k =
builder.Min(m.Get<std::int64_t>(), n.Get<std::int64_t>());
Copy link
Contributor

Choose a reason for hiding this comment

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

builder.min() 不需要使用.Get() 了

Copy link
Contributor

@gongshaotian gongshaotian left a comment

Choose a reason for hiding this comment

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

LGTM

@luotao1 luotao1 merged commit 58afef7 into PaddlePaddle:develop Sep 18, 2024
28 of 30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributor External developers HappyOpenSource Pro 进阶版快乐开源活动,更具挑战性的任务
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants