Skip to content

Custom Op Linux ABI Incompatibility: Undefined Symbol #987

Closed
@seanpmorgan

Description

@seanpmorgan

Creating this issue to consolidate the information. As seen in #676 #574

Overview:

The TF C++ API for kernel implementations are not ABI stable. Because of this we compile our pip package to be manylinux2010 compatible with GCC 7.3.1. This means that TF-Addons custom ops will work on pip installed TF, but are not guaranteed to work with TF built from source or installed from conda

This should not affect our macOS and Windows versions.

Temporary "fixes"

We implemented a lazy loading of custom-ops so majority of TFA functionality is not affected by this issue:
#869

Long term solution

RFC 133 is in the works to make a stable C ABI.

Metadata

Metadata

Assignees

No one assigned

    Labels

    blockedPending something elses completionbugSomething isn't workingcustom-ops

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions