Skip to content

Status of pip wheels with _GLIBCXX_USE_CXX11_ABI=1 #51039

@elias-work

Description

@elias-work

#17492 shows the history of this issue but it has been closed and buried for a long time. Torch pip wheels are compiled with _GLIBCXX_USE_CXX11_ABI=0, resulting in incompatibility with other libraries.

Is there any sort of status on this?

(Personal motivation: Our project takes many hours to compile because of needing to compile torch + dependencies from source. We can't link with the libraries from the pip wheel because of this issue, and forcing everything else to use _GLIBCXX_USE_CXX11_ABI=0 is a huge headache itself that will only result in more problems over time. Having _GLIBCXX_USE_CXX11_ABI=1 pip wheels would drastically simplify our, and I'm sure many others', builds).

cc @ezyang @gchanan @zou3519 @bdhirsh @jbschlosser @seemethere @malfet @walterddr @yf225 @glaringlee

Metadata

Metadata

Assignees

No one assigned

    Labels

    high prioritymodule: abilibtorch C++ ABI related problemsmodule: binariesAnything related to official binaries that we release to usersmodule: cppRelated to C++ APIneeds designWe want to add this feature but we need to figure out how firsttriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate module

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions