Robert Neale

Results 53 comments of Robert Neale

Can you look at that file and make sure it mirrors what is here? https://github.com/tensorflow/text/blob/master/oss_scripts/prepare_tf_dep.sh In particular, look at the types of quotes used. Maybe replace the file manually if...

@yulsa @yuyuan20 it looks like there are two issues. 1. sed commands are not running correctly 2. tf.__git_version__ is not displaying The point of this file is to make certain...

A couple things to confirm: * Building on TF Text branch 2.7. This has the WORKSPACE set for TF v2.7.x which has worked for others, and 2.7.0 is the latest...

No. 4.2.2 should be good. I must be misremembering and 3.7.2 was for tf text 2.6.x and below.

You are erroring on the `bazel build` command, so you are building the package. It looks like you ran across the error mentioned above about the missing toolchain. You can...

Try adding this line at the bottom of : https://github.com/tensorflow/text/blob/master/third_party/sentencepiece/BUILD ``` ... "@com_google_absl//absl/strings", "@darts_clone", # < --- new line here ], ) ```

Are you compiling using the most recent commit of branch 2.9? The most recent commit changes configure.sh to download the correct version of .bazelrc and .bazelversion from TF. For 2.9,...

> @broken Isn't the version of `bazel` used by `text` now the same as `tf`? `tf 2.9` uses `bazel 5.1.1`. Yes, but for the version TF used on that branch....

I believe this should fix it. https://github.com/tensorflow/text/pull/972 You can try cherry-picking it in, or wait until tomorrow and we should be able to have it tested and push it out...