nrbennet / dl_binder_design

MIT License
203 stars 49 forks source link

Floating point exception (Segmentation fault) when testing the conda env from af2_binder_design.yml #68

Open daniel-sali opened 7 months ago

daniel-sali commented 7 months ago

Hi @nrbennet ,

I'm trying to install the library in a Python 3.11 / Ubuntu 22.04 environment, however, when I'm running importtests/af2_importtest.py, I'm getting a "Floating point exception (core dumped)" error. When adding debug logging statements to the test script, the error seems to come from the import tensorflow.compat.v1 as tf statement fromdl_binder_design/af2_initial_guess/alphafold/model/model.py line 18.

Have you seen this issue before?

Could you maybe share with us a requirements.txt file created by pip freeze with a frozen set of compatible Python dependencies?

Thanks, Daniel

daniel-sali commented 6 months ago

I managed to resolve the issue by downgrading TensorFlow.

Huilin-Li commented 5 months ago

I managed to resolve the issue by downgrading TensorFlow.

Hi, may I ask which version you are using TensorFlow? I met the same error. Thanks!

daniel-sali commented 5 months ago

Hi @Huilin-Li ,

I use TensorFlow 2.14.0 now with CUDA 12.2.140, it seems to work.