Skip to content

Fix lift_constant_tensor_pass to make sure constants are not inserted in the state dict #2558

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

tarun292
Copy link
Contributor

Differential Revision: D55175415

Copy link

pytorch-bot bot commented Mar 21, 2024

🔗 Helpful Links

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

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

✅ No Failures

As of commit 10d61f0 with merge base 95b0daa (image):
💚 Looks good so far! There are no failures yet. 💚

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

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

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

facebook-github-bot pushed a commit that referenced this pull request Mar 25, 2024
… in the state dict (#2558)

Summary: Pull Request resolved: #2558

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

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

facebook-github-bot pushed a commit that referenced this pull request Mar 25, 2024
… in the state dict (#2558)

Summary: Pull Request resolved: #2558

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

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

facebook-github-bot pushed a commit that referenced this pull request Mar 25, 2024
… in the state dict (#2558)

Summary:

Currently in `lift_tensor_constant_pass` the lifted constants are being placed in the state dict which is the wrong place for them. They should be inserted in the `constants` section of the `ExportedProgram` which this diff addresses.

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

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

tarun292 added a commit that referenced this pull request Mar 25, 2024
… in the state dict (#2558)

Summary:

Currently in `lift_tensor_constant_pass` the lifted constants are being placed in the state dict which is the wrong place for them. They should be inserted in the `constants` section of the `ExportedProgram` which this diff addresses.

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

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

facebook-github-bot pushed a commit that referenced this pull request Mar 25, 2024
… in the state dict (#2558)

Summary:

Currently in `lift_tensor_constant_pass` the lifted constants are being placed in the state dict which is the wrong place for them. They should be inserted in the `constants` section of the `ExportedProgram` which this diff addresses.

Reviewed By: angelayi

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

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

tarun292 added a commit that referenced this pull request Mar 25, 2024
… in the state dict (#2558)

Summary:

Currently in `lift_tensor_constant_pass` the lifted constants are being placed in the state dict which is the wrong place for them. They should be inserted in the `constants` section of the `ExportedProgram` which this diff addresses.

Reviewed By: angelayi

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

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

facebook-github-bot pushed a commit that referenced this pull request Mar 28, 2024
… in the state dict (#2558)

Summary:

Currently in `lift_tensor_constant_pass` the lifted constants are being placed in the state dict which is the wrong place for them. They should be inserted in the `constants` section of the `ExportedProgram` which this diff addresses.

Reviewed By: angelayi

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

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

tarun292 added a commit that referenced this pull request Mar 28, 2024
… in the state dict (#2558)

Summary:

Currently in `lift_tensor_constant_pass` the lifted constants are being placed in the state dict which is the wrong place for them. They should be inserted in the `constants` section of the `ExportedProgram` which this diff addresses.

Reviewed By: angelayi

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

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

facebook-github-bot pushed a commit that referenced this pull request Mar 28, 2024
… in the state dict (#2558)

Summary:

Currently in `lift_tensor_constant_pass` the lifted constants are being placed in the state dict which is the wrong place for them. They should be inserted in the `constants` section of the `ExportedProgram` which this diff addresses.

Reviewed By: angelayi

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

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

… in the state dict (#2558)

Summary:

Currently in `lift_tensor_constant_pass` the lifted constants are being placed in the state dict which is the wrong place for them. They should be inserted in the `constants` section of the `ExportedProgram` which this diff addresses.

Reviewed By: angelayi

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

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

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in a624345.

@facebook-github-bot
Copy link
Contributor

This pull request has been reverted by dc909be.

dbort pushed a commit to dbort/executorch that referenced this pull request Mar 30, 2024
… in the state dict (pytorch#2558)

Summary:
Pull Request resolved: pytorch#2558

Currently in `lift_tensor_constant_pass` the lifted constants are being placed in the state dict which is the wrong place for them. They should be inserted in the `constants` section of the `ExportedProgram` which this diff addresses.

Reviewed By: angelayi

Differential Revision: D55175415

fbshipit-source-id: afe7f4df94f89de6d0c43dab824c498567a6b21f
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 Merged Reverted
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants