openfold icon indicating copy to clipboard operation
openfold copied to clipboard

Installation help: the output of scripts/install_third_party_dependencies.sh

Open ryao-mdanderson opened this issue 1 year ago • 4 comments

Hello openfold team:

Thank you for your support.

I tried to install openfold on a RHEL7.9 server by following README installation section. The command $ scripts/install_third_party_dependencies.sh successfully installed many packages, I reached the following output which starts to have error: ....... done

To activate this environment, use $ conda activate openfold_venv To deactivate an active environment, use $ conda deactivate

Attempting to install FlashAttention fatal: destination path 'flash-attention' already exists and is not an empty directory. HEAD is now at 5b838a8... Apply dropout scaling to dQ and dK instead of to V (in bwd) --- my question: how to resolve this?

Warning: Torch did not find available GPUs on this system. If your intention is to cross-compile, this is not an error. By default, We cross-compile for Volta (compute capability 7.0), Turing (compute capability 7.5), and, if the CUDA version is >= 11.0, Ampere (compute capability 8.0). If you wish to cross-compile for a single specific architecture, export TORCH_CUDA_ARCH_LIST="compute capability" before running setup.py.

Traceback (most recent call last): File "setup.py", line 83, in _, bare_metal_major, bare_metal_minor = get_cuda_bare_metal_version(CUDA_HOME) File "setup.py", line 23, in get_cuda_bare_metal_version raw_output = subprocess.check_output([cuda_dir + "/bin/nvcc", "-V"], universal_newlines=True) TypeError: unsupported operand type(s) for +: 'NoneType' and 'str' ~/openfold/lib/conda/envs/openfold_venv/lib/python3.7/site-packages ~/openfold patching file simtk/openmm/app/topology.py Hunk #1 succeeded at 353 (offset -3 lines). ......

--- my question: does the message export TORCH_CUDA_ARCH_LIST="compute capability" fix the TypeError: unsupported operand type(s) for +: 'NoneType' and 'str' ?

Thank you for advice.

ryao-mdanderson avatar Nov 14 '22 19:11 ryao-mdanderson