google-deepmind / google-deepmind/materials_discovery

How can I solve my errors and run successfully

Open
#20 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
1.2k
Forks
197
PR merge metrics
No merged PRs in 30d

Description

Hello Sir/ Ma'am,

I'm writing to request assistance with running JAX-MD in a Colab notebook. I've successfully installed the Jax-MD libraries, but I'm encountering errors.

Could you please help me troubleshoot the errors and guide me on successfully running JAX-MD in a Colab notebook environment?

If possible, could you also advise on the specific error message I'm encountering (once I provide it)?

Thank you for your time and support.

Error in crystal.ipynb


![Screenshot from 2024-05-02 11-21-56](https://github.com/google-deepmind/materials_discovery/assets/168707659/7b82f6c5-032b-466d-95aa-1639167a6928)

gnome.ipynb

![Screenshot from 2024-05-02 11-33-15](https://github.com/google-deepmind/materials_discovery/assets/168707659/8f4288f2-01c9-42ab-878e-1c2e79f6c943)

util.ipynb

ModuleNotFoundError Traceback (most recent call last)

[](https://localhost:8080/#) in ()
21 from jax.nn import initializers
22 import jax.numpy as jnp
---> 23 from jax_md import energy
24 from jax_md import partition
25 from jax_md import util

1 frames

[/usr/local/lib/python3.10/dist-packages/jax_md/__init__.py](https://localhost:8080/#) in
13 # limitations under the License.
14
---> 15 from jax_md import space
16 from jax_md import energy
17 from jax_md import minimize

[/usr/local/lib/python3.10/dist-packages/jax_md/space.py](https://localhost:8080/#) in
33 from typing import Callable, Union, Tuple, Any
34
---> 35 from jax.abstract_arrays import ShapedArray
36
37 from jax import eval_shape

ModuleNotFoundError: No module named 'jax.abstract_arrays'

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.