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

fix eigvalsh input arg index out of bound #70788

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

liufengwei0103
Copy link

@liufengwei0103 liufengwei0103 commented Jan 10, 2025

PR Category

Operator Mechanism

PR Types

Bug fixes

Description

eigvalsh kernel的args里只有一个Dense Tensor。 在注册过程中根据SetKernelArgsDef的定义,input_defs_的size是1。 但在取input时,却将index写成了1。在debug编译下,该算子注册会触发small_vector的运行时检查,导致程序core_dump。
image

Copy link

paddle-bot bot commented Jan 10, 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.

@CLAassistant
Copy link

CLAassistant commented Jan 10, 2025

CLA assistant check
All committers have signed the CLA.

@paddle-bot paddle-bot bot added the contributor External developers label Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributor External developers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants