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

Add support for multiprocessing in PESQ #1227

Merged
merged 10 commits into from
Sep 16, 2022

Conversation

SkafteNicki
Copy link
Member

@SkafteNicki SkafteNicki commented Sep 15, 2022

What does this PR do?

Fixes #1223
Add support for multiprocessing in PESQ metric for batched input.

Before submitting

  • Was this discussed/approved 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 🙃

@SkafteNicki SkafteNicki added the enhancement New feature or request label Sep 15, 2022
@SkafteNicki SkafteNicki added this to the v0.11 milestone Sep 15, 2022
@SkafteNicki SkafteNicki requested a review from Borda as a code owner September 15, 2022 12:50
@mergify mergify bot removed the has conflicts label Sep 15, 2022
@codecov
Copy link

codecov bot commented Sep 15, 2022

Codecov Report

Merging #1227 (235b946) into master (5659805) will increase coverage by 0%.
The diff coverage is 92%.

@@          Coverage Diff           @@
##           master   #1227   +/-   ##
======================================
  Coverage      86%     86%           
======================================
  Files         191     191           
  Lines       11325   11332    +7     
======================================
+ Hits         9703    9709    +6     
- Misses       1622    1623    +1     

src/torchmetrics/audio/pesq.py Outdated Show resolved Hide resolved
src/torchmetrics/functional/audio/pesq.py Outdated Show resolved Hide resolved
src/torchmetrics/audio/pesq.py Outdated Show resolved Hide resolved
Copy link
Contributor

@stancld stancld left a comment

Choose a reason for hiding this comment

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

Except for two @Borda's comments, LGTM. 👍

@mergify mergify bot added the ready label Sep 15, 2022
@SkafteNicki SkafteNicki enabled auto-merge (squash) September 16, 2022 11:46
@mergify mergify bot removed the ready label Sep 16, 2022
@mergify mergify bot added the ready label Sep 16, 2022
@Borda
Copy link
Member

Borda commented Sep 16, 2022

@SkafteNicki seems flaky time/speed-up tests for the latest Mac... 🦦

@SkafteNicki SkafteNicki merged commit fbe06ef into master Sep 16, 2022
@SkafteNicki SkafteNicki deleted the feature/multiprocessing_pesq branch September 16, 2022 18:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Slower performance for Torchmetrics PESQ
3 participants