tensorflow / text

Making text a first-class citizen in TensorFlow.
https://www.tensorflow.org/beta/tutorials/tensorflow_text/intro
Apache License 2.0
1.21k stars 333 forks source link

Update TF versions and scripts to allow consistently building against tf-nightly. #1200

Closed copybara-service[bot] closed 10 months ago

copybara-service[bot] commented 11 months ago

Update TF versions and scripts to allow consistently building against tf-nightly.

Currently the master branch contains a patch and other changes that is needed to build against a later version of TF than the 2.13 release (and even the 2.14 rc0). Bumped up the default commit in the WORKSPACE file to allow a build, and bumped up the release version to 2.13 for now (was previously 2.12).

Sometimes the tf-nightly build reports a tf.__git_version__ of "unknown" (occasionally on intel, frequently on ARM), causing the build scripts to fail and abort. Modified the prepare_tf_dep.sh to account for this, defaulting to the latest tf-nightly source in such a case.

Fixes #1202, #1195.