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

Test hangs on GPU with jaxlib 0.4.2 #378

Closed
bwohlberg opened this issue Feb 2, 2023 · 3 comments · Fixed by #399
Closed

Test hangs on GPU with jaxlib 0.4.2 #378

bwohlberg opened this issue Feb 2, 2023 · 3 comments · Fixed by #399
Labels
bug Something isn't working tests Pertaining to SCICO tests

Comments

@bwohlberg
Copy link
Collaborator

In scico/test/test_solver.py, the test test_minimize (to be renamed test_minimize_vector in an upcoming PR) hangs at the line

out = solver.minimize(f, x0=snp.zeros_like(x), method=method)

when run on a GPU device with jaxlib 0.4.2. It does not hang on the same device with jaxlib 0.3.15.

@bwohlberg bwohlberg added bug Something isn't working tests Pertaining to SCICO tests labels Feb 2, 2023
@Sibgatulin
Copy link
Contributor

While I recognise that scico supports jax{,lib} <= 0.4.2, I gave it a try with jax==0.4.8 and jaxlib==0.4.7+cuda11.cudnn86 and the test in question runs just fine (with a few unrelated warnings) while hanging on jaxlib 0.4.2. with the same local cuda==11.8.0 and cudnn=8.6.0). Just thought I chime in in case it may be helpful.

@bwohlberg
Copy link
Collaborator Author

Thanks for pointing this out. That certainly is useful to know - if some version of jaxlib later than 0.4.2 resolves the problem then we can resolve this issue by simply bumping the minimum supported version. (The jaxlib / jax versions you mentioned will soon be included in the supported version range -- see PR #390.)

@bwohlberg
Copy link
Collaborator Author

In fact, this seems to have been fixed as far back as 0.4.3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working tests Pertaining to SCICO tests
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants