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
OpenFold on Ampere Nvidia GPUs #143
Comments
Which version of torch are you trying to install? |
I am also facing the same problem. Is anybody find the solutions? Thanks a lot! |
@WillExeter is the problem potentially BFloat16? What is the exact error message |
I was on PyTorch 10.2, which supports only up to sm_70. I have since tried updating to a newer cudatoolkit (10.2.89 -> 11.6.0) and PyTorch (1.10.2-py3.7_cuda10.2_cudnn7.6.5_0 -> 1.12.0-py3.7_cuda11.6_cudnn8.3.2_0). On 10.2 OpenFold runs for a while then fails complaining about compute capability (see response to jamaliki). On the updated versions it fails instantly: python3 run_pretrained_openfold.py fastas/test ~/alphafold-2.2.0/alphafold_libs/pdb_mmcif/mmcif_files/ --uniref90_database_path ~/alphafold-2.2.0/alphafold_libs/uniref90/uniref90.fasta --mgnify_database_path ~/alphafold-2.2.0/alphafold_libs/mgnify/mgy_clusters_2018_12.fa --pdb70_database_path ~/alphafold-2.2.0/alphafold_libs/pdb70/pdb70 --uniclust30_database_path ~/alphafold-2.2.0/alphafold_libs/uniclust30/uniclust30_2018_08/uniclust30_2018_08 --output_dir ./ --bfd_database_path ~/alphafold-2.2.0/alphafold_libs/bfd/bfd_metaclust_clu_complete_id30_c90_final_seq.sorted_opt --model_device "cuda:1" --jackhmmer_binary_path lib/conda/envs/openfold_venv/bin/jackhmmer --hhblits_binary_path lib/conda/envs/openfold_venv/bin/hhblits --hhsearch_binary_path lib/conda/envs/openfold_venv/bin/hhsearch --kalign_binary_path lib/conda/envs/openfold_venv/bin/kalign --config_preset "model_1_ptm" --openfold_checkpoint_path openfold/resources/openfold_params/finetuning_ptm_1.pt |
Hi, here is the error message: python3 run_pretrained_openfold.py \
INFO:run_pretrained_openfold.py:Generating alignments for sp|Q83EE0|RL21_COXBU... warnings.warn(incompatible_device_warn.format(device_name, capability, " ".join(arch_list), device_name)) |
@WillExeter understood. The issue is, as you noted, that PyTorch needs to be updated with the new cuda toolkit for you to run. The error you mention here: |
I'm running |
Right but I think the CUDA 10.2 is too old |
Hi, that seems to have worked - brilliant. |
Hi,
I am trying to install OpenFold on a machine with two RTX A5000s, but running into issues with PyTorch not supporting cards with compute capability SM 86. I saw on a previous post that you had trained OF on A100s, which will have a similar compute capability. Is there a method for installing OpenFold on newer GPU architectures?
Many thanks!
The text was updated successfully, but these errors were encountered: