Skip to content

Conversation

@From00
Copy link
Contributor

@From00 From00 commented Sep 22, 2021

PR types

Function optimization

PR changes

OPs

Describe

This PR implements the kernel of "eigvals" OP with the Lapack library, which has a better performance than the previous Eigen library.

Here are some preliminary test results comparing between two library:
image

@paddle-bot-old
Copy link

Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

@From00 From00 changed the title Replace Eigen with Lapack library for "eigvals" OP kernel [cherry-pick] Replace Eigen with Lapack library for "eigvals" OP kernel Sep 22, 2021
@From00 From00 changed the title [cherry-pick] Replace Eigen with Lapack library for "eigvals" OP kernel Replace Eigen with Lapack library for "eigvals" OP kernel Sep 22, 2021
Copy link
Contributor

@zhwesky2010 zhwesky2010 left a comment

Choose a reason for hiding this comment

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

LGTM for calling origin lapack API

Copy link
Contributor

@zhwesky2010 zhwesky2010 left a comment

Choose a reason for hiding this comment

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

eigen和lapack的实现,OP性能的对比有吗

Copy link
Contributor

@zhiqiu zhiqiu left a comment

Choose a reason for hiding this comment

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

Lgtm

@pangyoki pangyoki merged commit 9b8aafe into PaddlePaddle:develop Sep 23, 2021
lanxianghit pushed a commit that referenced this pull request Sep 24, 2021
…#35909) (#36038)

This PR implements the kernel of "eigvals" OP with the Lapack library, which has a better performance than the previous Eigen library.
AnnaTrainingG pushed a commit to AnnaTrainingG/Paddle that referenced this pull request Sep 29, 2021
@From00 From00 deleted the replace-eigen-with-lapack-in-eigvals-kernel branch November 17, 2021 07:40
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.

4 participants