pytorch/docs
lezcano fc5b4a5a33 Add linalg.lu_solve
This PR adds `linalg.lu_solve`. While doing so, I found a bug in MAGMA
when calling the batched MAGMA backend with trans=True. We work around
that by solving the system solving two triangular systems.

We also update the heuristics for this function, as they were fairly
updated. We found that cuSolver is king, so luckily we do not need to
rely on the buggy backend from magma for this function.

We added tests testing this function left and right. We also added tests
for the different backends. We also activated the tests for AMD, as
those should work as well.

Fixes https://github.com/pytorch/pytorch/issues/61657

Pull Request resolved: https://github.com/pytorch/pytorch/pull/72935

Approved by: https://github.com/IvanYashchuk, https://github.com/mruberry
2022-05-05 19:02:13 +00:00
..
caffe2
cpp Revert "Revert "Allow specifying tags for aten operators in native_functions.yaml"" 2022-04-28 02:04:57 +00:00
source Add linalg.lu_solve 2022-05-05 19:02:13 +00:00
.gitignore
libtorch.rst
make.bat
Makefile Add list of supported ATen ops by ONNX converter into torch.onnx page 2022-04-07 00:05:44 +00:00
README.md
requirements.txt Jinja2 version pinned to 3.0.* (#74690) 2022-03-24 21:58:28 +00:00

Please see the Writing documentation section of CONTRIBUTING.md for details on both writing and building the docs.