Skip to content
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

Deprecate torch.chain_matmul in favor of torch.linalg.multi_dot #53453

Closed

Conversation

heitorschueroff
Copy link
Contributor

@heitorschueroff heitorschueroff commented Mar 6, 2021

Stack from ghstack:

Differential Revision: D27406282

heitorschueroff added a commit that referenced this pull request Mar 6, 2021
ghstack-source-id: c8fe7ef8fae80e9498c7b9b3eaef63851e57bb9b
Pull Request resolved: #53453
@facebook-github-bot
Copy link
Contributor

facebook-github-bot commented Mar 6, 2021

💊 CI failures summary and remediations

As of commit 3684278 (more details on the Dr. CI page):


  • 1/1 failures possibly* introduced in this PR
    • 1/1 non-scanned failure(s)

This comment was automatically generated by Dr. CI (expand for details).Follow this link to opt-out of these comments for your Pull Requests.

Please report bugs/suggestions to the (internal) Dr. CI Users group.

heitorschueroff added a commit that referenced this pull request Mar 6, 2021
ghstack-source-id: c8fe7ef8fae80e9498c7b9b3eaef63851e57bb9b
Pull Request resolved: #53453
heitorschueroff added a commit that referenced this pull request Mar 9, 2021
ghstack-source-id: a951a581cb5e351665bddb26850b3d844edea304
Pull Request resolved: #53453
heitorschueroff added a commit that referenced this pull request Mar 11, 2021
ghstack-source-id: 87b18c7ea86acd38e6fea0bc1435aba3c10c9122
Pull Request resolved: #53453
heitorschueroff added a commit that referenced this pull request Mar 12, 2021
ghstack-source-id: 3838e611caf4627a42fd0379bdc210a3a6175329
Pull Request resolved: #53453
[(2, S), (S, 2), (2, S)],
# Each test case consists of the sizes in the chain of multiplications
# e.g. [2, S, 2, S] generates matrices (2, S) @ (S, 2) @ (2, S)
test_cases = [
Copy link
Collaborator

@mruberry mruberry Mar 12, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How much does this increase test time by? Is the net test time decreased or increased with the chain_matmul() test removal?

torch/functional.py Outdated Show resolved Hide resolved
heitorschueroff added a commit that referenced this pull request Mar 17, 2021
ghstack-source-id: ec6db31ce3af029eeb2546e24e5a9721c411c487
Pull Request resolved: #53453
Copy link
Collaborator

@mruberry mruberry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool! Let's get this merged. We can worry about docs refinements in our docs review before the 1.9 release.

heitorschueroff and others added 2 commits March 29, 2021 15:52
Co-authored-by: anjali411 <chourdiaanjali123@gmail.com>
heitorschueroff added a commit that referenced this pull request Mar 29, 2021
ghstack-source-id: f97e541437bac8640db5dfac9e1e6422bede8008
Pull Request resolved: #53453
@ezyang
Copy link
Contributor

ezyang commented Mar 30, 2021

ACKing native_functions.yaml changes

@ezyang ezyang closed this Mar 30, 2021
@ezyang ezyang reopened this Mar 30, 2021
heitorschueroff added a commit that referenced this pull request Mar 30, 2021
ghstack-source-id: 5f1c0927fccf073541730751d9f8308caa7b4b90
Pull Request resolved: #53453
…ting on "Deprecate torch.chain_matmul in favor of torch.linalg.multi_dot"

Differential Revision: [D27406282](https://our.internmc.facebook.com/intern/diff/D27406282)

[ghstack-poisoned]
heitorschueroff added a commit that referenced this pull request Mar 30, 2021
ghstack-source-id: ef79a827770dc501cefc7a7822b07237ae627a13
Pull Request resolved: #53453
heitorschueroff added a commit that referenced this pull request Mar 30, 2021
ghstack-source-id: d031d0af2573dfa330d73d9e91481692a92ae493
Pull Request resolved: #53453
heitorschueroff added a commit that referenced this pull request Mar 30, 2021
ghstack-source-id: ea6666b6d52128d9116774ad6ba4b62bb586982b
Pull Request resolved: #53453
heitorschueroff added a commit that referenced this pull request Mar 31, 2021
ghstack-source-id: b5a98a2ece6e11b3978c71f0ca992b0a3763d826
Pull Request resolved: #53453
@facebook-github-bot
Copy link
Contributor

@heitorschueroff merged this pull request in d98072b.

@facebook-github-bot facebook-github-bot deleted the gh/heitorschueroff/55/head branch April 4, 2021 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants