Skip to content

Commit d5d8ae1

Browse files
mdrevestf-model-analysis-team
authored and
tf-model-analysis-team
committed
Prepare TFMA for 0.14.0 release
PiperOrigin-RevId: 262029761
1 parent dd803f7 commit d5d8ae1

File tree

6 files changed

+21
-16
lines changed

6 files changed

+21
-16
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@ combinations may also work.
6262

6363
|tensorflow-model-analysis |tensorflow |apache-beam[gcp]|
6464
|------------------------------------------------------------------------------------|--------------|----------------|
65-
|[GitHub master](https://github.com/tensorflow/model-analysis/blob/master/RELEASE.md)|nightly (1.x) |2.11.0 |
65+
|[GitHub master](https://github.com/tensorflow/model-analysis/blob/master/RELEASE.md)|nightly (1.x) |2.14.0 |
66+
|[0.14.0](https://github.com/tensorflow/model-analysis/blob/v0.14.0/RELEASE.md) |1.14 |2.14.0 |
6667
|[0.13.1](https://github.com/tensorflow/model-analysis/blob/v0.13.1/RELEASE.md) |1.13 |2.11.0 |
6768
|[0.13.0](https://github.com/tensorflow/model-analysis/blob/v0.13.0/RELEASE.md) |1.13 |2.11.0 |
6869
|[0.12.1](https://github.com/tensorflow/model-analysis/blob/v0.12.1/RELEASE.md) |1.12 |2.10.0 |

RELEASE.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Current version (not yet released; still in development)
1+
# Current version 0.14.0
22

33
## Major Features and Improvements
44

@@ -29,7 +29,6 @@
2929
* Make metrics-related operations thread-safe by wrapping them with locks.
3030
This eliminates race conditions that were previously possible in
3131
multi-threaded runners which could result in incorrect metric values.
32-
* Depends on `apache-beam[gcp]>=2.12,<3`.
3332
* More flexible `FanoutSlices`.
3433
* Limit the number of sampling buckets to 20.
3534
* Improved performance in Confidence Interval computation.
@@ -39,12 +38,17 @@
3938
* Added support for example weight keys for multi-output models.
4039
* Added option to set the desired batch size when calling run_model_analysis.
4140
* Changed TFRecord compression type from UNCOMPRESSED to AUTO.
41+
* Depends on `apache-beam[gcp]>=2.14,<3`.
42+
* Depends on `numpy>=1.16,<2`.
43+
* Depends on `protobuf>=3.7,<4`.
44+
* Depends on `scipy==1.1.0`.
4245

4346
## Breaking changes
4447

4548
* Removed uses of deprecated tf.contrib packages (where possible).
4649
* `tfma.default_writers` now requires the `eval_saved_model` to be passed as
4750
an argument.
51+
* Requires pre-installed TensorFlow >=1.14,<2.
4852

4953
## Deprecations
5054

g3doc/install.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,9 @@ combinations may also work.
5858

5959
|tensorflow-model-analysis |tensorflow |apache-beam[gcp]|
6060
|------------------------------------------------------------------------------------|--------------|----------------|
61-
|[GitHub master](https://github.com/tensorflow/model-analysis/blob/master/RELEASE.md)|nightly (1.x) |2.11.0 |
61+
|[GitHub master](https://github.com/tensorflow/model-analysis/blob/master/RELEASE.md)|nightly (1.x) |2.14.0 |
62+
|[0.14.0](https://github.com/tensorflow/model-analysis/blob/v0.14.0/RELEASE.md) |1.14 |2.14.0 |
63+
|[0.13.1](https://github.com/tensorflow/model-analysis/blob/v0.13.1/RELEASE.md) |1.13 |2.11.0 |
6264
|[0.13.0](https://github.com/tensorflow/model-analysis/blob/v0.13.0/RELEASE.md) |1.13 |2.11.0 |
6365
|0.12.1 |1.12 |2.10.0 |
6466
|0.12.0 |1.12 |2.10.0 |

setup.py

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -254,24 +254,24 @@ def run(self):
254254
# protobuf) with TF.
255255
'install_requires': [
256256
# Sort alphabetically
257-
'apache-beam[gcp]>=2.12,<3',
257+
'apache-beam[gcp]>=2.14,<3',
258258
'ipywidgets>=7,<8',
259259
'jupyter>=1,<2',
260-
'numpy>=1.14.5,<2',
260+
'numpy>=1.16,<2',
261261
'protobuf>=3.7,<4',
262262
# TODO(b/126957988): Stop pinning scipy when possible.
263263
'scipy==1.1.0',
264264
# For apitools.
265265
# Note: try version 1.10 if error "metaclass conflict: the
266266
# metaclass of a derived class must be a (non-strict) subclass of the
267267
# metaclasses of all its bases" occurred in future.
268-
'six>=1.9,<2',
268+
'six>=1.10,<2',
269269
# TODO(xinzha): Uncomment this once TF can automatically select between
270270
# CPU and GPU installation.
271-
# 'tensorflow>=1.13,<2',
271+
# 'tensorflow>=1.14,<2',
272272
# TODO(b/68765743): replace it with tfx-base after it's available
273273
# (b/72384547)
274-
'tensorflow-transform>=0.13,<1',
274+
'tensorflow-transform>=0.14,<1',
275275
],
276276
'python_requires': '>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,<4',
277277
'packages': find_packages(),
@@ -297,10 +297,8 @@ def run(self):
297297
'Programming Language :: Python :: 2.7',
298298
'Programming Language :: Python :: 3',
299299
'Programming Language :: Python :: 3.5',
300-
# TODO(b/125613675): Once Beam supports Python 3.6 and 3.7, uncomment
301-
# these lines.
302-
# 'Programming Language :: Python :: 3.6',
303-
# 'Programming Language :: Python :: 3.7',
300+
'Programming Language :: Python :: 3.6',
301+
'Programming Language :: Python :: 3.7',
304302
'Topic :: Scientific/Engineering',
305303
'Topic :: Scientific/Engineering :: Mathematics',
306304
'Topic :: Scientific/Engineering :: Artificial Intelligence',

tensorflow_model_analysis/api/model_eval_lib.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@ def _assert_tensorflow_version():
6161
"""Check that we're using a compatible TF version."""
6262
# Fail with a clear error in case we are not using a compatible TF version.
6363
major, minor, _ = tf.version.VERSION.split('.')
64-
if int(major) != 1 or int(minor) < 13:
64+
if int(major) != 1 or int(minor) < 14:
6565
raise RuntimeError(
66-
'Tensorflow version >= 1.13, < 2 is required. Found (%s). Please '
66+
'Tensorflow version >= 1.14, < 2 is required. Found (%s). Please '
6767
'install the latest 1.x version from '
6868
'https://github.com/tensorflow/tensorflow. ' % tf.version.VERSION)
6969

tensorflow_model_analysis/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@
1515

1616
# Version string for this release of TFMA.
1717
# Note that setup.py reads and uses this version.
18-
VERSION_STRING = '0.14.0dev'
18+
VERSION_STRING = '0.14.0'

0 commit comments

Comments
 (0)