Deprecate torch.lu#73804
Closed
lezcano wants to merge 33 commits intogh/Lezcano/49/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
Closed
CI Flow Status⚛️ CI FlowRuleset - Version:
|
Contributor
🔗 Helpful links
❌ 3 New FailuresAs of commit f9153ad (more details on the Dr. CI page): Expand to see more
🕵️ 3 new failures recognized by patternsThe following CI failures do not appear to be due to upstream breakages
|
**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]
**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]
**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]
**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]
**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]
This was referenced Mar 7, 2022
**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]
**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]
Collaborator
|
There are a few problems with the suggested code in the warning message. |
**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]
This was referenced Mar 10, 2022
**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]
Contributor
|
@pytorchbot revert this, as dependent change of #72935 that breaks internal build |
pytorchmergebot
added a commit
that referenced
this pull request
May 9, 2022
This reverts commit a5bbfd9. Reverted #73804 on behalf of https://github.com/malfet
Closed
Collaborator
Author
|
Relanding in #77636 |
lezcano
added a commit
that referenced
this pull request
May 17, 2022
**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]
lezcano
added a commit
that referenced
this pull request
May 17, 2022
**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]
lezcano
added a commit
that referenced
this pull request
May 17, 2022
**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]
lezcano
added a commit
that referenced
this pull request
May 17, 2022
**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]
lezcano
added a commit
that referenced
this pull request
May 17, 2022
**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]
lezcano
added a commit
that referenced
this pull request
May 17, 2022
**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]
lezcano
added a commit
that referenced
this pull request
May 18, 2022
**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]
lezcano
added a commit
that referenced
this pull request
May 18, 2022
**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]
lezcano
added a commit
that referenced
this pull request
May 18, 2022
**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]
lezcano
added a commit
that referenced
this pull request
May 18, 2022
**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]
lezcano
added a commit
that referenced
this pull request
May 25, 2022
**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]
lezcano
added a commit
that referenced
this pull request
May 25, 2022
**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]
lezcano
added a commit
that referenced
this pull request
May 25, 2022
**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]
lezcano
added a commit
that referenced
this pull request
May 25, 2022
**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]
lezcano
added a commit
that referenced
this pull request
May 25, 2022
**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]
lezcano
added a commit
that referenced
this pull request
May 25, 2022
**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]
lezcano
added a commit
that referenced
this pull request
Jun 7, 2022
**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]
lezcano
added a commit
that referenced
this pull request
Jun 7, 2022
**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]
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#73804 Approved by: https://github.com/IvanYashchuk, https://github.com/mruberry
laurentdupin
pushed a commit
to laurentdupin/pytorch
that referenced
this pull request
Apr 25, 2026
This reverts commit 0f6d107. Reverted pytorch#73804 on behalf of 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:
BC-breaking note:
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.