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

Clarify sox_effects.apply_effects_tensor as CPU-only in Doc #1459

Merged
merged 3 commits into from Apr 22, 2021

Conversation

krishnakalyan3
Copy link
Contributor

Copy link
Collaborator

@mthrok mthrok left a comment

Choose a reason for hiding this comment

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

Hi @krishnakalyan3

The change looks good. Can you also add Note: section to clarify it?

Say

    Note:
        This function only works on CPU Tensors.

Like in

Note:
You do not need to call this function manually. It is called automatically.

Copy link
Collaborator

@mthrok mthrok left a comment

Choose a reason for hiding this comment

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

Hi @krishnakalyan3

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.
Copy link
Collaborator

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.

Copy link
Contributor Author

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.

@mthrok mthrok merged commit d08c4ed into pytorch:master Apr 22, 2021
@krishnakalyan3 krishnakalyan3 deleted the sox_doc branch April 23, 2021 14:17
carolineechen pushed a commit to carolineechen/audio that referenced this pull request Apr 30, 2021
mthrok pushed a commit to mthrok/audio that referenced this pull request Dec 13, 2022
* 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>
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.

None yet

3 participants