Skip to content

Conversation

jnooree
Copy link

@jnooree jnooree commented May 29, 2024

Openfold works with later versions of pytorch, but the newer versions require c++17 for c++ extensions.

This PR removes the manual standard specification and let pytorch do the work. They add required C++ standard flags if it is not specified by the users:

https://github.com/pytorch/pytorch/blob/7a506dd0057ec82f17d72dcf308e2c5eaa4d80f7/torch/utils/cpp_extension.py#L556-L563

This is also true for the pinned version (v1.12).

https://github.com/pytorch/pytorch/blob/664058fa83f1d8eede5d66418abff6e20bd76ca8/torch/utils/cpp_extension.py#L468-L475

lindseyguan added a commit to lindseyguan/openfold that referenced this pull request Jul 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant