-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to start a mlflow remote server? #40
Comments
I don't think this is a real issue. However, here's one possible solution to your problem:
If you want to expose a ml server running on your local machine, services like https://ngrok.com/ might help. Bear in mind that exposing your local machine to the Internet involves taking some security risks. |
mlflow uses flask to build server according to flask's doc, flask app.run is:
if you want a remote server, try some thing like uwsgi, gunicorn |
I set up my machine the same way as suggested by @Cs4r. However, when attempting to connect to the MLflow UI using the public IP, I get a 404 page. Any idea if this is a configuration problem or a bug? Thanks. |
It might be related to your machine's firewall configuration. I tested what I suggested above and worked fine on my home computer. Bear in mind that your company might be imposing a strict firewall policy that you are not aware of. I believe this doesn't have to do with mlflow. |
I'm encountering the same problem, the server is running and listening, but i can't get anything else than a 404 error... I can see the requests on the server console. Dockerfile is not functional either... |
Undoing the commit for #16 resolved the error locally. This is a known Flask-related issue: https://stackoverflow.com/questions/29375903/flask-app-only-returns-404s-regardless-of-how-it-is-run In order to expose the service from a remote machine, my guess is that the host in |
One way around this problem is to simply specify the public IP of the the remote mlflow server in cli.py in the call to |
FYI this should be fixed in the master branch now. Try |
@mateiz : Is it released? I tried building from source code but couldn't get around with |
It should be in the code. Did you follow the instructions in https://github.com/databricks/mlflow/blob/master/CONTRIBUTING.rst for how to run mlflow from source? Maybe you have another one on your PATH. |
Hi, I'm having a similar issue: I have installed mlflow with pip pointing at the source (pip3.6 install git+https://github.com/databricks/mlflow.git) and I can run the tracking server with "mlflow server -h myip -p 5000". |
Ah, I'm not sure the web UI works when you install it that way. I believe you have to run the JS part of the web UI manually with npm as described at https://github.com/databricks/mlflow/blob/master/CONTRIBUTING.rst. We just published a 0.2.0 release btw so that will have the updated server and working UI if you just pip install mlflow. |
thanks, updating to 0.2.0 did the trick! |
Fixed with |
Add Javadocs for MLflow 1.1 release
I had to allow access to the port to get it working with the host option.
|
System information
Describe the problem
How to start a mlflow remote server? By default "mlflow ui" starts a mlflow server on 127.0.0.1:5000, which is hard coded in the code of the mlflow server. I cannot access the server from outside. Examples and documentations shows that server only runs in localhost. How could I configure mlflow server so that I can access the server remotely?
The text was updated successfully, but these errors were encountered: