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

Can't run when using neural-tangents 0.3.2 #5

Open
EdgeLLM opened this issue Sep 1, 2020 · 4 comments
Open

Can't run when using neural-tangents 0.3.2 #5

EdgeLLM opened this issue Sep 1, 2020 · 4 comments

Comments

@EdgeLLM
Copy link

EdgeLLM commented Sep 1, 2020

When I use neural-tangents 0.3.2 to run the 1d_regression.ipynb, I got ValuError:
image

Could you help me with this?

@tancik
Copy link
Owner

tancik commented Sep 1, 2020

Yep, it looks like the neural_tangents 0.3.2 has some breaking changes. I updated the notebook to use version 0.2.2.

@fengzlj
Copy link

fengzlj commented Feb 7, 2021

Hello, When I use neural-tangents 0.2.2 to run the 1d_regression.ipynb, I got AttributeError: 'ShapedArray' object has no attribute 'val':
image
Could you help me with this?

@ShineChen1024
Copy link

Hello, When I use neural-tangents 0.2.2 to run the 1d_regression.ipynb, I got AttributeError: 'ShapedArray' object has no attribute 'val':
image
Could you help me with this?

you should try to use jax==0.1.76

@geyang
Copy link

geyang commented Sep 2, 2021

@chenshine1 when I use jax==0.1.76 I get the following error

<ipython-input-22-f42eedd5376b> in <module>()
----> 1 import jax
      2 from jax import random, grad, jit, vmap
      3 from jax.config import config
      4 from jax.lib import xla_bridge
      5 import jax.numpy as np

4 frames
/usr/local/lib/python3.7/dist-packages/jax/lib/__init__.py in <module>()
     58   pytree = xla_client._xla.pytree
     59   jax_jit = xla_client._xla.jax_jit
---> 60 from jaxlib import cusolver
     61 try:
     62   from jaxlib import cuda_prng

ImportError: cannot import name 'cusolver' from 'jaxlib' (/usr/local/lib/python3.7/dist-packages/jaxlib/__init__.py)

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