Remove deprecated linear algebra functions (and methods) (#22841)
Summary:
Changelog:
- Removed the following linear algebra functions in PyTorch in favor of the renamed operations
- `btrifact` (use `lu` instead)
- `btrifact_with_info` (use `lu` with `get_infos=True` instead)
- `btrisolve` (use `lu_solve` instead)
- `btriunpack` (use `lu_unpack` instead)
- `gesv` (use `solve` instead)
- `pstrf` (use `cholesky` instead)
- `potrf` (use `cholesky` instead)
- `potri` (use `cholesky_inverse` instead)
- `potrs` (use `cholesky_solve` instead)
- `trtrs` (use `triangular_solve` instead)
- Removed dead code after the removal of `pstrf`
Pull Request resolved: https://github.com/pytorch/pytorch/pull/22841
Test Plan:
- All existing tests should pass to verify that the removal is clean
Closes https://github.com/pytorch/pytorch/issues/22832
Differential Revision: D16346184
Pulled By: zou3519
fbshipit-source-id: f748d16ed7609c028de6adcbc28684d5a1af0678