-
Notifications
You must be signed in to change notification settings - Fork 6.8k
[v1.9.x] modify erfinv implementation based on scipy #20517
Conversation
Hey @mseth10 , Thanks for submitting the PR
CI supported jobs: [centos-gpu, miscellaneous, unix-cpu, unix-gpu, windows-gpu, edge, website, sanity, clang, windows-cpu, centos-cpu] Note: |
Is this file rightly placed in rat-excludes and tools/license_header.py ? @josephevans @leezu |
@mxnet-bot run ci [unix-cpu ] |
Jenkins CI successfully triggered : [unix-cpu] |
@mxnet-bot run ci [unix-gpu ] |
Jenkins CI successfully triggered : [unix-gpu] |
Jenkins CI successfully triggered : [unix-gpu] |
Jenkins CI successfully triggered : [unix-gpu] |
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.
Thanks for refactoring this! LGTM!
* modify erfinv implementation based on scipy * fix lint * fix lint * fix host/device gpu error * fix flag
* modify erfinv implementation based on scipy * fix lint * fix lint * fix host/device gpu error * fix flag
…pache#20550) * modify erfinv implementation based on scipy * fix lint * fix lint * fix host/device gpu error * fix flag
…pache#20550) * modify erfinv implementation based on scipy * fix lint * fix lint * fix host/device gpu error * fix flag
Description
Modify
erfinv
implementation based on SciPy's implementation. This fixes #20511Performance Analysis
Ran a simple python script twice
The earlier implementation took 51.19 secs and 53.06 secs.
With this PR changes, it takes 46.29 secs and 41.04 secs.
So, the new implementation is faster.