Open atroel01 opened 7 months ago
This may help some people avoid a headache... There is a problem with compatibility with newer versions of pytorch and installing openfold v1.0.1. As this is a key dependency on this package i am posting here.
outlined in this issue: https://github.com/facebookresearch/pytorch3d/issues/1657
As Such setup.py within openfold v1.0.1 has to be modified:
extra_cuda_flags = [ '-std=c++14', '-maxrregcount=50', '-U__CUDA_NO_HALF_OPERATORS__', '-U__CUDA_NO_HALF_CONVERSIONS__', '--expt-relaxed-constexpr', '--expt-extended-lambda' ]
to
extra_cuda_flags = [ '-std=c++17', '-maxrregcount=50', '-U__CUDA_NO_HALF_OPERATORS__', '-U__CUDA_NO_HALF_CONVERSIONS__', '--expt-relaxed-constexpr', '--expt-extended-lambda' ]
Thanks for the tip. It's very helpful
Take my knees
still failed
This may help some people avoid a headache... There is a problem with compatibility with newer versions of pytorch and installing openfold v1.0.1. As this is a key dependency on this package i am posting here.
outlined in this issue: https://github.com/facebookresearch/pytorch3d/issues/1657
As Such setup.py within openfold v1.0.1 has to be modified:
to