Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Colab Notebook fails at generate MSA step - T4 GPU runtime #17

Open
RCowan1983 opened this issue Jan 3, 2024 · 1 comment
Open

Colab Notebook fails at generate MSA step - T4 GPU runtime #17

RCowan1983 opened this issue Jan 3, 2024 · 1 comment

Comments

@RCowan1983
Copy link

RCowan1983 commented Jan 3, 2024

I've tried running a test case for some cross link data we have for a fusion protein, and the colab notebook fails at the Generate MSA cell with the following error text:

---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
[<ipython-input-5-a035946cd06a>](https://d2zmhxae1bj-496ff2e9c6d22116-0-colab.googleusercontent.com/outputframe.html?vrz=colab_20231228-060138_RC00_594230591#) in <cell line: 14>()
     12 import gzip
     13 from unifold.msa import parsers
---> 14 from unifold.msa import pipeline
     15 from unifold.data.utils import compress_features
     16 from unifold.data.protein import PDB_CHAIN_IDS

2 frames
[/usr/local/lib/python3.10/dist-packages/unifold/msa/mmcif.py](https://d2zmhxae1bj-496ff2e9c6d22116-0-colab.googleusercontent.com/outputframe.html?vrz=colab_20231228-060138_RC00_594230591#) in <module>
     23 from Bio import PDB
     24 from Bio.PDB.MMCIFParser import MMCIFParser
---> 25 from Bio.Data import SCOPData
     26 
     27 # Type aliases:

ImportError: cannot import name 'SCOPData' from 'Bio.Data' (/usr/local/lib/python3.10/dist-packages/Bio/Data/__init__.py)

I'm also getting warnings about the GPU runtime not making use of the GPU, so there may also be an issue with the loading of unifold?

@lhatsk
Copy link
Collaborator

lhatsk commented Jan 4, 2024

Thanks for reporting this! The latest Biopython update moved a module. I updated the notebook.

The GPU runtime warning is fine. Only the prediction step utilizes the GPU.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants