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
Apply module availability guard to soundfile backend #696
Conversation
4940d54
to
645412c
Compare
Codecov Report
@@ Coverage Diff @@
## master #696 +/- ##
=======================================
Coverage 89.28% 89.29%
=======================================
Files 23 23
Lines 2333 2335 +2
=======================================
+ Hits 2083 2085 +2
Misses 250 250
Continue to review full report at Codecov.
|
4f0eb28
to
28877e7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
from torchaudio._internal import misc_ops as _misc_ops | ||
from torchaudio._internal import ( | ||
module_utils as _mod_utils, | ||
misc_ops as _misc_ops, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: this was like this before, but this is not used in the file at all?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
both of them are used. otherwise flake8 job would fail.
_misc_ops.check_input(src)
is used in save
function.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good point :)
Thanks! |
No description provided.