Skip to content

fix: failing test test_jax_min#28738

Open
tanmaymunjal wants to merge 1 commit intoivy-llc:mainfrom
tanmaymunjal:fix_test_jax_min
Open

fix: failing test test_jax_min#28738
tanmaymunjal wants to merge 1 commit intoivy-llc:mainfrom
tanmaymunjal:fix_test_jax_min

Conversation

@tanmaymunjal
Copy link

@tanmaymunjal tanmaymunjal commented Apr 15, 2024

PR Description

The test test_jax_min failing seems to be an issue that when two floats are very close, paddle's real function will just approximate them as equal while jax will not.

Related Issue

Closes #28737

Checklist

  • Did you add a function?
  • Did you add the tests?
  • Did you run your tests and are your tests passing?
  • Did pre-commit not fail on any check?
  • Did you follow the steps we provided?

Socials

https://twitter.com/free_thinker_9

Copy link
Contributor

@Ishticode Ishticode left a comment

Choose a reason for hiding this comment

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

Hi. Thanks for the PR @tanmaymunjal
looks good. I guess it doesn't support complex128 either. usually "complex" should include both but there is some underlying bug with the decorator yet to be fixed. Maybe add complex128 and will get this merged. THanks for looking into this. :).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix Frontend Failing Test: numpy - operators.jax.lax.min

3 participants