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

AttributeError when running EvoBind in colab notebook #29

Open
PepKindaChemist opened this issue Dec 9, 2024 · 4 comments
Open

AttributeError when running EvoBind in colab notebook #29

PepKindaChemist opened this issue Dec 9, 2024 · 4 comments

Comments

@PepKindaChemist
Copy link

Hello Patrick, hope this message finds you well. When trying to use EvoBind on colab notebook, I keep running into an attribute error as follows:

AttributeError Traceback (most recent call last)
in <cell line: 27>()
25
26
---> 27 from mc_design_colab import main
28 MAX_RECYCLES=8 #max_recycles (default=3)
29 MODEL_NAME='model_1' #model_1_ptm

8 frames
/usr/local/lib/python3.10/dist-packages/jax/_src/deprecations.py in getattr(name)
50 message, fn = deprecations[name]
51 if fn is None: # Is the deprecation accelerated?
---> 52 raise AttributeError(message)
53 warnings.warn(message, DeprecationWarning, stacklevel=2)
54 return fn

AttributeError: jax.interpreters.xla.xe was removed in JAX v0.4.36. Use jax.lib.xla_extension instead.

I'm not sure if I need to update anything with the dependencies, or if an update broke the code.
Thanks!

@salvatta2
Copy link

Hi, I get also the same error. Has anyone found a solution to this?
Thanks

@patrickbryant1
Copy link
Owner

Hi, this is probably an issue due to jax updates. We will look into providing a fix in the coming weeks.

@salvatta2
Copy link

salvatta2 commented Dec 28, 2024 via email

@PepKindaChemist
Copy link
Author

Thanks for the update @patrickbryant1, much appreciated!

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

3 participants