'How to copy local runs from mlflow to remote tracking server?

Dear mlflow community,

I am struggeling with a performant environment for both testing and production.

What I want to do is, train models locally and compare them in mlflow. In case I have found a good model I would like to push it to a remote mlflow instance.

For this purpose I have set up a tracking server with postgres and S3.

How can I push the model and all artifacts in the run to the remote mlflfow instance?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source