Skip to content

dependency issue in openfold v1.0.1 and pytorch #3

Description

@atroel01

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:
facebookresearch/pytorch3d#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'
]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions