Fixes and improvements to the installation instructions#447
Open
jkosinski wants to merge 5 commits intoaqlaboratory:mainfrom
Open
Fixes and improvements to the installation instructions#447jkosinski wants to merge 5 commits intoaqlaboratory:mainfrom
jkosinski wants to merge 5 commits intoaqlaboratory:mainfrom
Conversation
Not sure if this the way you want it but otherwise OpenFold would not be installed... And you'd get error like this:
srun --time=1-00:00:00 -p gpu-el8 -G 1 --mem-per-gpu 32000 --qos=highest scripts/run_unit_tests.sh
srun: job 4368915 queued and waiting for resources
srun: job 4368915 has been allocated resources
/g/kosinski/kosinski/software/envs/openfold_env/lib/python3.9/site-packages/scipy/__init__.py:146: UserWarning: A NumPy version >=1.16.5 and <1.23.0 is required for this version of SciPy (detected version 1.26.4
warnings.warn(f"A NumPy version >={np_minversion} and <{np_maxversion}"
[2024-05-19 13:02:40,227] [INFO] [real_accelerator.py:161:get_accelerator] Setting ds_accelerator to cuda (auto detect)
E.................EEEEEEEEEEEE...EEEEEE
======================================================================
ERROR: tests.test_data_pipeline (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: tests.test_data_pipeline
Traceback (most recent call last):
File "/g/kosinski/kosinski/software/envs/openfold_env/lib/python3.9/unittest/loader.py", line 436, in _find_test_path
module = self._get_module_from_name(name)
File "/g/kosinski/kosinski/software/envs/openfold_env/lib/python3.9/unittest/loader.py", line 377, in _get_module_from_name
__import__(name)
File "/g/kosinski/kosinski/software/openfold/tests/test_data_pipeline.py", line 23, in <module>
import tests.compare_utils as compare_utils
File "/g/kosinski/kosinski/software/openfold/tests/compare_utils.py", line 12, in <module>
from openfold.model.model import AlphaFold
File "/g/kosinski/kosinski/software/openfold/openfold/model/model.py", line 29, in <module>
from openfold.model.embedders import (
File "/g/kosinski/kosinski/software/openfold/openfold/model/embedders.py", line 29, in <module>
from openfold.model.primitives import Linear, LayerNorm
File "/g/kosinski/kosinski/software/openfold/openfold/model/primitives.py", line 38, in <module>
from openfold.utils.kernel.attention_core import attention_core
File "/g/kosinski/kosinski/software/openfold/openfold/utils/kernel/attention_core.py", line 20, in <module>
attn_core_inplace_cuda = importlib.import_module("attn_core_inplace_cuda")
File "/g/kosinski/kosinski/software/envs/openfold_env/lib/python3.9/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ModuleNotFoundError: No module named 'attn_core_inplace_cuda'
RJ3
approved these changes
Aug 24, 2024
RJ3
left a comment
There was a problem hiding this comment.
I agree with these changes. I'm also wondering if all 3 of those weight downloads are necessary or if you can run with 1 or 2? The language is not clear in that regard.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.