[feat] Add performance and separation quality benchmarks#9
Open
dhunstack wants to merge 2 commits intomixxxdj:mainfrom
Open
[feat] Add performance and separation quality benchmarks#9dhunstack wants to merge 2 commits intomixxxdj:mainfrom
dhunstack wants to merge 2 commits intomixxxdj:mainfrom
Conversation
Add Cpp scripts for running inference on ONNX exported Demucs Signed-off-by: Anmol Mishra <anmolmishra1997@gmail.com>
Add benchmarking for PyTorch Demucs and C++ ONNX scripts - - Separation quality using SI-SDR - Performance metrics on CPU Signed-off-by: Anmol Mishra <anmolmishra1997@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add benchmarking for PyTorch Demucs and C++ ONNX scripts -
CPU Performance Comparison
Processing Speed
Audio Quality (SI-SDR in dB)
Summary Statistics
Key Findings
The results demonstrate that the ONNX export successfully maintains the audio quality while providing performance improvements for deployment scenarios.
GPU Performance Comparison
Unlike the CPU comparison which uses C++, this ONNX inference was done on Python using ONNXRuntime.
Processing Speed
Audio Quality (SI-SDR in dB)
Summary Statistics
Key Findings
The results show that on GPU, PyTorch maintains a performance advantage while both models deliver comparable audio quality.