Code Monkey home page Code Monkey logo

Comments (15)

Asif-Iqbal-Bhatti avatar Asif-Iqbal-Bhatti commented on June 8, 2024 1

I am using WSL ubuntu in windows 10
So I am using python 3.10 inside a conda environment.
About mat_discover I just install using the pip install mat_discover-2.0.1 version

Okay, I will try that in notebook

from mat_discover.

sgbaird avatar sgbaird commented on June 8, 2024 1

Hi @Asif-Iqbal-Bhatti, thanks for verifying the Google Colab script. This helps isolate the issue. I found a related issue numba/numba#6012. One of the quick-fix suggestions is to pin numba<=0.50. If you already have everything installed in a conda environment, I think you'd just run:

pip install numba<0.50

Can you give this a try and lmk?

from mat_discover.

Asif-Iqbal-Bhatti avatar Asif-Iqbal-Bhatti commented on June 8, 2024 1

I have
Name: numba
Version: 0.57.0
Summary: compiling Python code using LLVM
Home-page: https://numba.pydata.org
Author:
Author-email:
License: BSD
Location: /home/******/miniconda3/lib/python3.10/site-packages
Requires: llvmlite, numpy
Required-by: chem_wasserstein, dist_matrix, ElM2D, ElMD, gridrdf, hiphive, mat_discover, pgbm, pynndescent, pyxtal, umap-learn

so it works with this version.

from mat_discover.

sgbaird avatar sgbaird commented on June 8, 2024

Hi @Asif-Iqbal-Bhatti, thanks for giving mat_discover a try, and thank you for including the output!

A few questions:

  • What OS are you using?
  • Which Python version are you using?
  • Which version of mat_discover do you have installed?

To find the mat_discover version:

import mat_discover
mat_discover.__version__

Btw, I checked the main Colab notebook, and it had installation issues with installing the latest release. It seems Colab has updated to Python 3.10, and chem_wasserstein had a requirement of less than Python 3.10. I relaxed this requirement and am pushing out a new version. In the meantime, I've made a "hot fix" to the Colab notebook by ignoring the Python requirement within the pip install. I also had to install a 1.* version of PyTorch (sparks-baird/CrabNet#70), and it seems to be working properly now.

Do you mind trying to run it with your data in the linked Colab notebook? This will help me to debug the LLVM error that you're getting. Lmk if you need any help.

from mat_discover.

sgbaird avatar sgbaird commented on June 8, 2024

Thanks! Also, I just recently saved a new version of the notebook. Please make sure you're using the latest version of it (I was testing things out and didn't expect such a quick reply 😅)

from mat_discover.

sgbaird avatar sgbaird commented on June 8, 2024

Also, if you try it on your machine again, I recommend following the pip installation instructions in a fresh conda environment. I had trouble updating the conda package, but hopefully that should be resolved in ~30 minutes, assuming https://github.com/sparks-baird/mat_discover/actions/runs/5310831719 is successful. Whatever the install method, you can double-check by making sure that you're using mat_discover==2.2.9.

from mat_discover.

sgbaird avatar sgbaird commented on June 8, 2024

@Asif-Iqbal-Bhatti were you able to get this figured out? Any updates?

from mat_discover.

Asif-Iqbal-Bhatti avatar Asif-Iqbal-Bhatti commented on June 8, 2024

Hello @sgbaird so I tried running on Google Colab and there was no error but when I run on my local WSL ubuntu machine it gives this LLVM error. I tried many way as you suggested but still I could not ignore that. I think some library linkage is not set for running mat_discover on cpu.

from mat_discover.

gmarkall avatar gmarkall commented on June 8, 2024

Is it possible to try this with Numba 0.57 (if that wasn't already the version in use)? The llvmlite / LLVM versions with Numba 0.57 are quite different to those with earlier versions (14 vs 11, and a change to avoid generating some inappropriate library calls) so I'm wondering if the problem is resolved in the latest version already.

from mat_discover.

Asif-Iqbal-Bhatti avatar Asif-Iqbal-Bhatti commented on June 8, 2024

Hallo @sgbaird, so I tried now and it is working perfectly. Thanks for pointing out. Numba was causing de probleem. Dank u.

from mat_discover.

sgbaird avatar sgbaird commented on June 8, 2024

@Asif-Iqbal-Bhatti glad to hear it! Lmk if you need help with anything else

from mat_discover.

Asif-Iqbal-Bhatti avatar Asif-Iqbal-Bhatti commented on June 8, 2024

Hello, so running on Google colab there is now new error:

Screenshot 2023-06-29 115043

from mat_discover.

sgbaird avatar sgbaird commented on June 8, 2024

Ok, I'll give this a look. Thanks!

from mat_discover.

sgbaird avatar sgbaird commented on June 8, 2024

@Asif-Iqbal-Bhatti updating jaxlib seemed to fix it. I need to look into a more permanent fix #155. I think this is from adding m3gnet as a dependency #154. This should be working now:

https://colab.research.google.com/drive/1MgV_ZewS6gLm1a3Vyhg33pFHi5uTld_2?usp=sharing

from mat_discover.

sgbaird avatar sgbaird commented on June 8, 2024

@Asif-Iqbal-Bhatti were you able to resolve this?

from mat_discover.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.