From e200a154ef5a9d5e04a7bee3aeda4b013790aac1 Mon Sep 17 00:00:00 2001 From: broken <34356+broken@users.noreply.github.com> Date: Mon, 16 Nov 2020 01:17:25 -0800 Subject: [PATCH] Update version --- WORKSPACE | 6 +++--- oss_scripts/configure.sh | 2 +- oss_scripts/pip_package/setup.py | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/WORKSPACE b/WORKSPACE index 540b4328b..ed0adb86a 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -112,10 +112,10 @@ http_archive( http_archive( name = "org_tensorflow", - strip_prefix = "tensorflow-2.3.0", - sha256 = "1a6f24d9e3b1cf5cc55ecfe076d3a61516701bc045925915b26a9d39f4084c34", + strip_prefix = "tensorflow-2.4.0-rc1", + sha256 = "ea76e3124328d5f62da0804def78a78453948cd029a2d976950e553a043f9849", urls = [ - "https://github.com/tensorflow/tensorflow/archive/v2.3.0.zip" + "https://github.com/tensorflow/tensorflow/archive/v2.4.0-rc1.zip" ], ) diff --git a/oss_scripts/configure.sh b/oss_scripts/configure.sh index 7da5a807c..295e90093 100755 --- a/oss_scripts/configure.sh +++ b/oss_scripts/configure.sh @@ -29,7 +29,7 @@ if [[ $(pip show tensorflow) == *tensorflow* ]] || [[ $(pip show tf-nightly) == echo 'Using installed tensorflow.' else echo 'Installing tensorflow.' - pip install tensorflow==2.3.0 + pip install tensorflow==2.4.0rc1 fi write_to_bazelrc "build:manylinux2010 --crosstool_top=@org_tensorflow//third_party/toolchains/preconfig/ubuntu16.04/gcc7_manylinux2010-nvcc-cuda10.1:toolchain" diff --git a/oss_scripts/pip_package/setup.py b/oss_scripts/pip_package/setup.py index a362ca681..607b20a37 100644 --- a/oss_scripts/pip_package/setup.py +++ b/oss_scripts/pip_package/setup.py @@ -32,7 +32,7 @@ from setuptools.dist import Distribution project_name = 'tensorflow-text' -project_version = '2.3.0' +project_version = '2.4.0-rc0' class BinaryDistribution(Distribution): @@ -73,12 +73,12 @@ def finalize_options(self): cmdclass={'install': InstallPlatlib}, distclass=BinaryDistribution, install_requires=[ - 'tensorflow>=2.3.0, <2.4', + 'tensorflow>=2.4.0rc0, <2.5', 'tensorflow_hub>=0.8.0', ], extras_require={ 'tensorflow_cpu': [ - 'tensorflow-cpu>=2.3.0, <2.4', + 'tensorflow-cpu>=2.4.0rc0, <2.5', ], 'tests': [ 'absl-py',