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
Clarify sox_effects.apply_effects_tensor
as CPU-only in Doc
#1459
Conversation
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.
The change looks good. Can you also add Note:
section to clarify it?
Say
Note:
This function only works on CPU Tensors.
Like in
audio/torchaudio/sox_effects/sox_effects.py
Lines 14 to 17 in 14dd917
Note: | |
You do not need to call this function manually. It is called automatically. | |
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.
Thanks for the update, but the note is being added to a different function.
@@ -14,6 +14,7 @@ def init_sox_effects(): | |||
|
|||
Note: | |||
You do not need to call this function manually. It is called automatically. | |||
This function only works on CPU Tensors. |
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.
This is not the right function. The note has to be added to apply_effects_tensor
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.
Ah got a bit confused. Should have read your comments carefully.
* Fix bugs in pipeline tutorial with respect to batch size. Summary: As described in pytorch/pytorch#55036, certain modules were not handling batch size correctly. * Rebase Co-authored-by: pritam <pritam.damania@fb.com> Co-authored-by: Brian Johnson <brianjo@fb.com>
#1456