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 tensorflow.addons dependency and bring needed classes #1010

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

Conversation

jordimas
Copy link
Contributor

@jordimas jordimas commented Aug 22, 2024

TensorFlow Addons was deprecated in May 2024.

This PR has the following goals:

  • Remove the TensorFlow Addons library dependency
  • Bring into a new namespace (opennmt.tfa) only the code that is need for OpenNMT to work
  • Bring all the unit tests possible (coverage on is a at 80% opennmt.tfa)
  • Introduce the minimum changes possible in OpenNMT to accommodate the change

In terms of licenses, TensorFlow Addons is Apache and OpenNMT-tf MIT, then code is safe to combine.

This is not a small change and I did everything possible in my side to make sure that are not regressions but further testing is welcome.

Once this is integrated we can start a process to look what can be deprecated slowly from the TF addons and move into TF and Keras implementations when available.

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