Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: failing test test_jax_svd #28736

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

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