How to stop mlflow server

How to Stop MLflow Server

To stop MLflow server, you need to follow these steps:

  1. Open a command prompt or terminal on your machine.
  2. Navigate to the directory where you have MLflow installed. For example, if you installed MLflow via pip, you can use the following command:

                    $ cd /path/to/mlflow
                
  3. Once you are in the MLflow directory, you can stop the server using the appropriate command based on your setup. Here are a few examples:

    • If you started the server with the “mlflow server” command:

                              $ mlflow server stop
                          
    • If you started the server with the “mlflow server –backend-store-uri” command and specified a tracking URI:

                              $ mlflow server stop --backend-store-uri sqlite:///mlflow.db
                          

      Replace “sqlite:///mlflow.db” with the actual tracking URI you used.

    • If you started the server using Docker:

                              $ docker stop mlflow
                          

      This assumes that the name of the running container is “mlflow”. If you named it differently, replace “mlflow” accordingly.

  4. After executing the appropriate stop command, the MLflow server will be terminated, and you will no longer be able to access it.

Leave a comment