Releases: google/ml-metadata
Releases · google/ml-metadata
MLMD v0.21.1
Release 0.21.1
Major Features and Improvements
- Refactoring MetadataAccessObject to allow for more flexibility.
- Release a script to generate Python API documentation.
Bug Fixes and Other Changes
- GetArtifacts/Executions/Contexts returns OK instead of NotFound to align
with other listing APIs. - Handles mysql stale connection error 2006 by client-side reconnection.
- Handles mysql innodb deadlock error (1213) and lock timeout (1205) via
client-side retry. - Avoids update node or properties without changes.
Breaking changes
Deprecations
MLMD v0.21.0
Release 0.21.0
Major Features and Improvements
- Adding artifact states.
- Supporting connection retries to gRPC server.
- Allowing the Python API put_execution to update or insert related contexts.
- Adding a new execution state: CANCELED. This indicates an execution being
canceled. - Adding two event types: INTERNAL_INPUT and INTERNAL_OUTPUT indended to be
used by mlmd powered systems (e.g., orchestrator). - Add support to pass migration options as command line parameters to the MLMD
gRPC server. - Adding a new Python API get_context_by_type_and_name to allow querying a
context by its type and context name at the same time.
Bug Fixes and Other Changes
Breaking Changes
- The Python API put_execution will need an extra input argument to pass in
contexts and return updated context_ids. Users using the old API could pass
in None or an empty list as context and add another variable to hold the
returned context_ids to migrate.
Deprecations
MLMD v0.21.0-rc0
Release 0.21.0
Major Features and Improvements
- Adding artifact states.
- Supporting connection retries to gRPC server.
- Allowing the Python API put_execution to update or insert related contexts.
- Adding a new execution state: CANCELED. This indicates an execution being
canceled. - Adding two event types: INTERNAL_INPUT and INTERNAL_OUTPUT indended to be
used by mlmd powered systems (e.g., orchestrator). - Add support to pass migration options as command line parameters to the MLMD
gRPC server.
Bug Fixes and Other Changes
Breaking Changes
- The Python API put_execution will need an extra input argument to pass in
contexts and return updated context_ids. Users using the old API could pass
in None or an empty list as context and add another variable to hold the
returned context_ids to migrate.
Deprecations
MLMD v0.15.2
Release 0.15.2
Major Features and Improvements
Bug Fixes and Other Changes
- Passes bytes instead of string to grpc.ssl_channel_credentials.
- Align GRPC python client stub error code with swig client error code.
- Add verify_server_cert support to MySQL source SSL options.
Breaking Changes
Deprecations
MLMD v0.15.1
Release 0.15.1
Major Features and Improvements
- Add migration options to gRPC MetadataStoreServerConfig.
- Disable auto schema migration by default during connection. The user needs
to explicitly enable it when connecting an older database. - Support SSL options when using MySQL metadata source.
Bug Fixes and Other Changes
- Fixes MySQL errors with concurrent connection to an empty database. Now,
MLMD returns Aborted when concurrent connection error happens and the caller
can retry appropriately.
Breaking Changes
Deprecations
- Deprecates proto field MigrationOptions.disable_upgrade_migration.
- Deprecates
disable_upgrade_migration
in python MetadataStore constructor.
MLMD v0.15.0
Release 0.15.0
Major Features and Improvements
- Supports Sqlite for Windows and adds scripts to build wheels for python3 in
Windows. - Provides GetContextTypes to list all Context Types.
- MLMD ConnectionConfig provides an option to disable an automatic upgrade.
- Supports downgrade of the database schema version to older versions.
Bug Fixes and Other Changes
- Depended on
tensorflow>=1.15,<3
- Starting from 1.15, package
tensorflow
comes with GPU support. Users won't need to choose between
tensorflow
andtensorflow-gpu
. - Caveat:
tensorflow
2.0.0 is an exception and does not have GPU
support. Iftensorflow-gpu
2.0.0 is installed before installing
ml_metadata
, it will be replaced withtensorflow
2.0.0.
Re-installtensorflow-gpu
2.0.0 if needed.
Breaking Changes
Deprecations
MLMD v1.15.0-rc0
Release 0.15.0
Major Features and Improvements
- Add Dockerfile for building a containerized version of the MLMD gRPC server.
- Add support for connecting to a MYSQL Metadata Source via Unix sockets.
- Add support to pass mysql connection configuration as command line
parameters to the MLMD gRPC server. - Provides the ability for metadata_store.py to communicate with the MLMD gRPC
server, as an alternative to connecting directly with a database.
Bug Fixes and Other Changes
Breaking Changes
Deprecations
Release v0.14.0
Release 0.14.0
Major Features and Improvements
- Add Context and ContextType to MLMD data model, which are used for capturing
grouping concepts (e.g., Project, Pipeline, Owner, etc) of Artifacts and
Executions. - Add CACHED state to Execution state enum to model an execution that is
skipped due to cached results. - Add the ability to list all instances of ArtifactType and ExecutionType.
- Support Type update and enforce backward compatibility.
- Support atomic creation and publishing of an execution.
- Support building a manylinux2010 compliant wheel in docker so that it works
in other linux OS outside of Ubuntu. - Provide MLMD migration scheme to migrate out-of-date MLMD instance.
- Support creating and querying ContextType.
- Support creating, updating and querying Context instances.
- Support grouping artifact and executions into contexts.
- Support querying related artifacts and executions through contexts.
Bug Fixes and Other Changes
Breaking changes
Deprecations
v0.13.2
Version 0.13.2
Major Features and Improvements
- Established ML Metadata as a standalone package.
- Provides a way to store information about how each artifact (e.g. file) was
generated. - Provides tools for determining provenance.