8000 Fix to make GELU on aarch64 preserve COW input tensor by robert-hardwick · Pull Request #142366 · pytorch/pytorch · GitHub
[go: up one dir, main page]

Skip to content

Fix to make GELU on aarch64 preserve COW input tensor #142366

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

Closed
wants to merge 1 commit into from

Conversation

robert-hardwick
Copy link
Collaborator
@robert-hardwick robert-hardwick commented Dec 9, 2024

Fixes #142365

itensor_from_tensor call was causing COW tensor to materialize

cc @malfet @snadampal @milpuz01

Copy link
pytorch-bot bot commented Dec 9, 2024

🔗 Helpful Links

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

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

❌ 1 New Failure

As of commit ad69f39 with merge base f14ce3a (image):

NEW FAILURE - The following job has failed:

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

@robert-hardwick
Copy link
Collaborator Author

@pytorchbot label "topic: not user facing"

@pytorch-bot pytorch-bot bot added the topic: not user facing topic category label Dec 9, 2024
@aditew01 aditew01 added the module: arm Related to ARM architectures builds of PyTorch. Includes Apple M1 label Dec 9, 2024
@malfet
Copy link
Contributor
malfet commented Dec 9, 2024

@robert-hardwick is it hard to enable respective test in the same PR. But looks good to me, thank you for the fix.

@malfet
Copy link
Contributor
malfet commented Dec 9, 2024

@pytorchbot merge

@pytorch-bot pytorch-bot bot added the ciflow/trunk Trigger trunk jobs on your pull request label Dec 9, 2024
@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

@robert-hardwick
Copy link
Collaborator Author

@robert-hardwick is it hard to enable respective test in the same PR. But looks good to me, thank you for the fix.

Not hard, but we are working on a couple more oustanding issues and then we will create a separate PR to add the tests.

@pytorchmergebot
Copy link
Collaborator

Merge failed

Reason: 1 mandatory check(s) failed. The first few are:

Dig deeper by viewing the failures on hud

Details for Dev Infra team Raised by workflow job

Failing merge rule: Core Maintainers

@malfet
Copy link
Contributor
malfet commented Dec 9, 2024

@pytorchbot merge -i

@malfet
Copy link
Contributor
malfet commented Dec 9, 2024

Not hard, but we are working on a couple more oustanding issues and then we will create a separate PR to add the tests.

In my experience, promise to add tests later often slips thru the cracks which opens up possibility that something could regress again

@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged while ignoring the following 1 checks: pull / linux-focal-py3.9-clang10 / test (dynamo_wrapped, 1, 3, lf.linux.2xlarge)

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

bluenote10 pushed a commit to bluenote10/pytorch that referenced this pull request Dec 14, 2024
Fixes pytorch#142365

itensor_from_tensor call was causing COW tensor to materialize

Pull Request resolved: pytorch#142366
Approved by: https://github.com/malfet
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 module: arm Related to ARM architectures builds of PyTorch. Includes Apple M1 open source topic: not user facing topic category
Projects
None yet
Development

Successfully merging this pull request may close these issues.

GELU on aarch64 platforms causes COW input tensor to materialize
5 participants
0