Skip to content

Conversation

@Cookiee235
Copy link
Contributor

@Cookiee235 Cookiee235 commented May 19, 2025

The PR is designed to fix #17975 by supporting the operators of erf in the LLVM backend.
It was implemented by using the approximation for erf(x)

image

as shown in https://en.wikipedia.org/wiki/Error_function

@Cookiee235
Copy link
Contributor Author

@tvm-bot rerun

@jikechao jikechao self-requested a review July 2, 2025 02:28
Copy link
Member

@jikechao jikechao left a comment

Choose a reason for hiding this comment

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

LGTM, It would be better to implement a higher-precision version of erf() in a future update.

@cbalint13
Copy link
Contributor

cbalint13 commented Jul 3, 2025

@Cookiee235 , @jikechao

This proposal here was stalled and we got a ERF proposal merged by #18104 (Abramowitz & Stegun variant).
Not an expert on this (as myself), but improvements are always welcome if there are better implementations.

Since now this is a duplicate, it could be closed if there are no objections.

@cbalint13 cbalint13 closed this Jul 3, 2025
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.

[Bug] TVMError: unknown intrinsic Op(tir.erf)

3 participants