sokrypton / sokrypton/ColabFold

ModuleNotFoundError at "Run Prediction Step"

Open
#185 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Jupyter Notebook
Stars
2.9k
Forks
747
PR merge metrics
No merged PRs in 30d

Description

Keep getting this error when attempting to run prediction.

ModuleNotFoundError Traceback (most recent call last)
in ()
5 from colabfold.download import download_alphafold_params, default_data_dir
6 from colabfold.utils import setup_logging
----> 7 from colabfold.batch import get_queries, run, set_model_type
8 K80_chk = get_ipython().getoutput('nvidia-smi | grep "Tesla K80" | wc -l')
9 if "1" in K80_chk:

9 frames
/usr/local/lib/python3.7/dist-packages/jax/_src/lib/mlir/dialects/init.py in ()
17 import jaxlib.mlir.dialects.chlo as chlo
18 import jaxlib.mlir.dialects.mhlo as mhlo
---> 19 import jaxlib.mlir.dialects.std as std

ModuleNotFoundError: No module named 'jaxlib.mlir.dialects.std'

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the notebook's "Run Prediction Step" and the imports from colabfold.batch, then reproduce the jaxlib.mlir.dialects.std import failure in the shown Python 3.7 environment. Check the installed JAX and jaxlib versions; done means the prediction step imports successfully and can run.

Written by the indexing model from the issue text.

Assessment

Tech stack
jupyter-notebook, python
Domain
bioinformatics, machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.