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

Sort #9885

Merged
merged 66 commits into from
Feb 17, 2023
Merged

Sort #9885

merged 66 commits into from
Feb 17, 2023

Conversation

yumnaAlshalak
Copy link
Contributor

@yumnaAlshalak yumnaAlshalak commented Jan 20, 2023

Close #9852

@yumnaAlshalak
Copy link
Contributor Author

Close #9852

Copy link
Contributor

@zaeemansari70 zaeemansari70 left a comment

Choose a reason for hiding this comment

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

Hey!
Thank you soo much for contributing to ivy! 🙂
Your PR looks amazing ✨!

Actually there is one thing which you forgot about maybe, you have not added the test for the specific function. I'll link you to the guide which will help you explain in detail on how to add the test function.
https://lets-unify.ai/ivy/deep_dive/ivy_frontends_tests.html

Thanks! 🙂

Copy link
Contributor

@zaeemansari70 zaeemansari70 left a comment

Choose a reason for hiding this comment

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

Awesome, thanks for the changes! 🙂
Just a few more changes required before we can merge your PR, I've mentioned them below!

You've mistakenly added both of the files on the main repo, they should rather be in their respective directories 🙂

  1. For your functional implementation it should be in ivy/functional/frontends/jax/numpy/searching_sorting.py
  2. Incase of the implementation of the test, it should be here, ivy_tests/test_ivy/test_frontends/test_jax/test_jax_numpy_searching_sorting.py

Thanks! 🙂

@ivy-leaves ivy-leaves added the JAX Frontend Developing the JAX Frontend, checklist triggered by commenting add_frontend_checklist label Jan 27, 2023
Copy link
Contributor

@zaeemansari70 zaeemansari70 left a comment

Choose a reason for hiding this comment

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

Your test is failing, there are some minor changes which need to be done.
There was a refactor in the frontend tests recently, you have to use test_flags now which handle multiple arguments.

I'll link you to an example which will help you in the refactor. https://github.com/unifyai/ivy/blob/master/ivy_tests/test_ivy/test_frontends/test_torch/test_linalg.py#L102

Thanks! 🙂

Copy link
Contributor

@zaeemansari70 zaeemansari70 left a comment

Choose a reason for hiding this comment

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

I guess you forgot to request a review from me, I have reviewed your PR again and requested some changes!
Do request a review from me when you are done with your changes!
Also let me know if you have any other questions!
Thanks! 🙂

stable: bool = True,
out: Optional[ivy.Array] = None,
):
if axis == 1:
Copy link
Contributor

Choose a reason for hiding this comment

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

kindly debug your code from here as the difference is very minimal as the assertion error is [1 0] != [0 1], with the original framework, you are missing some logical implementation while implementing this

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No, I didn't forget but I am still trying to solve the problem every day.

Copy link
Contributor

@zaeemansari70 zaeemansari70 left a comment

Choose a reason for hiding this comment

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

Lgtm!

@zaeemansari70 zaeemansari70 merged commit fdbb6f6 into ivy-llc:master Feb 17, 2023
vedpatwardhan pushed a commit to vedpatwardhan/ivy that referenced this pull request Feb 23, 2023
Co-authored-by: zaeemansari70 [email protected]
vedpatwardhan pushed a commit to vedpatwardhan/ivy that referenced this pull request Feb 23, 2023
Co-authored-by: zaeemansari70 [email protected]
vedpatwardhan pushed a commit to vedpatwardhan/ivy that referenced this pull request Feb 26, 2023
Co-authored-by: zaeemansari70 [email protected]
vedpatwardhan pushed a commit to vedpatwardhan/ivy that referenced this pull request Feb 26, 2023
Co-authored-by: zaeemansari70 [email protected]
@yumnaAlshalak
Copy link
Contributor Author

What's the next step? @zaeemansari70

@zaeemansari70
Copy link
Contributor

Hi @yumnaAlshalak , maybe text in the hiring channel on discord tagging the hiring team, they would have a better idea, I hope it helps 🙂

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.

sort
3 participants