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

ERROR: Failed building wheel for torchsearchsorted #24

Open
FarmerLiuAng opened this issue Jun 22, 2020 · 7 comments
Open

ERROR: Failed building wheel for torchsearchsorted #24

FarmerLiuAng opened this issue Jun 22, 2020 · 7 comments

Comments

@FarmerLiuAng
Copy link

At first, thank you for applying such good codes.
I followed the README step by step, but when I entered the torchsearchsorted folder, and use the 'pip install.' command, the warning above would appear. And it bothers me a lot.

@vincenthesiyuan
Copy link

I suffer from the same problem. but I am no idea to solve this.

@li195111
Copy link

because your environment not have GPU?

@gregfromstl
Copy link

I had this same problem. Luckily, this package's functionality is implemented in pytorch now. See https://pytorch.org/docs/stable/generated/torch.searchsorted.html

@yzy1996
Copy link

yzy1996 commented Jan 10, 2021

I had this same problem. Luckily, this package's functionality is implemented in pytorch now. See https://pytorch.org/docs/stable/generated/torch.searchsorted.html

So we just need to change searchsorted to torch.searchsorted. Is it right?

@gregfromstl
Copy link

Yes @yzy1996

@aliutkus
Copy link
Owner

So, all good. Still, do you get gradient propagating right with torch.searchsorted ?

best

@philippwulff
Copy link

philippwulff commented May 20, 2022

In my code the conversion to torch.searchsorted went really smooth too :)

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

7 participants