Deprecate torch.lu#77636
Closed
lezcano wants to merge 10 commits intogh/Lezcano/74/basefrom
Closed
Conversation
**BC-breaking note**: This PR deprecates `torch.lu` in favor of `torch.linalg.lu_factor`. A upgrade guide is added to the documentation for `torch.lu`. Note this PR DOES NOT remove `torch.lu`. [ghstack-poisoned]
Closed
Contributor
🔗 Helpful links
✅ No Failures (0 Pending)As of commit c1cf627 (more details on the Dr. CI page): Expand to see more💚 💚 Looks good so far! There are no failures yet. 💚 💚 This comment was automatically generated by Dr. CI (expand for details).Please report bugs/suggestions to the (internal) Dr. CI Users group. |
This was referenced May 17, 2022
Closed
**BC-breaking note**: This PR deprecates `torch.lu` in favor of `torch.linalg.lu_factor`. A upgrade guide is added to the documentation for `torch.lu`. Note this PR DOES NOT remove `torch.lu`. Reland #73804 [ghstack-poisoned]
**BC-breaking note**: This PR deprecates `torch.lu` in favor of `torch.linalg.lu_factor`. A upgrade guide is added to the documentation for `torch.lu`. Note this PR DOES NOT remove `torch.lu`. Reland #73804 [ghstack-poisoned]
**BC-breaking note**: This PR deprecates `torch.lu` in favor of `torch.linalg.lu_factor`. A upgrade guide is added to the documentation for `torch.lu`. Note this PR DOES NOT remove `torch.lu`. Reland #73804 [ghstack-poisoned]
**BC-breaking note**: This PR deprecates `torch.lu` in favor of `torch.linalg.lu_factor`. A upgrade guide is added to the documentation for `torch.lu`. Note this PR DOES NOT remove `torch.lu`. Reland #73804 [ghstack-poisoned]
**BC-breaking note**: This PR deprecates `torch.lu` in favor of `torch.linalg.lu_factor`. A upgrade guide is added to the documentation for `torch.lu`. Note this PR DOES NOT remove `torch.lu`. Reland #73804 [ghstack-poisoned]
**BC-breaking note**: This PR deprecates `torch.lu` in favor of `torch.linalg.lu_factor`. A upgrade guide is added to the documentation for `torch.lu`. Note this PR DOES NOT remove `torch.lu`. Reland #73804 [ghstack-poisoned]
**BC-breaking note**: This PR deprecates `torch.lu` in favor of `torch.linalg.lu_factor`. A upgrade guide is added to the documentation for `torch.lu`. Note this PR DOES NOT remove `torch.lu`. Reland #73804 [ghstack-poisoned]
**BC-breaking note**: This PR deprecates `torch.lu` in favor of `torch.linalg.lu_factor`. A upgrade guide is added to the documentation for `torch.lu`. Note this PR DOES NOT remove `torch.lu`. Reland #73804 [ghstack-poisoned]
**BC-breaking note**: This PR deprecates `torch.lu` in favor of `torch.linalg.lu_factor`. A upgrade guide is added to the documentation for `torch.lu`. Note this PR DOES NOT remove `torch.lu`. Reland #73804 [ghstack-poisoned]
malfet
approved these changes
Jun 7, 2022
facebook-github-bot
pushed a commit
that referenced
this pull request
Jun 8, 2022
Summary: **BC-breaking note**: This PR deprecates `torch.lu` in favor of `torch.linalg.lu_factor`. A upgrade guide is added to the documentation for `torch.lu`. Note this PR DOES NOT remove `torch.lu`. Pull Request resolved: #77636 Approved by: https://github.com/malfet Test Plan: contbuild & OSS CI, see https://hud.pytorch.org/commit/pytorch/pytorch/f7b9a4688091d1118a4052dea6a73875fb956f79 Reviewed By: osalpekar Differential Revision: D36993319 Pulled By: osalpekar fbshipit-source-id: 13bbcee3c95820007691ab0fb357a9475c6d9a1e
laurentdupin
pushed a commit
to laurentdupin/pytorch
that referenced
this pull request
Apr 25, 2026
**BC-breaking note**: This PR deprecates `torch.lu` in favor of `torch.linalg.lu_factor`. A upgrade guide is added to the documentation for `torch.lu`. Note this PR DOES NOT remove `torch.lu`. Pull Request resolved: pytorch#77636 Approved by: https://github.com/malfet
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stack from ghstack:
This PR deprecates
torch.luin favor oftorch.linalg.lu_factor.A upgrade guide is added to the documentation for
torch.lu.Note this PR DOES NOT remove
torch.lu.Reland #73804
BC-breaking note
Deprecate
torch.luin favor oflinalg.lu_factorThe new operation has a cleaner API and better docs. The update rule is as follows:
Version 1.12.0
Version 1.13.0