* chore(mlmd): Upgrade ML Metadata to 1.14.0. * fix requirements, skip visualization. * go mod tidy * mlmd new enum in frontend * mlmd license * mlmd license again, using the failure test diff * again |
||
|---|---|---|
| .. | ||
| go/ml_metadata | ||
| ml_metadata/proto | ||
| .gitignore | ||
| LICENSE | ||
| Makefile | ||
| README.md | ||
| VERSION | ||
| go.mod | ||
| go.sum | ||
| update_version.sh | ||
README.md
Machine Learning Metadata
Upstream repo location: https://github.com/google/ml-metadata.
Upgrade MLMD versions
First change the MLMD version in VERSION file in current folder, for example: $VERSION=1.2.0.
echo -n "$VERSION" > VERSION
Run the update_version.sh script in current folder to update related image references:
./update_version.sh
Run update_dependencies.sh in the following way:
../../hack/update-all-requirements.sh
Make sure the generated files are as expected. Update clients as described below:
Build golang gRPC client from proto
Prerequisites
Make sure you have installed tools and packages in grpc golang prerequisites.
NOTE: The versions for tools are important, following is a record for when the version combination works successfully.
apt install -y protobuf-compiler=3.15.8
go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.26
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.1
Command
make
Adopt new golang client in backend
After submitting the changes from above command, find all the modules with github.com/kubeflow/pipelines/third_party/ml-metadata in all go.mod files. Update them by the following steps:
- Navigate to the folder which contains the
go.modthat you want to update. - Run
go get github.com/kubeflow/pipelines/third_party/ml-metadata@latest. go mod tidy
To learn more, refer to Upgrading or downgrading a dependency.
Build JS client from proto
Refer to frontend/README.md for MLMD components - Building generated metadata Protocol Bufers, for example: you can search for npm run build:replace command.