Skip to content

Commit

Permalink
TFX 0.28.0 Release
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 360299166
  • Loading branch information
dhruvesh09 authored and tfx-copybara committed Mar 2, 2021
1 parent ac795f4 commit ba97c2a
Show file tree
Hide file tree
Showing 6 changed files with 67 additions and 35 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,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.27.0 | 0.27.0 | 2.0.0 | nightly (1.x/2.x) | 0.27.0 | 0.27.0 | 0.27.0 | 2.4.0 | 0.27.0 | 0.27.0
[GitHub master](https://github.com/tensorflow/tfx/blob/master/RELEASE.md) | 2.28.0 | 0.28.0 | 2.0.0 | nightly (1.x/2.x) | 0.28.0 | 0.28.0 | 0.28.0 | 2.4.0 | 0.28.0 | 0.28.1
0.28.0 | 2.28.0 | 0.28.0 | 2.0.0 | 1.15.0 / 2.4.0 | 0.28.0 | 0.28.0 | 0.28.0 | 2.4.0 | 0.28.0 | 0.28.1
0.27.0 | 2.27.0 | 0.27.0 | 2.0.0 | 1.15.0 / 2.4.0 | 0.27.0 | 0.27.0 | 0.27.0 | 2.4.0 | 0.27.0 | 0.27.0
0.26.0 | 2.25.0 | 0.26.0 | 0.17.0 | 1.15.0 / 2.3.0 | 0.26.0 | 0.26.0 | 0.26.0 | 2.3.0 | 0.26.0 | 0.26.0
0.25.0 | 2.25.0 | 0.24.0 | 0.17.0 | 1.15.0 / 2.3.0 | 0.25.0 | 0.25.0 | 0.25.0 | 2.3.0 | 0.25.0 | 0.25.0
Expand Down
65 changes: 48 additions & 17 deletions RELEASE.md
Original file line number Diff line number Diff line change
@@ -1,39 +1,70 @@
# Current Version (Still in Development)

## Major Features and Improvements
* Publically released TFX docker image in tensorflow/tfx will use GPU

## Breaking Changes

### For Pipeline Authors

### For Component Authors

## Deprecations

## Bug Fixes and Other Changes

## Documentation Updates

# Version 0.28.0

## Major Features and Improvements

* Publically released TFX docker image in [tensorflow/tfx](
https://hub.docker.com/r/tensorflow/tfx) will use GPU
compatible based TensorFlow images from [Deep Learning Containers](
https://cloud.google.com/ai-platform/deep-learning-containers). This allow
these images to be used with GPU out of box.
* Added an example pipeline for a ranking model (using
[tensorflow_ranking](https://github.com/tensorflow/ranking))
at `tfx/examples/ranking`. More documentation will be available in future
releases.
* Added a [spans_resolver](
https://github.com/tensorflow/tfx/blob/master/tfx/dsl/experimental/spans_resolver.py)
that can resolve spans based on range_config.

* Added an example pipeline for a ranking model (using
[tensorflow_ranking](https://github.com/tensorflow/ranking))
at `tfx/examples/ranking`. More documentation will be available in future
releases.
## Breaking Changes

* Added a resolver that can resolve spans based on range_config.

## Breaking changes

### For pipeline authors
### For Pipeline Authors

* Custom arg key in `google_cloud_ai_platform.tuner.executor` is renamed to
`ai_platform_tuning_args` from `ai_platform_training_args`, to better
distinguish usage with Trainer.

### For component authors

* N/A

## Deprecations
* Deprecated input/output compatibility aliases for Transform.

* Deprecated input/output compatibility aliases for SchemaGen.
* Deprecated input/output compatibility aliases for Transform and SchemaGen.

## Bug fixes and other changes
* Change Bigquery ML Pusher to publish the model to the user specified project
instead of the default project from run time context.
## Bug Fixes and Other Changes

## Documentation updates
* Published a migration instruction for legacy custom Launcher developers.
* Change Bigquery ML Pusher to publish the model to the user specified project
instead of the default project from run time context.
* Depends on `apache-beam[gcp]>=2.28,<3`.
* Depends on `ml-metadata>=0.28.0,<0.29.0`.
* Depends on `kfp-pipeline-spec>=0.1.6,<0.2`.
* Depends on `struct2tensor>=0.28.0,<0.29.0`.
* Depends on `tensorflow-data-validation>=0.28.0,<0.29.0`.
* Depends on `tensorflow-model-analysis>=0.28.0,<0.29.0`.
* Depends on `tensorflow-transform>=0.28.0,<0.29.0`.
* Depends on `tfx-bsl>=0.28.1,<0.29.0`.

## Documentation Updates

* Published a [migration instruction](
https://github.com/tensorflow/tfx/blob/master/tfx/orchestration/launcher/README.md)
for legacy custom launcher developers.

# Version 0.27.0

Expand Down
28 changes: 14 additions & 14 deletions tfx/dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ def make_pipeline_sdk_required_install_packages():
'absl-py>=0.9,<0.11',
'ml-metadata' + select_constraint(
# LINT.IfChange
default='>=0.27,<0.28',
default='>=0.28,<0.29',
# LINT.ThenChange(tfx/workspace.bzl)
nightly='>=0.28.0.dev',
nightly='>=0.29.0.dev',
git_master='@git+https://github.com/google/ml-metadata@master'),
'protobuf>=3.12.2,<4',
'six>=1.10,<2',
Expand All @@ -72,7 +72,7 @@ def make_required_install_packages():
# six, and protobuf) with TF.
return make_pipeline_sdk_required_install_packages() + [
# LINT.IfChange
'apache-beam[gcp]>=2.27,<3',
'apache-beam[gcp]>=2.28,<3',
# LINT.ThenChange(examples/chicago_taxi_pipeline/setup/setup_beam.sh)
'attrs>=19.3.0,<21',
'click>=7,<8',
Expand All @@ -92,23 +92,23 @@ def make_required_install_packages():
# TODO(b/159488890): remove user module-only dependency.
'tensorflow-cloud>=0.1,<0.2',
'tensorflow-data-validation' + select_constraint(
default='>=0.27,<0.28',
nightly='>=0.28.0.dev',
default='>=0.28,<0.29',
nightly='>=0.29.0.dev',
git_master='@git+https://github.com/tensorflow/data-validation@master'
),
'tensorflow-model-analysis' + select_constraint(
default='>=0.27,<0.28',
nightly='>=0.28.0.dev',
default='>=0.28,<0.29',
nightly='>=0.29.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.*,<3',
'tensorflow-transform' + select_constraint(
default='>=0.27,<0.28',
nightly='>=0.28.0.dev',
default='>=0.28,<0.29',
nightly='>=0.29.0.dev',
git_master='@git+https://github.com/tensorflow/transform@master'),
'tfx-bsl' + select_constraint(
default='>=0.27,<0.28',
nightly='>=0.28.0.dev',
default='>=0.28.1,<0.29',
nightly='>=0.29.0.dev',
git_master='@git+https://github.com/tensorflow/tfx-bsl@master'),
]

Expand All @@ -127,7 +127,7 @@ def make_extra_packages_test():
# apache-airflow 1.0.14 or later.(github.com/apache/airflow/issues/11965).
'cattrs==1.0.0',
'kfp>=1.1.0,<2',
'kfp-pipeline-spec>=0.1.5,<0.2',
'kfp-pipeline-spec>=0.1.6,<0.2',
'pytest>=5,<6',
# TODO(b/175740170): Delete pinned werkzeug version after using the new
# pip resolver.
Expand All @@ -138,7 +138,7 @@ def make_extra_packages_test():
def make_extra_packages_docker_image():
# Packages needed for tfx docker image.
return [
'kfp-pipeline-spec>=0.1.5,<0.2',
'kfp-pipeline-spec>=0.1.6,<0.2',
'mmh>=2.2,<3',
'python-snappy>=0.5,<0.6',
]
Expand Down Expand Up @@ -168,7 +168,7 @@ def make_extra_packages_examples():
'tflite-support>=0.1.0a1,<0.1.1',
# Required for tfx/examples/ranking
'tensorflow-ranking>=0.3.3,<0.4',
'struct2tensor>=0.27,<0.28',
'struct2tensor>=0.28,<0.29',
]


Expand Down
2 changes: 1 addition & 1 deletion tfx/examples/chicago_taxi_pipeline/setup/setup_beam.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ BEAM_DIR="$WORK_DIR/beam"
GIT_COMMAND=`which git`
BEAM_REPO="https://github.com/apache/beam"
# LINT.IfChange
BEAM_BRANCH="release-2.27.0"
BEAM_BRANCH="release-2.28.0"
# LINT.ThenChange(../../../dependencies.py)


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__ = '0.28.0.dev'
__version__ = '0.29.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 = "v0.27.0",
tag = "v0.28.0",
# LINT.ThenChange(//tfx/dependencies.py)
)

0 comments on commit ba97c2a

Please sign in to comment.