Skip to content

getml/getml-mlflow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

getml-mlflow

How to use

Prepare the Python environment.

$ uv venv

Install getml-mlflow via pip from pypi.

$ uv pip install getml-mlflow

Install latest getml-mlflow via pip from repository.

$ uv pip install "git+ssh://[email protected]/getml/getml-mlflow.git"

Run the mlflow server with its browser UI.

$ uv run mlflow ui

Open the mlflow UI in your browser.

$ open http://localhost:5000

Documentation

See User Guide

See API Reference

Log via mlflow

To log information from getML pipelines and its fit, score, predict and transform methods into mlflow, you can activate the mlflow autologging capabilities.

import getml_mlflow
getml_mlflow.autolog()

You can try this with our demonstrational notebooks and the community variants.

Delete a deleted experiment

By deleting an experiment in the mlflow UI, the experiment is still preset in the aether... Even when deleting the experiment via the mlflow CLI, the experiment is still present in the aether...

$ uv run mlflow experiments search --view all
Experiment Id       Name            Artifact Location
------------------  --------------  ------------------------------------
0                   Default         mlflow-artifacts:/0
888888888888888888  interstate94    mlflow-artifacts:/888888888888888888

$ uv run mlflow  experiments  delete -x 888888888888888888
Experiment with ID 888888888888888888 has been deleted.

Creating another experiment with the same name will result in the following error:

RestException: RESOURCE_ALREADY_EXISTS: Experiment 'interstate94' already exists in deleted state. You can restore the experiment, or permanently delete the experiment from the .trash folder (under tracking server's root folder) in order to use this experiment name again.

You have to delete the experiment from the aether via

$ rm -rf mlruns/.trash/888888888888888888/
$ MLFLOW_TRACKING_URI="http://localhost:5000" uv run mlflow gc

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages