-
Notifications
You must be signed in to change notification settings - Fork 29
extract_f0_print.py
torch.nn.utils.weight_norm deprecation warnings
#29
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
Comments
I will do this when I refactor training. |
Removing the deprecation warning is understandable to stay current, but I have to rely on an older build of PyTorch (2.0.0) with ROCm acceleration (5.2) to enable local training on my AMD RX 5000 series GPU. This is the latest official build without resorting to compilation from source. It's a breaking change I'm certain nobody wants in their environment, but I have a Docker container that holds my custom build of the newest PyTorch and ROCm 5.4 to keep up with development. This removal requires PyTorch 2.1+, which doesn't have wheels with the ROCm version I need. |
Thanks for your mention. I will add a try-except fallback. |
Hmm... I guess we should stick to it for now, the plans to remove the Please keep us informed on the matter. |
I'm not sure what you mean by "until torch has been updated for ROCm"? Well, my custom build with the newest PyTorch and ROCm 5.4 runs perfectly fine with my card, even without the I'd say use |
In this case, the try-except fallback can be a good trade-off. |
Warnings
Are being spewed out during feature extraction
Fix for that should be relatively easy, just replacing
torch.nn.utils.weight_norm
totorch.nn.utils.parametrizations.weight_norm
The text was updated successfully, but these errors were encountered: