Skip to content
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

Clean up portable op_topk #7528

Merged
merged 1 commit into from
Jan 7, 2025

Conversation

swolchok
Copy link
Contributor

@swolchok swolchok commented Jan 6, 2025

Stack from ghstack (oldest at bottom):

The comparison function was repeated several times. Factor it out.

Differential Revision: D67875394

The comparison function was repeated several times. Factor it out.

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

[ghstack-poisoned]
Copy link

pytorch-bot bot commented Jan 6, 2025

🔗 Helpful Links

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

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

✅ No Failures

As of commit 9f3b0f1 with merge base 7a2dc47 (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 Jan 6, 2025
swolchok added a commit that referenced this pull request Jan 6, 2025
The comparison function was repeated several times. Factor it out.

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

ghstack-source-id: 260406714
Pull Request resolved: #7528
@facebook-github-bot
Copy link
Contributor

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

Copy link
Contributor

@manuelcandales manuelcandales left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice refactor!

@facebook-github-bot facebook-github-bot merged commit da72e68 into gh/swolchok/123/base Jan 7, 2025
45 of 48 checks passed
@facebook-github-bot facebook-github-bot deleted the gh/swolchok/123/head branch January 7, 2025 17:23
@JacobSzwejbka JacobSzwejbka self-requested a review January 7, 2025 17:28
JacobSzwejbka pushed a commit that referenced this pull request Jan 7, 2025
The comparison function was repeated several times. Factor it out.

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

ghstack-source-id: 260406714
Pull Request resolved: #7528

Co-authored-by: Scott Wolchok <[email protected]>
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