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"
20
20
TFCI_WHL_BAZEL_TEST_ENABLE=0
21
21
TFCI_WHL_IMPORT_TEST_ENABLE=0
22
22
TFCI_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 50
50
# tensorflow/core/public/version.h
51
51
_VERSION = '2.19.0-rc0'
52
52
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'
53
56
54
57
# We use the same setup.py for all tensorflow_* packages and for the nightly
55
58
# equivalents (tf_nightly_*). The package is controlled from the argument line
@@ -310,17 +313,14 @@ def find_files(pattern, root):
310
313
# timing of these tests, the UTC date from eight hours ago is expected to be a
311
314
# valid version.
312
315
_libtpu_version = standard_or_nightly (
313
- _VERSION . replace ( '-' , '' ) ,
314
- '0.1 .dev'
316
+ LATEST_RELEASE_LIBTPU_VERSION ,
317
+ NEXT_LIBTPU_VERSION + ' .dev'
315
318
+ (
316
319
datetime .datetime .now (tz = datetime .timezone .utc )
317
320
- datetime .timedelta (hours = 8 )
318
- ).strftime ('%Y%m%d' ),
321
+ ).strftime ('%Y%m%d' ) + '+nightly' ,
319
322
)
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 } ' ])
324
324
CONSOLE_SCRIPTS .extend ([
325
325
'start_grpc_tpu_worker = tensorflow.python.tools.grpc_tpu_worker:run' ,
326
326
('start_grpc_tpu_service = '
You can’t perform that action at this time.
0 commit comments