Hi,
To users: if RF2 defaults to CPU and upon running torch.cuda.is_available() you obtain False, read below.
Be careful when building your conda environment that the CUDA version that is found (which nvcc) in the RF2 conda environment is compatible with the pytorch-cuda version in the environment. I.e. if system CUDA is used, it cannot be greater than >11.7 (see nvidia-smi). If using Python CUDA package is used, ensure cudatoolkit version in your environment matches 11.7 . Default behaviour for conda is to install the latest version cudatoolkit-12.2, which leads to the PyTorch issue.
To developers: perhaps a dependency on cudatoolkit=11.7 or cudatoolkit-dev=11.7 can be added to the environment?
Note: I have used CUDA 12.0 succesfully (with upgraded pytorch-cuda) and saw no difference in the performance or output of RoseTTAFold2 but I can't comment in detail on that. 11.7 works fine too.
Cheers,
Mats