Skip to content

fix: failing test test_jax_svd#28736

Open
tanmaymunjal wants to merge 4 commits intoivy-llc:mainfrom
tanmaymunjal:test_jax_svd
Open

fix: failing test test_jax_svd#28736
tanmaymunjal wants to merge 4 commits intoivy-llc:mainfrom
tanmaymunjal:test_jax_svd

Conversation

@tanmaymunjal
Copy link

PR Description

Fixed failing test test_jax_svd, the issue seems to be a basic float 32 vs float 64 dtype issue as np.asarray returned np.float64 dtype and ivy_backend.to_numpy returned np.float32 dtype. Also, when compute_uv was false, we were comparing a float to an array.

Related Issue

Closes #28734

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

@ivy-leaves ivy-leaves added the JAX Frontend Developing the JAX Frontend, checklist triggered by commenting add_frontend_checklist label Apr 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

JAX Frontend Developing the JAX Frontend, checklist triggered by commenting add_frontend_checklist

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix Frontend Failing Test: torch - linalg.jax.numpy.linalg.svd

4 participants