Skip to content

[ET-VK][ez] Make sure vTensor is not referencing the global context #9458

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
Mar 20, 2025

Conversation

SS-JIA
Copy link
Contributor

@SS-JIA SS-JIA commented Mar 20, 2025

Stack from ghstack (oldest at bottom):

Context

Some functions in vTensor accidentally referenced the global context by calling context(); the correct thing to do is to use the context pointer associated with the vTensor by using storage_.context_ instead.

Differential Revision: D71560884

## Context

Some functions in `vTensor` accidentally referenced the global context by calling `context()`; the correct thing to do is to use the context pointer associated with the `vTensor` by using `storage_.context_` instead.

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

[ghstack-poisoned]
SS-JIA added a commit that referenced this pull request Mar 20, 2025
## Context

Some functions in `vTensor` accidentally referenced the global context by calling `context()`; the correct thing to do is to use the context pointer associated with the `vTensor` by using `storage_.context_` instead.

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

ghstack-source-id: 273023082
Pull Request resolved: #9458
Copy link

pytorch-bot bot commented Mar 20, 2025

🔗 Helpful Links

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

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

❌ 2 New Failures

As of commit 1f4b46a with merge base ea43453 (image):

NEW FAILURES - The following jobs have 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 Mar 20, 2025
@facebook-github-bot
Copy link
Contributor

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

Copy link

This PR needs a release notes: label

If your changes are user facing and intended to be a part of release notes, please use a label starting with release notes:.

If not, please add the topic: not user facing label.

To add a label, you can comment to pytorchbot, for example
@pytorchbot label "topic: not user facing"

For more information, see
https://github.com/pytorch/pytorch/wiki/PyTorch-AutoLabel-Bot#why-categorize-for-release-notes-and-how-does-it-work.

@facebook-github-bot facebook-github-bot merged commit 246c3d8 into gh/SS-JIA/198/base Mar 20, 2025
79 of 83 checks passed
@facebook-github-bot facebook-github-bot deleted the gh/SS-JIA/198/head branch March 20, 2025 19:38
kirklandsign pushed a commit that referenced this pull request Mar 20, 2025
…9469)

## Context

Some functions in `vTensor` accidentally referenced the global context by calling `context()`; the correct thing to do is to use the context pointer associated with the `vTensor` by using `storage_.context_` instead.

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

ghstack-source-id: 273023082
Pull Request resolved: #9458
oscarandersson8218 pushed a commit to oscarandersson8218/executorch that referenced this pull request Mar 21, 2025
…ytorch#9469)

## Context

Some functions in `vTensor` accidentally referenced the global context by calling `context()`; the correct thing to do is to use the context pointer associated with the `vTensor` by using `storage_.context_` instead.

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

ghstack-source-id: 273023082
Pull Request resolved: pytorch#9458
DannyYuyang-quic pushed a commit to CodeLinaro/executorch that referenced this pull request Apr 2, 2025
…ytorch#9469)

## Context

Some functions in `vTensor` accidentally referenced the global context by calling `context()`; the correct thing to do is to use the context pointer associated with the `vTensor` by using `storage_.context_` instead.

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

ghstack-source-id: 273023082
Pull Request resolved: pytorch#9458
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants