Skip to content

Avoid copies in matmul (no ghstack)#97355

Closed
lezcano wants to merge 1 commit intomasterfrom
matmul
Closed

Avoid copies in matmul (no ghstack)#97355
lezcano wants to merge 1 commit intomasterfrom
matmul

Conversation

@lezcano
Copy link
Collaborator

@lezcano lezcano commented Mar 22, 2023

Resubmit of #76828 without using ghstack so that @ngimel can import it and help me debug the issue why it was reverted.

@lezcano lezcano requested a review from ngimel March 22, 2023 17:01
@pytorch-bot pytorch-bot bot added the release notes: linalg_frontend release notes category label Mar 22, 2023
@pytorch-bot
Copy link

pytorch-bot bot commented Mar 22, 2023

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/97355

Note: Links to docs will display an error until the docs builds have been completed.

❌ 1 Failures

As of commit 1104cac:

NEW FAILURES - The following jobs have failed:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@facebook-github-bot
Copy link
Contributor

@ngimel has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@ngimel
Copy link
Collaborator

ngimel commented Mar 24, 2023

Internal tests look good but require mobile models reexport, I'll check who's doing it now.

@pytorch-bot pytorch-bot bot added the ciflow/trunk Trigger trunk jobs on your pull request label Mar 26, 2023
@pytorchmergebot
Copy link
Collaborator

Merge failed

Reason: Comment with id 1484105776 not found

Details for Dev Infra team Raised by workflow job

@lezcano
Copy link
Collaborator Author

lezcano commented Mar 28, 2023

@ngimel whats the ETA for landing this one?

@ngimel
Copy link
Collaborator

ngimel commented Mar 28, 2023

I don't know why merge failed.

@ngimel
Copy link
Collaborator

ngimel commented Mar 28, 2023

@pytorchbot merge

@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged once all checks pass (ETA 0-4 Hours).

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

@pytorchmergebot
Copy link
Collaborator

Merge failed

Reason: This PR is too stale; the last push date was more than 3 days ago. Please rebase and try again. You can rebase by leaving the following comment on this PR:
@pytorchbot rebase

Details for Dev Infra team Raised by workflow job

@lezcano
Copy link
Collaborator Author

lezcano commented Mar 28, 2023

@pytorchbot rebase

@pytorchmergebot
Copy link
Collaborator

@pytorchbot successfully started a rebase job. Check the current status here

With this PR, matmul just folds a bmm into a mm o mv if and only if it
can achieve so without copying.

For the cases where it was copying before see #75197 (comment) #75197 (comment) #75197 (comment)

For the approach taken, see #75197 (comment)

Fixes #76702

ghstack-source-id: 640544a
Pull Request resolved: #76828
@pytorchmergebot
Copy link
Collaborator

Successfully rebased matmul onto refs/remotes/origin/viable/strict, please pull locally before adding more changes (for example, via git checkout matmul && git pull --rebase)

@lezcano
Copy link
Collaborator Author

lezcano commented Mar 28, 2023

@pytorchbot merge

@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged once all checks pass (ETA 0-4 Hours).

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

@pytorchmergebot
Copy link
Collaborator

Merge failed

Reason: 1 jobs have failed, first few of them are: Meta Internal-Only Changes Check

Details for Dev Infra team Raised by workflow job

@ngimel
Copy link
Collaborator

ngimel commented Mar 28, 2023

ok internal PR unlinked, should be mergeable now

@lezcano
Copy link
Collaborator Author

lezcano commented Mar 28, 2023

@pytorchbot merge

@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged once all checks pass (ETA 0-4 Hours).

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

@pytorchmergebot
Copy link
Collaborator

Merge failed

Reason: 2 jobs have failed, first few of them are: trunk / macos-12-py3-arm64-mps / test (default, 1, 1), Meta Internal-Only Changes Check

Details for Dev Infra team Raised by workflow job

@lezcano
Copy link
Collaborator Author

lezcano commented Mar 29, 2023

@pytorchbot merge -f "unrelated errors"

@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes).

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/trunk Trigger trunk jobs on your pull request Merged open source release notes: linalg_frontend release notes category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants