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

Make rankme work with lightning #19

Open
dungscout96 opened this issue Feb 16, 2025 · 1 comment
Open

Make rankme work with lightning #19

dungscout96 opened this issue Feb 16, 2025 · 1 comment

Comments

@dungscout96
Copy link
Collaborator

Currently we're receiving error when running rankme.compute()

  File "/home/dung/eeg-ssl/libs/evaluation.py", line 31, in compute
    _, S, _ = torch.linalg.svd(embs)
RuntimeError: cusolver error: CUSOLVER_STATUS_INVALID_VALUE, when calling `cusolverDnSgesvdj_bufferSize(handle, jobz, econ, m, n, A, lda, S, U, ldu, V, ldv, lwork, params)`. If you keep seeing this error, you may use `torch.backends.cuda.preferred_linalg_library()` to try linear algebra operators with other supported backends. See https://pytorch.org/docs/stable/backends.html#torch.backends.cuda.preferred_linalg_library
@dungscout96
Copy link
Collaborator Author

this seems to only break with large batch size. Pattern for initializing and running multiple evaluators is implemented in ffc775d

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

1 participant