-
Notifications
You must be signed in to change notification settings - Fork 2
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
Speed / accuracy comparison against torch.linalg.solve
#1
Comments
I'd like to elaborate on more fundamental reasons why CG and GMRES are needed and where they may be useful.
In summary,
|
The specific implementation can always be optimized later; however, it is probably better to consider whether it's good to incorporate these new algorithms from a more strategic, long-term perspective for the development of PyTorch. |
For generic systems we have That being said, I do agree that these solvers could potentially be of interest, but before adding them to PyTorch core, we would need to:
|
I would expect this Python implementation to be quite a bit slower than
linalg.solve
. If this is the case, the applications of this would be to use it with custom operators, which PyTorch doesn't currently support natively (see pytorch/pytorch#28341)The text was updated successfully, but these errors were encountered: