esm
esm copied to clipboard
fair-esm 1.0.3 does not provide the extra 'esmfold'
NOTE: if this is not a bug report, please use the GitHub Discussions for support questions (How do I do X?), feature requests, ideas, showcasing new applications, etc.
Bug description
Please enter a clear and concise description of what the bug is.
On pip install "fair-esm[esmfold]"
this Warning appears:
WARNING: fair-esm 1.0.3 does not provide the extra 'esmfold' and the esmfold model is not available
Reproduction steps
python -V
pip install "fair-esm[esmfold]"`
pip install 'dllogger @ git+https://github.com/NVIDIA/dllogger.git'
pip install 'openfold @ git+https://github.com/aqlaboratory/openfold.git@4b41059694619831a7db195b7e0988fc4ff3a307'
python3
Python 3.10.6 (main, Nov 14 2022, 16:10:14) [GCC 11.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import esm
>>> model = esm.pretrained.esmfold_v1()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: module 'esm.pretrained' has no attribute 'esmfold_v1'
Expected behavior esmfold_v1 is available.
Logs Please paste the command line output:
pip install "fair-esm[esmfold]"
Collecting fair-esm[esmfold]
Using cached fair_esm-2.0.0-py3-none-any.whl (93 kB)
Collecting biopython
Using cached biopython-1.80-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.1 MB)
Collecting einops
Using cached einops-0.6.0-py3-none-any.whl (41 kB)
Collecting omegaconf
Using cached omegaconf-2.3.0-py3-none-any.whl (79 kB)
Collecting dm-tree
Using cached dm_tree-0.1.8-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (152 kB)
Collecting deepspeed==0.5.9
Using cached deepspeed-0.5.9.tar.gz (510 kB)
Preparing metadata (setup.py) ... done
Collecting pytorch-lightning
Using cached pytorch_lightning-1.9.0-py3-none-any.whl (825 kB)
Collecting scipy
Using cached scipy-1.10.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (34.4 MB)
Collecting ml-collections
Using cached ml_collections-0.1.1.tar.gz (77 kB)
Preparing metadata (setup.py) ... done
Collecting hjson
Using cached hjson-3.1.0-py3-none-any.whl (54 kB)
Collecting ninja
Using cached ninja-1.11.1-py2.py3-none-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (145 kB)
Requirement already satisfied: numpy in /usr/local/lib/python3.10/dist-packages (from deepspeed==0.5.9->fair-esm[esmfold]) (1.24.1)
Collecting packaging
Using cached packaging-23.0-py3-none-any.whl (42 kB)
Collecting psutil
Using cached psutil-5.9.4-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (280 kB)
Collecting py-cpuinfo
Using cached py_cpuinfo-9.0.0-py3-none-any.whl (22 kB)
Requirement already satisfied: torch in /usr/local/lib/python3.10/dist-packages (from deepspeed==0.5.9->fair-esm[esmfold]) (1.13.1)
Collecting tqdm
Using cached tqdm-4.64.1-py2.py3-none-any.whl (78 kB)
INFO: pip is looking at multiple versions of fair-esm[esmfold] to determine which version is compatible with other requirements. This could take a while.
Collecting fair-esm[esmfold]
Using cached fair_esm-1.0.3-py3-none-any.whl (76 kB)
WARNING: fair-esm 1.0.3 does not provide the extra 'esmfold'
Installing collected packages: fair-esm
Successfully installed fair-esm-1.0.3
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Additional context Add any other context about the problem here. (like proxy settings, network setup, overall goals, etc.)