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

torch.linalg was deprecated #4

Closed
kamo-naoyuki opened this issue Aug 29, 2022 · 3 comments
Closed

torch.linalg was deprecated #4

kamo-naoyuki opened this issue Aug 29, 2022 · 3 comments

Comments

@kamo-naoyuki
Copy link

Could you update to use torch.linalg.sovle for pytorch>=1.9?

lib/python3.8/site-packages/ci_sdr/pt/wiener_filter.py:371: in wiener_filter_predict_single_input
    w, _ = torch.solve(p[..., None], R)
    def solve(input: Tensor, A: Tensor, *, out=None) -> Tuple[Tensor, Tensor]:
>       raise RuntimeError(
            "This function was deprecated since version 1.9 and is now removed. Please use the `torch.linalg.solve` function instead.",
        )
E       RuntimeError: This function was deprecated since version 1.9 and is now removed. Please use the `torch.linalg.solve` function instead.
@boeddeker
Copy link
Member

Thank you for reporting. I will fix it this week.

@boeddeker
Copy link
Member

Sorry for the delay, it took more time than expected (Python3.7 and recent Torch yield a Segmentation Fault).
The fix is in #5, and I uploaded it to PyPI as version 0.0.2.

@kamo-naoyuki
Copy link
Author

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants