Skip to content

adrianmarino/mlflow-systemd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MLflow setup

Install mlflow as systemd daemon under linux. This run with your regular linux user.

Requirements

  • miniconda
  • mariadb/mysql

Setup database

$ mysql -u root -e "CREATE DATABASE IF NOT EXISTS mlflow"

Setup mlflow

Step 1: Clone repo.

$ cd ~
$ git clone https://github.com/adrianmarino/mlflow-systemd.git
$ mv mlflow-systemd mlflow
$ cd mlflow

Step 2: Create conda environment required to run mlflow.

$ conda env update -f environment.yml

Step 3: Copy service file user level systemd config path:

$ cp mlflow.service ~/.config/systemd/user/

Step 4: Refresh systemd daemon with updated config.

$ systemctl --user daemon-reload

Step 5: Start service on boot.

$ systemctl --user enable mlflow

Step 6: Start mlflow as systemd daemon.

$ systemctl --user start mlflow

About

MLFlow systemd service

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages