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

qpth Error: Cannot perform LU factorization on Q. #37

Open
Ze-Yang opened this issue Jan 17, 2020 · 4 comments
Open

qpth Error: Cannot perform LU factorization on Q. #37

Ze-Yang opened this issue Jan 17, 2020 · 4 comments

Comments

@Ze-Yang
Copy link

Ze-Yang commented Jan 17, 2020

Pytorch 1.0.1. Still have this problem with RTX2080ti.

@WHQ1111
Copy link

WHQ1111 commented Feb 9, 2020

Pytorch 1.3.1 + Python 3.6 have same problem.

@kjunelee
Copy link
Owner

I am not sure why this happens. FYI, I am able to run the code with qpth 0.0.13.

@cryu854
Copy link

cryu854 commented Jun 7, 2020

Upgrade the version of qpth might be work.
my packages: Python3.7.6 + Pytorch 1.2.0 + qpth 0.015

@psandovalsegura
Copy link

The suggestion by @cryu854 seems to have worked for me (using torch==1.2.0 and qpth==0.0.15). The script runs now, but there are a number of other warnings like:

/pytorch/torch/csrc/autograd/python_function.cpp:638: UserWarning: Legacy autograd function with non-static forward method is deprecated and will be removed in 1.3. Please use new-style autograd function with static forward method. (Example: https://pytorch.org/docs/stable/autograd.html#torch.autograd.Function)
/pytorch/aten/src/ATen/native/IndexingUtils.h:20: UserWarning: indexing with dtype torch.uint8 is now deprecated, please use a dtype torch.bool instead.
/pytorch/aten/src/ATen/native/BatchLinearAlgebra.cpp:1162: UserWarning: Passing RHS tensor with number of dimensions = 2 is deprecated, and will be removed in the next release. Please unsqueeze the last dimension to obtain an RHS tensor with number of right hand sides = 1

Not sure if any of these impact the correctness of training.

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

5 participants