Skip to content

Log model doesn't work in example

Hello, when runnning the experiment on the latest versoin of github, the log_model function didn't work.

At first I installed all the requirements in the exact version they were in the requirements.txt(using the specified python version), and I got the following error:

WARNING mlflow.models.model: Logging model metadata to the tracking server has failed, possibly due older server version. The model artifacts have been logged successfully under mlflow-artifacts:/candidate:58. In addition to exporting model artifacts, MLflow clients 1.7.0 and above attempt to record model metadata to the tracking store. If logging to a mlflow server via REST, consider upgrading the server version to MLflow 1.7.0 or above. Set logging level to DEBUG via logging.getLogger("mlflow").setLevel(logging.DEBUG) to see the full traceback.

I then installed the recent versoins of the mlflow library, and i got the following error on the same log_model function:

mlflow.exceptions.RestException: INTERNAL_ERROR: Response: {'error': '404 Not Found'}

The example also doesn't work with our local gitlab that is in version v16.11.6-ee