-
Notifications
You must be signed in to change notification settings - Fork 8
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
fix ValueError: invalid literal for int() with base 10 #20
Comments
How is torch being installed? Also, it seems that the real underlying issue is that we're using more information than we need to in order to figure out what potri is being called by PyTorch. If all we grabbed was the major and minor version eg _torch_majorminor = [int(s) for s in torch.__version__.split(".")[:2]]
_potri = torch.cholesky_inverse if _torch_majorminor >= [1, 1] else torch.potri then we wouldn't need to hack the CUDA bit on the end. |
Hi Steven, |
Should be fixed in main now. @nanxu2 @gabrielraya go ahead and try it out and let me know if it fixes the issue (I can only guess the root cause is you're installing w/ e.g. I'll put this to PyPI in a new patch version if it fixes the issue. |
@sdatkinson Hi Steven, It fixed the issue. The code can properly work on my desktop now. Thank you so much. |
Glad to hear it :) |
I got this error

Apparently the fix is done by changing :
by
The text was updated successfully, but these errors were encountered: