0

I am doing a POC with the MLMD library. I want to expose a grpc/REST service on the MLMD schemas.

I am referring this official guide. https://www.tensorflow.org/tfx/guide/mlmd#use_mlmd_with_a_remote_grpc_server

But I couldn't start the server the way it is mentioned on the above tutorial.

bazel run -c opt --define grpc_no_ares=true //ml_metadata/metadata_store:metadata_store_server

I created a config file(mlmd_server.conf) in my local env.

connection_config {
  sqlite {
    filename_uri: '/tmp/test_db'
    connection_mode: READWRITE_OPENCREATE
  }
}

but it didn't work. I have not used bazel before. I am not sure if I need to set some target for this build/run.

bazel run -c opt --define grpc_no_ares=true metadata_store_server_config_file=mlmd_server.conf

Can you please help?

0 Answers0