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

Fix support for half precision + cpu in metrics requiring topk operator #2252

Merged
merged 10 commits into from
Dec 20, 2023

Conversation

SkafteNicki
Copy link
Member

@SkafteNicki SkafteNicki commented Dec 1, 2023

What does this PR do?

Fixes #2147

Before submitting
  • Was this discussed/agreed via a Github issue? (no need for typos and docs improvements)
  • Did you read the contributor guideline, Pull Request section?
  • Did you make sure to update the docs?
  • Did you write any new necessary tests?
PR review

Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.

Did you have fun?

Make sure you had fun coding 🙃


📚 Documentation preview 📚: https://torchmetrics--2252.org.readthedocs.build/en/2252/

@SkafteNicki SkafteNicki added the bug / fix Something isn't working label Dec 1, 2023
@SkafteNicki SkafteNicki added this to the v1.2.x milestone Dec 1, 2023
@mergify mergify bot added the has conflicts label Dec 1, 2023
@mergify mergify bot removed the has conflicts label Dec 3, 2023
Copy link
Member

@Borda Borda left a comment

Choose a reason for hiding this comment

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

lgtm :)

@Borda Borda merged commit a825d8a into master Dec 20, 2023
49 of 57 checks passed
@Borda Borda deleted the bugfix/topk_half_cpu_support branch December 20, 2023 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug / fix Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Half precision doesn't work with top_k > 1
3 participants