-
Notifications
You must be signed in to change notification settings - Fork 17
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
Mysterious and intermittent test failures #212
Labels
tests
Pertaining to SCICO tests
Comments
Minimal code to reproduce. In the file import jax
import jax.numpy as jnp
def test():
key = jax.random.PRNGKey(3)
v = jax.random.normal(shape=(32, 1), key=key)
svdU, svdS, svdV = jnp.linalg.svd(v, full_matrices=False)
x = svdU @ jnp.diag(svdS) @ svdV
sigma = jnp.linalg.svd(x, compute_uv=False)
assert len(sigma) == 1
test()
then try while python temp_svd.py
do
:
done and wait. On my machine, you get a failure eventually, say within 100 iterations. |
I have opened an issue with jax team on this: google/jax#9483 |
When/if this gets fixed on jax's side, let's revisit (probably roll back) #214. |
Revert the changes. |
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We have had occasional test failures: https://github.com/lanl/scico/runs/5062268572?check_suite_focus=true, https://github.com/lanl/scico/runs/5078490742?check_suite_focus=true
These involve
scico/test/test_functional.py
, and specificallyscico/test/test_functional.py::TestNormProx::test_prox[float32-0.01-NuclearNorm] and
scico/test/linop/test_optics.py::TestPropagator::test_prop_adjoint[FraunhoferPropagator-1]`. Search the very long stack trace for "typeerror:" to see what I think is the actual error.The text was updated successfully, but these errors were encountered: