-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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
TestSpectralOps tests incompatible with updated librosa 0.9.0 #72550
Comments
@peterbell10 would you take a look at the librosa update and check the following:
Follow-up question: should we be looking at implementing |
Closes #72550 The latest version of librosa breaks backward compatibility in two ways: - Everything except the input tensor is now keyword-only - `pad_mode` now defaults to `'constant'` for zero-padding https://librosa.org/doc/latest/generated/librosa.stft.html This changes the test to match the old behaior even when using the new library and updates the documentation to explicitly say that `torch.stft` doesn't exactly follow the librosa API. This was always true (`torch.stft` it has new arguments, a different default window and supports complex input), but it can't hurt to be explicit. [ghstack-poisoned]
Closes #72550 The latest version of librosa breaks backward compatibility in two ways: - Everything except the input tensor is now keyword-only - `pad_mode` now defaults to `'constant'` for zero-padding https://librosa.org/doc/latest/generated/librosa.stft.html This changes the test to match the old behaior even when using the new library and updates the documentation to explicitly say that `torch.stft` doesn't exactly follow the librosa API. This was always true (`torch.stft` it has new arguments, a different default window and supports complex input), but it can't hurt to be explicit. [ghstack-poisoned]
This discussion has come up before and the decision was to maintain the existing |
…est librosa" Closes #72550 The latest version of librosa breaks backward compatibility in two ways: - Everything except the input tensor is now keyword-only - `pad_mode` now defaults to `'constant'` for zero-padding https://librosa.org/doc/latest/generated/librosa.stft.html This changes the test to match the old behaior even when using the new library and updates the documentation to explicitly say that `torch.stft` doesn't exactly follow the librosa API. This was always true (`torch.stft` it has new arguments, a different default window and supports complex input), but it can't hurt to be explicit. [ghstack-poisoned]
Closes #72550 The latest version of librosa breaks backward compatibility in two ways: - Everything except the input tensor is now keyword-only - `pad_mode` now defaults to `'constant'` for zero-padding https://librosa.org/doc/latest/generated/librosa.stft.html This changes the test to match the old behaior even when using the new library and updates the documentation to explicitly say that `torch.stft` doesn't exactly follow the librosa API. This was always true (`torch.stft` it has new arguments, a different default window and supports complex input), but it can't hurt to be explicit. [ghstack-poisoned]
Closes #72550 The latest version of librosa breaks backward compatibility in two ways: - Everything except the input tensor is now keyword-only - `pad_mode` now defaults to `'constant'` for zero-padding https://librosa.org/doc/latest/generated/librosa.stft.html This changes the test to match the old behaior even when using the new library and updates the documentation to explicitly say that `torch.stft` doesn't exactly follow the librosa API. This was always true (`torch.stft` it has new arguments, a different default window and supports complex input), but it can't hurt to be explicit. [ghstack-poisoned]
Closes #72550 The latest version of librosa breaks backward compatibility in two ways: - Everything except the input tensor is now keyword-only - `pad_mode` now defaults to `'constant'` for zero-padding https://librosa.org/doc/latest/generated/librosa.stft.html This changes the test to match the old behaior even when using the new library and updates the documentation to explicitly say that `torch.stft` doesn't exactly follow the librosa API. This was always true (`torch.stft` it has new arguments, a different default window and supports complex input), but it can't hurt to be explicit. [ghstack-poisoned]
Closes #72550 The latest version of librosa breaks backward compatibility in two ways: - Everything except the input tensor is now keyword-only - `pad_mode` now defaults to `'constant'` for zero-padding https://librosa.org/doc/latest/generated/librosa.stft.html This changes the test to match the old behaior even when using the new library and updates the documentation to explicitly say that `torch.stft` doesn't exactly follow the librosa API. This was always true (`torch.stft` it has new arguments, a different default window and supports complex input), but it can't hurt to be explicit. [ghstack-poisoned]
Closes #72550 The latest version of librosa breaks backward compatibility in two ways: - Everything except the input tensor is now keyword-only - `pad_mode` now defaults to `'constant'` for zero-padding https://librosa.org/doc/latest/generated/librosa.stft.html This changes the test to match the old behaior even when using the new library and updates the documentation to explicitly say that `torch.stft` doesn't exactly follow the librosa API. This was always true (`torch.stft` it has new arguments, a different default window and supports complex input), but it can't hurt to be explicit. [ghstack-poisoned]
Closes #72550 The latest version of librosa breaks backward compatibility in two ways: - Everything except the input tensor is now keyword-only - `pad_mode` now defaults to `'constant'` for zero-padding https://librosa.org/doc/latest/generated/librosa.stft.html This changes the test to match the old behaior even when using the new library and updates the documentation to explicitly say that `torch.stft` doesn't exactly follow the librosa API. This was always true (`torch.stft` it has new arguments, a different default window and supports complex input), but it can't hurt to be explicit. [ghstack-poisoned]
Closes #72550 The latest version of librosa breaks backward compatibility in two ways: - Everything except the input tensor is now keyword-only - `pad_mode` now defaults to `'constant'` for zero-padding https://librosa.org/doc/latest/generated/librosa.stft.html This changes the test to match the old behaior even when using the new library and updates the documentation to explicitly say that `torch.stft` doesn't exactly follow the librosa API. This was always true (`torch.stft` it has new arguments, a different default window and supports complex input), but it can't hurt to be explicit. [ghstack-poisoned]
Summary: Pull Request resolved: #72833 Closes #72550 The latest version of librosa breaks backward compatibility in two ways: - Everything except the input tensor is now keyword-only - `pad_mode` now defaults to `'constant'` for zero-padding https://librosa.org/doc/latest/generated/librosa.stft.html This changes the test to match the old behaior even when using the new library and updates the documentation to explicitly say that `torch.stft` doesn't exactly follow the librosa API. This was always true (`torch.stft` it has new arguments, a different default window and supports complex input), but it can't hurt to be explicit. Test Plan: Imported from OSS Reviewed By: ngimel Differential Revision: D34386897 Pulled By: mruberry fbshipit-source-id: 6adc23f48fcb368dacf70602e9197726d6b7e0c1
🐛 Describe the bug
For context see: #72432
The tests were green after I pinned the library #72433.
Versions
CI
cc @ezyang @gchanan @zou3519 @mruberry @peterbell10
The text was updated successfully, but these errors were encountered: