Skip to content

Commit 972ffbb

Browse files
dhruvesh09tfx-copybara
authored andcommitted
TFX 0.23.0 Release
PiperOrigin-RevId: 327377289
1 parent 1399624 commit 972ffbb

File tree

9 files changed

+68
-27
lines changed

9 files changed

+68
-27
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,9 @@ but other *untested* combinations may also work.
6161

6262
tfx | apache-beam[gcp] | ml-metadata | pyarrow | tensorflow | tensorflow-data-validation | tensorflow-metadata | tensorflow-model-analysis | tensorflow-transform | tfx-bsl |
6363
------------------------------------------------------------------------- | ---------------- | ----------- | --------| ----------------- | -------------------------- | ------------------- | ------------------------- | -------------------- | ------- |
64-
[GitHub master](https://github.com/tensorflow/tfx/blob/master/RELEASE.md) | 2.21.0 | 0.22.0 | 0.16.0 | nightly (1.x/2.x) | 0.22.0 | 0.22.0 | 0.22.1 | 0.22.0 | 0.22.0 |
64+
[GitHub master](https://github.com/tensorflow/tfx/blob/master/RELEASE.md) | 2.23.0 | 0.23.0 | 0.17.0 | nightly (1.x/2.x) | 0.23.0 | 0.23.0 | 0.23.0 | 0.23.0 | 0.23.0 |
65+
0.23.0 | 2.23.0 | 0.23.0 | 0.17.0 | 1.15.0 / 2.3.0 | 0.23.0 | 0.23.0 | 0.23.0 | 0.23.0 | 0.23.0 |
66+
0.22.1 | 2.21.0 | 0.22.1 | 0.16.0 | 1.15.0 / 2.2.0 | 0.22.2 | 0.22.2 | 0.22.2 | 0.22.0 | 0.22.1 |
6567
0.22.0 | 2.21.0 | 0.22.0 | 0.16.0 | 1.15.0 / 2.2.0 | 0.22.0 | 0.22.0 | 0.22.1 | 0.22.0 | 0.22.0 |
6668
0.21.4 | 2.17.0 | 0.21.2 | 0.15.0 | 1.15.0 / 2.1.0 | 0.21.5 | 0.21.1 | 0.21.5 | 0.21.2 | 0.21.4 |
6769
0.21.3 | 2.17.0 | 0.21.2 | 0.15.0 | 1.15.0 / 2.1.0 | 0.21.5 | 0.21.1 | 0.21.5 | 0.21.2 | 0.21.4 |

RELEASE.md

Lines changed: 52 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
# Current Version(Still in Development)
22

3+
## Major Features and Improvements
4+
5+
## Bug fixes and other changes
6+
7+
## Breaking changes
8+
9+
### For pipeline authors
10+
11+
### For component authors
12+
13+
## Documentation updates
14+
15+
## Deprecations
16+
17+
# Version 0.23.0
18+
319
## Major Features and Improvements
420
* Added TFX DSL IR compiler that encodes a TFX pipeline into a DSL proto.
521
* Supported feature based split partition in ExampleGen.
@@ -8,7 +24,7 @@
824
Deprecated ExampleGen input (external) artifact.
925
* Added ModelRun artifact for Trainer for storing training related files,
1026
e.g., Tensorboard logs. Trainer's Model artifact now only contain pure
11-
models (check utils/path_utils.py for details).
27+
models (check `tfx/utils/path_utils.py` for details).
1228
* Added support for `tf.train.SequenceExample` in ExampleGen:
1329
* ImportExampleGen now supports `tf.train.SequenceExample` importing.
1430
* base_example_gen_executor now supports `tf.train.SequenceExample` as
@@ -29,7 +45,8 @@
2945
data through `tfx.components.util.tfxio_utils`. As TFX is going to
3046
support more data payload formats and data container formats, using
3147
`tfxio_utils` is encouraged to avoid dealing directly with each combination.
32-
TFXIO is the interface of [Standardized TFX Inputs](https://github.com/tensorflow/community/blob/master/rfcs/20191017-tfx-standardized-inputs.md).
48+
TFXIO is the interface of [Standardized TFX Inputs](
49+
https://github.com/tensorflow/community/blob/master/rfcs/20191017-tfx-standardized-inputs.md).
3350
* Added experimental BaseStubExecutor and StubComponentLauncher to test TFX
3451
pipelines.
3552
* Added experimental TFX Pipeline Recorder to record output artifacts of the
@@ -38,8 +55,8 @@
3855
Channel's artifact count. This enables Transform component to process
3956
multiple artifacts.
4057
* Transform component's transformed examples output is now optional (enabled
41-
by default) -- specify parameter `materialize=False` when constructing
42-
the component to disable.
58+
by default). This can be disabled by specifying parameter
59+
`materialize=False` when constructing the component.
4360
* Supported `Version` spec in input config for file based ExampleGen.
4461
* Added custom config to Transform component and made it available to
4562
pre-processing fn.
@@ -54,26 +71,39 @@
5471
comprehensive solution for idempotent execution.
5572
* Made evaluator output optional (while still recommended) for pusher.
5673
* Moved BigQueryExampleGen to `tfx.extensions.google_cloud_big_query`.
74+
* Moved BigQuery ML Pusher to `tfx.extensions.google_cloud_big_query.pusher`.
5775
* Removed Tuner from custom_components/ as it's supported under components/
5876
now.
5977
* Added support of non tf.train.Example protos as internal data payload
6078
format by ImportExampleGen.
6179
* Used thread local storage for `label_utils.scoped_labels()` to make it
6280
thread safe.
63-
* Stopped requiring `avro-python3`.
6481
* Requires [Bazel](https://bazel.build/) to build TFX source code.
6582
* Upgraded python version in TFX docker images to 3.7. Older version of
6683
python (2.7/3.5/3.6) is not available anymore in `tensorflow/tfx` images
6784
on docker hub. Virtualenv is not used anymore.
85+
* Stopped requiring `avro-python3`.
86+
* Depends on `absl-py>=0.7,<0.9`.
87+
* Depends on `apache-beam[gcp]>=2.23,<3`.
6888
* Depends on `pyarrow>=0.17,<0.18`.
6989
* Depends on `attrs>=19.3.0,<20`.
90+
* Depends on `ml-metadata>=0.23,<0.24`.
91+
* Depends on `tensorflow>=1.15.2,!=2.0.*,!=2.1.*,!=2.2.*,<3`.
92+
* Note: Dependency like `tensorflow-transform` might impose a narrower
93+
range of `tensorflow`.
94+
* Depends on `tensorflow-data-validation>=0.23,<0.24`.
95+
* Depends on `tensorflow-model-analysis>=0.23,<0.24`.
96+
* Depends on `tensorflow-serving-api>=1.15,!=2.0.*,!=2.1.*,!=2.2.*,<3`.
97+
* Depends on `tensorflow-transform>=0.23,<0.24`.
98+
* Depends on `tfx-bsl>=0.23,<0.24`.
7099

71100
## Breaking changes
72101
* Changed the URIs of the value artifacts to point to files.
73102

74103
### For pipeline authors
75104
* Moved BigQueryExampleGen to `tfx.extensions.google_cloud_big_query`. The
76-
previous module path from `tfx.components` is not available anymore.
105+
previous module path from `tfx.components` is not available anymore. This is
106+
a breaking change.
77107
* Moved BigQuery ML Pusher to `tfx.extensions.google_cloud_big_query.pusher`.
78108
The previous module path from `tfx.extensions.google_cloud_big_query_ml`
79109
is not available anymore.
@@ -83,29 +113,34 @@
83113
FileBaseExampleGen.
84114
* Changed ExampleGen to take a string as input source directly instead of a
85115
Channel of external artifact:
86-
* `input` Channel is deprecated. The use of `input` is valid but
87-
should change to string type `input_base` ASAP.
88116
* Previously deprecated `input_base` Channel is changed to string type
89117
instead of Channel. This is a breaking change, users should pass string
90118
directly to `input_base`.
91-
* ExternalArtifact and `external_input` function are deprecated. The use
92-
of `external_input` with ExampleGen `input` is still valid but should change
93-
to use `input_base` ASAP.
94119
* Fully removed csv_input and tfrecord_input in dsl_utils. This is a breaking
95120
change, users should pass string directly to `input_base`.
121+
122+
### For component authors
96123
* Changed GetInputSourceToExamplePTransform interface by removing input_dict.
97124
This is a breaking change, custom ExampleGens need to follow the interface
98125
change.
99-
100-
### For component authors
126+
* Changed ExampleGen to take a string as input source directly instead of a
127+
Channel of external artifact:
128+
* `input` Channel is deprecated. The use of `input` is valid but
129+
should change to string type `input_base` ASAP.
101130

102131
## Documentation updates
132+
* N/A
103133

104134
## Deprecations
135+
* ExternalArtifact and `external_input` function are deprecated. The use
136+
of `external_input` with ExampleGen `input` is still valid but should change
137+
to use `input_base` ASAP.
138+
* Note: We plan to remove Python 3.5 support after this release.
105139

106140
# Version 0.22.1
107141

108142
## Major Features and Improvements
143+
* N/A
109144

110145
## Bug fixes and other changes
111146
* Depends on 'tensorflowjs>=2.0.1.post1,<3' for `[all]` dependency.
@@ -118,12 +153,16 @@
118153
## Breaking changes
119154

120155
### For pipeline authors
156+
* N/A
121157

122158
### For component authors
159+
* N/A
123160

124161
## Documentation updates
162+
* N/A
125163

126164
## Deprecations
165+
* N/A
127166

128167
# Version 0.22.0
129168

tfx/dependencies.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ def make_required_install_packages():
2020
# six, and protobuf) with TF.
2121
# TODO(b/130767399): add flask once the frontend is exposed externally.
2222
return [
23-
'absl-py>=0.1.6,<0.9',
23+
'absl-py>=0.7,<0.9',
2424
# LINT.IfChange
25-
'apache-beam[gcp]>=2.22,<3',
25+
'apache-beam[gcp]>=2.23,<3',
2626
# LINT.ThenChange(examples/chicago_taxi_pipeline/setup/setup_beam.sh)
2727
'attrs>=19.3.0,<20',
2828
'click>=7,<8',
@@ -41,11 +41,11 @@ def make_required_install_packages():
4141
'pyarrow>=0.17,<0.18',
4242
'pyyaml>=3.12,<6',
4343
'six>=1.10,<2',
44-
'tensorflow>=1.15,!=2.0.*,!=2.1.*,!=2.2.*,<3',
45-
'tensorflow-data-validation>=0.22.2,<0.23',
46-
'tensorflow-model-analysis>=0.22.2,<0.23',
47-
'tensorflow-serving-api>=1.15,<3',
48-
'tensorflow-transform>=0.22,<0.23',
44+
'tensorflow>=1.15.2,!=2.0.*,!=2.1.*,!=2.2.*,<3',
45+
'tensorflow-data-validation>=0.23,<0.24',
46+
'tensorflow-model-analysis>=0.23,<0.24',
47+
'tensorflow-serving-api>=1.15,!=2.0.*,!=2.1.*,!=2.2.*,<3',
48+
'tensorflow-transform>=0.23,<0.24',
4949
'tfx-bsl>=0.23,<0.24',
5050
]
5151

tfx/examples/chicago_taxi_pipeline/setup/setup_beam.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ BEAM_DIR="$WORK_DIR/beam"
1919
GIT_COMMAND=`which git`
2020
BEAM_REPO="https://github.com/apache/beam"
2121
# LINT.IfChange
22-
BEAM_BRANCH="release-2.22.0"
22+
BEAM_BRANCH="release-2.23.0"
2323
# LINT.ThenChange(../../../dependencies.py)
2424

2525

tfx/examples/cifar10/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
],
5252
namespace_packages=[],
5353
install_requires=[
54-
'tfx>=0.22.0,<=0.23.0.dev',
54+
'tfx>=0.23.0,<=0.24.0.dev',
5555
'tflite-support>=0.1.0a1,<0.1.1',
5656
'flatbuffers>=1.12,<1.13',
5757
'tensorflowjs>=2.0.1,<2.0.2',

tfx/examples/custom_components/hello_world/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
'Topic :: Software Development :: Libraries :: Python Modules',
5858
],
5959
namespace_packages=[],
60-
install_requires=['tfx>=0.22.0,<0.23.0.dev'],
60+
install_requires=['tfx>=0.23.0,<0.24.0.dev'],
6161
python_requires='>=3.5,<4',
6262
packages=find_packages(),
6363
include_package_data=True,

tfx/examples/custom_components/presto_example_gen/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ def generate_proto():
9595
namespace_packages=[],
9696
install_requires=[
9797
'presto-python-client>=0.7,<0.8',
98-
'tfx>=0.22.0,<=0.23.0.dev',
98+
'tfx>=0.23.0,<=0.24.0.dev',
9999
],
100100
python_requires='>=3.5,<4',
101101
packages=find_packages(),

tfx/examples/custom_components/slack/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def _make_required_install_packages():
2525
# six, and protobuf) with TF.
2626
return [
2727
'slackclient>=2.0.0,<2.0.1',
28-
'tfx>=0.22.0,<=0.23.0.dev',
28+
'tfx>=0.23.0,<=0.24.0.dev',
2929
'websocket-client>=0.56,<0.60',
3030
]
3131

tfx/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@
1515
"""Contains the version string of TFX."""
1616

1717
# Note that setup.py uses this version.
18-
__version__ = '0.23.0.dev'
18+
__version__ = '0.24.0.dev'

0 commit comments

Comments
 (0)