Open Baldwin-disso opened 1 year ago
i also meet this error when using cuda11.6 with gcc11.6 and a100 cards, have you fixed this error?
i also meet this error when using cuda11.6 with gcc11.6 and a100 cards, have you fixed this error?
In my experience, there may be dimension mismatches when performing nn.Linear or nn.Embedding. You can run the script on the CPU to see what happened.
I've run into this issue, and there's a few steps you can take to troubleshoot.
First, make sure you always export library paths before running openfold. I would put this in your .bashrc
or .bash_profile
to make sure it runs every time.
export LIBRARY_PATH=$CONDA_PREFIX/lib:$LIBRARY_PATH
export LD_LIBRARY_PATH=$CONDA_PREFIX/lib:$LD_LIBRARY_PATH
Second, make sure you've run the install_third_party_dependencies
script as it says in the .readme. If you've done that and the issue persists, try running python setup.py install
. After running either, make sure to restart your session so that the changes are implemented, remembering to export the library paths after restarting.
You should now be able to pass the unit tests in bash scripts/run_unit_tests.sh
.
This has worked for me to resolved this issue. Hope this helps!
I installed openfold on a local server machine using recommanded installation steps
Then when using inference with
I get the following error :
I am using cuda 11.7. I tried to reinstall openfold but it didn't work. Any idea ?