[RELAND] Remove patches that circumvent MAGMA bug (#35973)
Summary:
Changelog:
- The magma implementation of small singular square batch matrices had a bug that resulted in nan values in the LU factorization result. This has been fixed in MAGMA 2.5.2. This PR removes the existing patch that was a temporary workaround for this bug.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/35973
Test Plan:
- Existing tests for det and lu should pass
This is a re-submit of https://github.com/pytorch/pytorch/issues/34357
Differential Revision: D21336552
Pulled By: seemethere
fbshipit-source-id: 9c3b350966913147f1d5811927f3cae10fe620f1