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

Correct the cxx11_abi condition #8357

Merged
merged 1 commit into from
Nov 5, 2024
Merged

Correct the cxx11_abi condition #8357

merged 1 commit into from
Nov 5, 2024

Conversation

tengyifei
Copy link
Collaborator

@tengyifei tengyifei commented Nov 4, 2024

The cxx11_abi is a string variable that is either "0" or "1". Unfortunately, when specifying it in the when: ansible stanza, a string value of "0" may get interpreted as true. This causes our nightly wheels from Oct 28 to Nov 04 to be renamed with a "cxx11" suffix, regardless if they actually used C++11 ABI.

The cxx11_abi is a number variable that is either 0 or 1. Unfortunately,
when specifying it in the `when:` ansible stanza, a numeric value of 0
may get interpreted as true. This causes our nightly wheels from Oct 28
to Nov 04 to be renamed with a "cxx11" suffix, regardless if they
actually used C++11 ABI.
Copy link
Collaborator

@ManfeiBai ManfeiBai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, LGTM

@tengyifei
Copy link
Collaborator Author

c.f. older PR that introduced C++11 ABI builds: https://github.com/pytorch/xla/pull/8307/files

@tengyifei tengyifei merged commit ca0a244 into master Nov 5, 2024
12 checks passed
@miladm
Copy link
Collaborator

miladm commented Nov 22, 2024

@tengyifei for 2.6 release:

  • can we offer two whls with/without this cxx11 starting 2.6 release + future nightly whls?
  • can we clarify which of the two whl's is chosen by default on torch and torchxla pip installs? cc @jeffhataws to leave more comments.

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.

3 participants