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

Rename trtrs to triangular_solve #18213

Closed

Conversation

vishwakftw
Copy link
Contributor

@vishwakftw vishwakftw commented Mar 20, 2019

Changelog:

  • Renames trtrs to triangular_solve to remain consistent with cholesky_solve and solve.
  • Rename all tests, fix callsites
  • Create a tentative alias for triangular_solve under the name trtrs, and add a deprecation warning to not promote usage.
  • Move isnan to _torch_docs.py
  • Remove unnecessary imports

Test Plan:

  • All tests should pass to confirm that the patch is correct.

Stack:

  1. Add batched version of trtrs #18025 - Add batched version of trtrs
  2. Rename trtrs to triangular_solve #18213 - Rename trtrs to triangular_solve

- Remove single batch TH/THC implementations
Seems like you don't need a magma_queue_t object
Changelog:
- Renames `trtrs` to `triangular_solve` to remain consistent with `cholesky_solve` and `solve`.
- Rename all tests, fix callsites
- Create a tentative alias for `triangular_solve` under the name `trtrs`, and add a deprecation warning to not promote usage.
- Move `isnan` to _torch_docs.py
- Remove unnecessary imports

Test Plan:
- All tests should pass to confirm that the patch is correct.
@vishwakftw
Copy link
Contributor Author

@pytorchbot rebase this please

Copy link
Member

@soumith soumith left a comment

Choose a reason for hiding this comment

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

lgtm

@vishwakftw
Copy link
Contributor Author

All build/test failures are spurious

@vishwakftw
Copy link
Contributor Author

@pytorchbot merge this please

@pytorchbot pytorchbot added the merge-this-please Was marked for merge with @pytorchbot merge this please label Mar 21, 2019
Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

@ezyang is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@ezyang merged this pull request in 291746f.

zdevito pushed a commit to zdevito/ATen that referenced this pull request Mar 21, 2019
Summary:
Changelog:
- Renames `trtrs` to `triangular_solve` to remain consistent with `cholesky_solve` and `solve`.
- Rename all tests, fix callsites
- Create a tentative alias for `triangular_solve` under the name `trtrs`, and add a deprecation warning to not promote usage.
- Move `isnan` to _torch_docs.py
- Remove unnecessary imports
Pull Request resolved: pytorch/pytorch#18213

Differential Revision: D14566902

Pulled By: ezyang

fbshipit-source-id: 544f57c29477df391bacd5de700bed1add456d3f
@vishwakftw vishwakftw deleted the trtrs-rename-triangular_solve branch March 25, 2019 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merge-this-please Was marked for merge with @pytorchbot merge this please open source
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants