File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
tensorflow/tools/pip_package Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -20,4 +20,4 @@ TFCI_LIB_SUFFIX="-tpu-linux-x86_64"
2020TFCI_WHL_BAZEL_TEST_ENABLE=0
2121TFCI_WHL_IMPORT_TEST_ENABLE=0
2222TFCI_WHL_SIZE_LIMIT=580M
23- TFCI_PYTHON_VERIFY_PIP_INSTALL_ARGS="-f https://storage.googleapis.com/libtpu-tf-releases /index.html"
23+ TFCI_PYTHON_VERIFY_PIP_INSTALL_ARGS="-f https://storage.googleapis.com/libtpu-wheels /index.html"
Original file line number Diff line number Diff line change 5050# tensorflow/core/public/version.h
5151_VERSION = '2.19.0-rc0'
5252
53+ # Update this version when a new libtpu stable version is released.
54+ LATEST_RELEASE_LIBTPU_VERSION = '0.0.9'
55+ NEXT_LIBTPU_VERSION = '0.0.10'
5356
5457# We use the same setup.py for all tensorflow_* packages and for the nightly
5558# equivalents (tf_nightly_*). The package is controlled from the argument line
@@ -310,17 +313,14 @@ def find_files(pattern, root):
310313 # timing of these tests, the UTC date from eight hours ago is expected to be a
311314 # valid version.
312315 _libtpu_version = standard_or_nightly (
313- _VERSION . replace ( '-' , '' ) ,
314- '0.1 .dev'
316+ LATEST_RELEASE_LIBTPU_VERSION ,
317+ NEXT_LIBTPU_VERSION + ' .dev'
315318 + (
316319 datetime .datetime .now (tz = datetime .timezone .utc )
317320 - datetime .timedelta (hours = 8 )
318- ).strftime ('%Y%m%d' ),
321+ ).strftime ('%Y%m%d' ) + '+nightly' ,
319322 )
320- if _libtpu_version .startswith ('0.1' ):
321- REQUIRED_PACKAGES .append ([f'libtpu-nightly=={ _libtpu_version } ' ])
322- else :
323- REQUIRED_PACKAGES .append ([f'libtpu=={ _libtpu_version } ' ])
323+ REQUIRED_PACKAGES .append ([f'libtpu=={ _libtpu_version } ' ])
324324 CONSOLE_SCRIPTS .extend ([
325325 'start_grpc_tpu_worker = tensorflow.python.tools.grpc_tpu_worker:run' ,
326326 ('start_grpc_tpu_service = '
You can’t perform that action at this time.
0 commit comments