alphafold icon indicating copy to clipboard operation
alphafold copied to clipboard

jax.tree_util.tree_multimap() is deprecated

Open MWNautilus opened this issue 2 years ago • 13 comments

I got the follwoing messenge in cell 5 (run alphafold & relax with AMBER):

/usr/local/lib/python3.7/dist-packages/jax/_src/tree_util.py:189: FutureWarning: jax.tree_util.tree_multimap() is deprecated. Please use jax.tree_util.tree_map() instead as a drop-in replacement. 'instead as a drop-in replacement.', FutureWarning)

Any idea what exactly the issue is? -Michael.

MWNautilus avatar May 05 '22 08:05 MWNautilus

I've got the same issue.

polinanvkv avatar May 05 '22 13:05 polinanvkv

I also have the same issue, help welcome!

watso141 avatar May 19 '22 17:05 watso141

Hi, this is just a warning message - you can safely ignore it. We'll fix it (by moving to tree_map) at some point.

tfgg avatar May 19 '22 18:05 tfgg

Thank you for getting back to me so fast! Ok that's good info, for some reason the run still halts every time I try to run the Collab notebook, usually very close to it finishing section 5. Here is a screenshot of the run I just tried to complete, please let me know if there is anything I can do to help or anything I am doing incorrectly. Thanks!

[image: image.png]

On Thu, May 19, 2022, 2:38 PM Tim Green @.***> wrote:

Hi, this is just a warning message - you can safely ignore it. We'll fix it (by moving to tree_map) at some point.

— Reply to this email directly, view it on GitHub https://github.com/deepmind/alphafold/issues/456#issuecomment-1132067557, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZHZQDJUUVCV7H2YIA42OH3VK2DDZANCNFSM5VELLKEA . You are receiving this because you commented.Message ID: @.***>

watso141 avatar May 20 '22 17:05 watso141

AF Error I am trying to run a prediction and get this same error and the message that minimization timed out. I am not sure what i am doing wrong or if i am doing anything wrong in the first place. Can someone assist me with this issue? It has been happening to me the past 24 hours and it usually occurs when it is on its last relaxation which makes it all the more frustrating.

Any assistance is appreciated. Joey

Joey305 avatar May 20 '22 22:05 Joey305

image This is the new error message i am getting. I do not know what the issue is but i would appreciate some assistance with getting AlphaFold to work properly.

Joey305 avatar May 20 '22 23:05 Joey305

I was able to complete my run without relaxation, still not sure what is preventing the colab notebook from doing the relaxation step, hopefully someone knowledgeable gets a chance to look at the screenshots above

watso141 avatar May 23 '22 15:05 watso141

Hi @Joey305, I get the same error, first, it was the error about the relaxation, I defined run_relax = False and it solved that problem, however now I get the error of "A UTF-8 locale is required. Got ANSI_X3.4-1968". Have you been able to solve that error? Can you help me with this issue?

AngieSanchez avatar May 23 '22 22:05 AngieSanchez

Hi Angie, you caught me just as i was about to wrap up my day so i am glad i am able to respond promptly. I have not been able to solve this issue, even when i run the prediction from 3 different computers using different sequences. I originally thought it was an issue with my sequences but when i ran predictions i had previously done and got this same error, i knew it was not a me issue and that (from my deep dive into googling this issue) that for some reason the back end of the software isn't connecting to the drivers that it needs to connect and it is kicking out the predictions right before they finish. I am thinking it might be a ploy by DeepMind/Google to get us to subscribe to Collab Pro because i am sure that it will most likely magically fix my issues if i pay for the service instead of using it for free! Just my two cents at least, whatever its good for!

Joey305 avatar May 23 '22 22:05 Joey305

Umm Ok, Thank you anyway. I will let you know if I can solve it.

AngieSanchez avatar May 23 '22 22:05 AngieSanchez

Are you guys sure all these AMBER-related postings you have added still belong to the initial issue I had posted here in my first note? If not, please delete these or move them to a new thread to keep things organized. -Michael

MWNautilus avatar May 24 '22 11:05 MWNautilus

i have the same problem...unfortunately the analysis seems to be interrupted shortly before finishing and everything is gone. Do you know how to fix this? Bildschirmfoto 2022-05-24 um 12 53 46 Bildschirmfoto 2022-05-24 um 10 34 30

cheesio-lab avatar May 25 '22 09:05 cheesio-lab

also this always occurs... can anybody help me?

Bildschirmfoto 2022-05-25 um 15 22 56

cheesio-lab avatar May 25 '22 13:05 cheesio-lab

Hi thanks for raising this issue! This duplicates a few issues such as https://github.com/deepmind/alphafold/issues/483 and https://github.com/deepmind/alphafold/issues/383 so closing this issue

Htomlinson14 avatar Aug 19 '22 13:08 Htomlinson14

any one can tell me how to fix this please image

MasterNivek avatar Dec 05 '22 08:12 MasterNivek

solved in #630 just replace all tree_utils. becacuse jax moved them.

jinmingyi1998 avatar Dec 13 '22 09:12 jinmingyi1998