Comments (15)
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.
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.
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.
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.
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.
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.
@Asif-Iqbal-Bhatti were you able to get this figured out? Any updates?
from mat_discover.
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.
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.
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.
@Asif-Iqbal-Bhatti glad to hear it! Lmk if you need help with anything else
from mat_discover.
Hello, so running on Google colab there is now new error:
from mat_discover.
Ok, I'll give this a look. Thanks!
from mat_discover.
@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.
@Asif-Iqbal-Bhatti were you able to resolve this?
from mat_discover.
Related Issues (20)
- hdbscan temporarily not working HOT 1
- Issue with custom color for pareto_plot (can't use strings for color values)
- peak_score.csv should probably have `k_neigh_avg` instead of `density`
- Readthedocs not creating mat_discover_ docs
- Error while using `nearest_neigh_prop` HOT 3
- Density scores are negative if property values are negative (?)
- Support Python 3.10
- Remove `flit_core >=3.2,<4` in meta.yaml produced by run_grayskull.py
- megnet not installed, how to deal with crystal vs. composition dependencies?
- make crystal structure packages optional (i.e., do try-except imports)
- why was jaxlib incompatible?
- GitHub actions: make sure that workflow recognizes the error of "already uploaded to PyPI" and stops there
- Add/improve docstrings for `Adapt` class
- add `skip_write_image` kwarg
- add unique elements and unique templates from extraordinary as measure of both performance + novelty
- Additional performance/novelty metric
- Compare with Bayesian optimization
- Aitchison compositional distance metric as a swap-out for element mover's distance
- FileNotFoundError while splitting val_df into chunks HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mat_discover.