-
Notifications
You must be signed in to change notification settings - Fork 164
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
PyTorch module emits UserWarning #66
Comments
It'd also be cool if you could release v0.0.8 in PyPI which contains the |
I published that torch code, because the pytorch people wanted to have an example, that uses complex numbers. In General, I would recommend using the numpy code instead of the torch code, it is
Nevertheless, I should fix the torch code in nara_wpe. With the newer torch versions, all required operations are implemented. |
Thank you! BTW You might find it interesting -- I performed a simple benchmark on a single utterance with Jupyter's |
The conjugate should not have this effect. I think it comes from the solve operation or the memory view. Pytorch does not support negative strides, hence I used a view that does not match the theory, but produces the correct final result. |
I'll try to find a moment to post it tomorrow. |
I fixed the torch wpe code, removed several deprecation warnings and pushed a new version to PyPI. Thanks for sharing the notebook. I am not yet sure, when I find the time to check it and see if I can speedup the numpy code. |
Thanks! |
When running
nara_wpe.torch_wpe.wpe_v6
with PyTorch 1.11, I'm seeing the following warning:It seems modifying
G, _ = torch.solve(P, R)
toG = torch.linalg.solve(R, P)
does the trick.The text was updated successfully, but these errors were encountered: