Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove manual -std=c++14 flag for compatibility #450

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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