Skip to content

Commit 35ab9fc

Browse files
mdrevestf-model-analysis-team
authored and
tf-model-analysis-team
committed
Prepare TFMA for 0.15.0 release
PiperOrigin-RevId: 274836116
1 parent dd47712 commit 35ab9fc

File tree

6 files changed

+14
-9
lines changed

6 files changed

+14
-9
lines changed

README.md

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

6262
|tensorflow-model-analysis |tensorflow |apache-beam[gcp]|
6363
|------------------------------------------------------------------------------------|--------------|----------------|
64-
|[GitHub master](https://github.com/tensorflow/model-analysis/blob/master/RELEASE.md)|nightly (1.x) |2.14.0 |
64+
|[GitHub master](https://github.com/tensorflow/model-analysis/blob/master/RELEASE.md)|nightly (1.x) |2.16.0 |
65+
|[0.14.0](https://github.com/tensorflow/model-analysis/blob/v0.14.0/RELEASE.md) |1.15 |2.16.0 |
6566
|[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 |

RELEASE.md

Lines changed: 4 additions & 1 deletion
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.15.0
22

33
## Major Features and Improvements
44

@@ -25,6 +25,8 @@
2525
with latest master, `tfx-bsl` must also be latest master.
2626
* Depends on `tfx-bsl>=0.15.0.dev0,<0.16`.
2727
* Slicing now supports conversion between int/floats and strings.
28+
* Depends on `apache-beam[gcp]>=2.16,<3`..
29+
* Depends on `six==1.12`.
2830

2931
## Breaking changes
3032

@@ -33,6 +35,7 @@
3335
* Update config serialization to use JSON instead of pickling and reformat
3436
config to include input_data_specs, model_specs, output_data_specs, and
3537
metrics_specs.
38+
* Requires pre-installed TensorFlow >=1.15,<2.
3639

3740
## Deprecations
3841

g3doc/install.md

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

5858
|tensorflow-model-analysis |tensorflow |apache-beam[gcp]|
5959
|------------------------------------------------------------------------------------|--------------|----------------|
60-
|[GitHub master](https://github.com/tensorflow/model-analysis/blob/master/RELEASE.md)|nightly (1.x) |2.14.0 |
60+
|[GitHub master](https://github.com/tensorflow/model-analysis/blob/master/RELEASE.md)|nightly (1.x) |2.16.0 |
61+
|[0.15.0](https://github.com/tensorflow/model-analysis/blob/v0.15.0/RELEASE.md) |1.15 |2.16.0 |
6162
|[0.14.0](https://github.com/tensorflow/model-analysis/blob/v0.14.0/RELEASE.md) |1.14 |2.14.0 |
6263
|[0.13.1](https://github.com/tensorflow/model-analysis/blob/v0.13.1/RELEASE.md) |1.13 |2.11.0 |
6364
|[0.13.0](https://github.com/tensorflow/model-analysis/blob/v0.13.0/RELEASE.md) |1.13 |2.11.0 |

setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ def run(self):
256256
# protobuf) with TF.
257257
'install_requires': [
258258
# Sort alphabetically
259-
'apache-beam[gcp]>=2.14,<3',
259+
'apache-beam[gcp]>=2.16,<3',
260260
'ipywidgets>=7,<8',
261261
'jupyter>=1,<2',
262262
'numpy>=1.16,<2',
@@ -267,11 +267,11 @@ def run(self):
267267
# Note: try version 1.10 if error "metaclass conflict: the
268268
# metaclass of a derived class must be a (non-strict) subclass of the
269269
# metaclasses of all its bases" occurred in future.
270-
'six>=1.10,<2',
270+
'six>=1.12,<2',
271271
# TODO(xinzha): Uncomment this once TF can automatically select between
272272
# CPU and GPU installation.
273273
# 'tensorflow>=1.14,<2',
274-
'tfx-bsl>=0.15.0.dev0,<0.16'
274+
'tfx-bsl>=0.15,<0.16'
275275
],
276276
'python_requires': '>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,<4',
277277
'packages': find_packages(),

tensorflow_model_analysis/api/model_eval_lib.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ def _assert_tensorflow_version():
5656
"""Check that we're using a compatible TF version."""
5757
# Fail with a clear error in case we are not using a compatible TF version.
5858
major, minor, _ = tf.version.VERSION.split('.')
59-
if (int(major) not in (1, 2)) or (int(major == 1 and int(minor) < 14)):
59+
if (int(major) not in (1, 2)) or (int(major == 1 and int(minor) < 15)):
6060
raise RuntimeError(
61-
'Tensorflow version >= 1.14, < 3 is required. Found (%s). Please '
61+
'Tensorflow version >= 1.15, < 3 is required. Found (%s). Please '
6262
'install the latest 1.x or 2.x version from '
6363
'https://github.com/tensorflow/tensorflow. ' % tf.version.VERSION)
6464

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.15.0dev'
18+
VERSION_STRING = '0.15.0'

0 commit comments

Comments
 (0)