rxn4chemistry / rxnmapper

RXNMapper: Unsupervised attention-guided atom-mapping. Code complementing our Science Advances publication on "Extraction of organic chemistry grammar from unsupervised learning of chemical reactions" (https://advances.sciencemag.org/content/7/15/eabe4166).
http://rxnmapper.ai
MIT License
286 stars 68 forks source link

Cannot run on M1 Mac #21

Closed ruslankotl closed 2 years ago

ruslankotl commented 2 years ago

Hello,

I cannot get RXNMapper to run on my M1 Mac. Attempts to set up the environment according to README.md and run the code in terminal led to the following:

zsh: illegal hardware instruction python

Running rxnmapper example in Jupiter led to kernel dying and Spyder failed to import RXNMapper() altogether.

Please advise on the next steps.

UPDATE: seems like there may be an issue with torch as it may not work with arm64 architecture