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.cholesky warnings #4

Open
ry-jojo opened this issue Oct 5, 2022 · 2 comments
Open

torch.linalg.cholesky warnings #4

ry-jojo opened this issue Oct 5, 2022 · 2 comments

Comments

@ry-jojo
Copy link

ry-jojo commented Oct 5, 2022

Hi Joakim,
When training on 10shot, I am facing with warnings like the below:

WARNING batched routines are designed for small sizes. It might be better to use the
Native/Hybrid classical routines if you want good performance.

I think this warning comes from the torch.linalg.cholesky(K_ss), when K_ss's largest size() > 2048.

May I know how you deal with this warning during training? Thanks in advance!

@joakimjohnander
Copy link
Owner

Hey,

Unfortunately, we have no simple fix that removes the warning. It seems to stem from a package, magma, that is called by PyTorch.

Best regards,
Joakim

@Parskatt
Copy link

@ry-jojo You can do a for-loop instead. Not sure about the performance loss/gains.

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

3 participants