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: Memory Leak in BinaryPrecisionRecallCurve by Clearing Stored Predictions and Targets #2945

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

rittik9
Copy link
Contributor

@rittik9 rittik9 commented Feb 4, 2025

What does this PR do?

Fixes #2921

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 🙃
Used the solution proposed by @suahelen in #2921 with a little modification.


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

@rittik9 rittik9 marked this pull request as draft February 4, 2025 19:17
@rittik9 rittik9 marked this pull request as ready for review February 5, 2025 06:45
@rittik9 rittik9 marked this pull request as draft February 5, 2025 07:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Memory Leak in BinarPrecisionRecallCurve
1 participant