Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/konradmalik/mlfix
mlflow artifact store migration fix tool
https://github.com/konradmalik/mlfix
cli machine-learning ml mlflow python tool
Last synced: about 7 hours ago
JSON representation
mlflow artifact store migration fix tool
- Host: GitHub
- URL: https://github.com/konradmalik/mlfix
- Owner: konradmalik
- License: mit
- Created: 2021-05-02T12:56:03.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-05-02T13:09:53.000Z (over 3 years ago)
- Last Synced: 2024-08-11T09:49:38.325Z (3 months ago)
- Topics: cli, machine-learning, ml, mlflow, python, tool
- Language: Python
- Homepage:
- Size: 10.7 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
![tests](https://github.com/konradmalik/mlfix/actions/workflows/test.yaml/badge.svg) ![publishing](https://github.com/konradmalik/mlfix/actions/workflows/publish.yaml/badge.svg) [![PyPI version](https://badge.fury.io/py/mlfix.svg)](https://badge.fury.io/py/mlfix)
# mlfix
mlflow artifact store migration fix tool
## Motivation
Currently the is no way to natively make models trained using mlflow portable across local machines or from remote to local,
while keeping all the benefits (working commands etc.) of the mlflow environment (see for example [this issue](https://github.com/mlflow/mlflow/issues/3144)).This is especially bad in small teams, local development or just prototyping.
This tool makes it easy to fix existing mlflow artifact store to current path.
Future work may include migrating existing artifact stores, only specific experiments etc.
Currently [mlf-core](https://github.com/mlf-core/mlf-core) also supports such functionality, but if you are not using mlf-core and want just to fix your mlruns, this tiny tool will help you.
## Installation
This is tested for Python 3.6 to 3.9.
From [PyPI](https://pypi.org/project/mlfix/):
```bash
$ pip install mlfix
```From the source code (in the main directory):
```bash
$ python -m pip install .
```## Usage
```bash
$ mlfix path_to_artifact_store
```That is it!
You must specify the name of the `mlruns` folder if it was different than the default in the former location of the store:
```bash
$ mlfix --mlruns-name nonstandard_mlruns path_to_artifact_store
```