Skip to content

Conversation

SS-JIA
Copy link
Contributor

@SS-JIA SS-JIA commented Oct 28, 2024

Stack from ghstack (oldest at bottom):

Context

As title. There was a small error in the operator benchmark code generation which impacted operators which return a collection of tensors (e.g. layer norm). The issue was that the generated code would store the output ValueRefs in variables that shadowed class variables of the benchmark.

Differential Revision: D65071024

## Context

As title. There was a small error in the operator benchmark code generation which impacted operators which return a collection of tensors (e.g. layer norm). The issue was that the generated code would store the output `ValueRefs` in variables that shadowed class variables of the benchmark.

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

[ghstack-poisoned]
Copy link

pytorch-bot bot commented Oct 28, 2024

🔗 Helpful Links

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

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

✅ No Failures

As of commit 791cbfc with merge base 9890c24 (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 the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Oct 28, 2024
@facebook-github-bot
Copy link
Contributor

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

SS-JIA added a commit that referenced this pull request Oct 28, 2024
## Context

As title. There was a small error in the operator benchmark code generation which impacted operators which return a collection of tensors (e.g. layer norm). The issue was that the generated code would store the output `ValueRefs` in variables that shadowed class variables of the benchmark.

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

ghstack-source-id: 250448840
Pull Request resolved: #6527
@facebook-github-bot facebook-github-bot merged commit a52bfa6 into gh/SS-JIA/129/base Oct 28, 2024
48 checks passed
@facebook-github-bot facebook-github-bot deleted the gh/SS-JIA/129/head branch October 28, 2024 18:19
SS-JIA added a commit that referenced this pull request Oct 28, 2024
## Context

As title. There was a small error in the operator benchmark code generation which impacted operators which return a collection of tensors (e.g. layer norm). The issue was that the generated code would store the output `ValueRefs` in variables that shadowed class variables of the benchmark.

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

ghstack-source-id: 250448840
Pull Request resolved: #6527

Co-authored-by: Stephen Jia <ssjia@meta.com>
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