Skip to content

Do not constant prop for mutable buffers. #7779

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

Merged
merged 1 commit into from
Jan 21, 2025

Conversation

hsharma35
Copy link
Contributor

Summary: Before this change, operations on mutable buffers will be constant prop and replaced with a constant tensor. This change avoids constant prop for mutable buffers.

Differential Revision: D68371513

Copy link

pytorch-bot bot commented Jan 21, 2025

🔗 Helpful Links

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

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

❌ 1 New Failure

As of commit 8f3b834 with merge base 948fba6 (image):

NEW FAILURE - The following job has failed:

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

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jan 21, 2025
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D68371513

hsharma35 added a commit to hsharma35/executorch that referenced this pull request Jan 21, 2025
Summary:

Before this change, operations on mutable buffers will be constant prop and replaced with a constant tensor. This change avoids constant prop for mutable buffers.

Differential Revision: D68371513
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D68371513

Summary:

Before this change, operations on mutable buffers will be constant prop and replaced with a constant tensor. This change avoids constant prop for mutable buffers.

Reviewed By: tarun292

Differential Revision: D68371513
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D68371513

@facebook-github-bot facebook-github-bot merged commit f2f7e7c into pytorch:main Jan 21, 2025
45 of 47 checks passed
YIWENX14 pushed a commit that referenced this pull request Jan 28, 2025
Differential Revision: D68371513

Pull Request resolved: #7779
zonglinpeng pushed a commit to zonglinpeng/executorch that referenced this pull request Jan 30, 2025
Differential Revision: D68371513

Pull Request resolved: pytorch#7779
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported topic: not user facing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants