Skip to content

Commit

Permalink
TFX 1.2.0 Release
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 389991018
  • Loading branch information
dhruvesh09 authored and tfx-copybara committed Aug 10, 2021
1 parent 87a985d commit 30be4b3
Show file tree
Hide file tree
Showing 5 changed files with 56 additions and 19 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ but other *untested* combinations may also work.

tfx | apache-beam[gcp] | ml-metadata | pyarrow | tensorflow | tensorflow-data-validation | tensorflow-metadata | tensorflow-model-analysis | tensorflow-serving-api | tensorflow-transform | tfx-bsl
------------------------------------------------------------------------- | ---------------- | ----------- | ------- | ----------------- | -------------------------- | ------------------- | ------------------------- | ---------------------- | -------------------- | -------
[GitHub master](https://github.com/tensorflow/tfx/blob/master/RELEASE.md) | 2.29.0 | 1.0.0 | 2.0.0 | nightly (1.x/2.x) | 1.0.0 | 1.0.0 | 0.31.0 | 2.5.1 | 1.0.0 | 1.0.0
[GitHub master](https://github.com/tensorflow/tfx/blob/master/RELEASE.md) | 2.31.0 | 1.0.0 | 2.0.0 | nightly (1.x/2.x) | 1.2.0 | 1.2.0 | 0.33.0 | 2.5.1 | 1.2.0 | 1.2.0
1.2.0 | 2.31.0 | 1.0.0 | 2.0.0 | 1.15.0 / 2.5.0 | 1.2.0 | 1.2.0 | 0.33.0 | 2.5.1 | 1.2.0 | 1.2.0
1.0.0 | 2.29.0 | 1.0.0 | 2.0.0 | 1.15.0 / 2.5.0 | 1.0.0 | 1.0.0 | 0.31.0 | 2.5.1 | 1.0.0 | 1.0.0
0.30.0 | 2.28.0 | 0.30.0 | 2.0.0 | 1.15.0 / 2.4.0 | 0.30.0 | 0.30.0 | 0.30.0 | 2.4.0 | 0.30.0 | 0.30.0
0.29.0 | 2.28.0 | 0.29.0 | 2.0.0 | 1.15.0 / 2.4.0 | 0.29.0 | 0.29.0 | 0.29.0 | 2.4.0 | 0.29.0 | 0.29.0
Expand Down
38 changes: 37 additions & 1 deletion RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,22 @@

## Major Features and Improvements

## Breaking Changes

### For Pipeline Authors

### For Component Authors

## Deprecations

## Bug Fixes and Other Changes

## Documentation Updates

# Version 1.2.0

## Major Features and Improvements

* Added RuntimeParam support for Trainer's custom_config.
* TFX Trainer and Pusher now support Vertex, which can be enabled with
`ENABLE_VERTEX_KEY` key in `custom_config`.
Expand All @@ -10,10 +26,16 @@

### For Pipeline Authors

* N/A

### For Component Authors

* N/A

## Deprecations

* N/A

## Bug Fixes and Other Changes

* Fixed issue when InputValuePlaceholder is used as component parameter in
Expand All @@ -23,9 +45,24 @@
* `tfx.benchmarks` package was removed from the Python TFX wheel. This package
is used only for benchmarking and not useful for end users.
* Fixed the issue for fairness_indicator_thresholds support of Evaluator.
* Depends on `apache-beam[gcp]>=2.31,<3`.
* Depends on `kfp-pipeline-spec>=0.1.8,<0.2`.
* Depends on `ml-metadata>=1.2.0,<1.3.0`.
* Depends on `struct2tensor>=0.33.0,<0.34.0`.
* Depends on `tensorflow-data-validation>=1.2.0,<1.3.0`.
* Depends on `tensorflow-model-analysis>=0.33.0,<0.34.0`.
* Depends on `tensorflow-transform>=1.2.0,<1.3.0`.
* Depends on `tfx-bsl>=1.2.0,<1.3.0`.

## Documentation Updates

* N/A

# Version 1.1.x (skipped)

To maintain version consistency among TFX Family libraries we skipped
the 1.1.x release for TFX library.

# Version 1.0.0

## Major Features and Improvements
Expand Down Expand Up @@ -55,7 +92,6 @@
* Removed the extra node information in IR for KubeflowDagRunner, to reduce
size of generated IR.


## Breaking Changes

* Removed unneccessary default values for required component input Channels.
Expand Down
30 changes: 15 additions & 15 deletions tfx/dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ def make_pipeline_sdk_required_install_packages():
'absl-py>=0.9,<0.13',
'ml-metadata' + select_constraint(
# LINT.IfChange
default='>=1.0.0,<1.1.0',
default='>=1.2.0,<1.3.0',
# LINT.ThenChange(tfx/workspace.bzl)
nightly='>=1.1.0.dev',
nightly='>=1.3.0.dev',
git_master='@git+https://github.com/google/ml-metadata@master'),
'packaging>=20,<21',
'portpicker>=1.3.1,<2',
Expand All @@ -73,7 +73,7 @@ def make_required_install_packages():
# Make sure to sync the versions of common dependencies (absl-py, numpy,
# and protobuf) with TF.
return make_pipeline_sdk_required_install_packages() + [
'apache-beam[gcp]>=2.29,<3',
'apache-beam[gcp]>=2.31,<3',
'attrs>=19.3.0,<21',
'click>=7,<8',
'google-cloud-aiplatform>=0.5.0,<0.8',
Expand All @@ -92,22 +92,22 @@ def make_required_install_packages():
'tensorflow>=1.15.2,!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.*,!=2.4.*,<3',
'tensorflow-hub>=0.9.0,<0.13',
'tensorflow-data-validation' + select_constraint(
default='>=1.0.0,<1.1.0',
nightly='>=1.1.0.dev',
default='>=1.2.0,<1.3.0',
nightly='>=1.3.0.dev',
git_master='@git+https://github.com/tensorflow/data-validation@master'
),
'tensorflow-model-analysis' + select_constraint(
default='>=0.31,<0.32',
nightly='>=0.32.0.dev',
default='>=0.33,<0.34',
nightly='>=0.34.0.dev',
git_master='@git+https://github.com/tensorflow/model-analysis@master'),
'tensorflow-serving-api>=1.15,!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.*,!=2.4.*,<3',
'tensorflow-transform' + select_constraint(
default='>=1.0.0,<1.1.0',
nightly='>=1.1.0.dev',
default='>=1.2.0,<1.3.0',
nightly='>=1.3.0.dev',
git_master='@git+https://github.com/tensorflow/transform@master'),
'tfx-bsl' + select_constraint(
default='>=1.0.0,<1.1.0',
nightly='>=1.1.0.dev',
default='>=1.2.0,<1.3.0',
nightly='>=1.3.0.dev',
git_master='@git+https://github.com/tensorflow/tfx-bsl@master'),
]

Expand All @@ -127,7 +127,7 @@ def make_extra_packages_kfp():
"""Prepare extra packages needed for Kubeflow Pipelines orchestrator."""
return [
'kfp>=1.6.1,<2',
'kfp-pipeline-spec>=0.1.7,<0.2',
'kfp-pipeline-spec>=0.1.8,<0.2',
]


Expand All @@ -143,7 +143,7 @@ def make_extra_packages_test():
def make_extra_packages_docker_image():
# Packages needed for tfx docker image.
return [
'kfp-pipeline-spec>=0.1.7,<0.2',
'kfp-pipeline-spec>=0.1.8,<0.2',
'mmh>=2.2,<3',
'python-snappy>=0.5,<0.6',
# Required for tfx/examples/penguin/penguin_utils_cloud_tuner.py
Expand All @@ -163,8 +163,8 @@ def make_extra_packages_tf_ranking():
return [
'tensorflow-ranking>=0.3.3,<0.4',
'struct2tensor' + select_constraint(
default='>=0.31,<0.32',
nightly='>=0.32.0.dev',
default='>=0.33,<0.34',
nightly='>=0.34.0.dev',
git_master='@git+https://github.com/google/struct2tensor@master'),
]

Expand Down
2 changes: 1 addition & 1 deletion tfx/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
"""Contains the version string of TFX."""

# Note that setup.py uses this version.
__version__ = '1.1.0.dev'
__version__ = '1.3.0.dev'
2 changes: 1 addition & 1 deletion tfx/workspace.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,6 @@ def tfx_workspace():
name = "com_github_google_ml_metadata",
repo = "google/ml-metadata",
# LINT.IfChange
tag = "v1.0.0",
tag = "v1.2.0",
# LINT.ThenChange(//tfx/dependencies.py)
)

0 comments on commit 30be4b3

Please sign in to comment.