mlfix
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).
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 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:
$ pip install mlfix
From the source code (in the main directory):
$ python -m pip install .
Usage
$ 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:
$ mlfix --mlruns-name nonstandard_mlruns path_to_artifact_store
Metadata
Release files for mlfix 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mlfix-0.0.1.tar.gz | 4.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mlfix-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.4 kB
Release files / mlfix-0.0.1.tar.gz
| Download URL | mlfix-0.0.1.tar.gz |
|---|---|
| Size | 4.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c0fff4d6d0ce1d017640a47033aa8aa86beead858891830f7f96569379e9061b
|
|
BLAKE2b-256 checksum How to use checksums |
3e0860bbb6fa2e35516555942c997bd4ff30cc343146d4e0123ce8633df46c00
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
|
Release files / mlfix-0.0.1-py3-none-any.whl
| Download URL | mlfix-0.0.1-py3-none-any.whl |
|---|---|
| Size | 5.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4ff84ac743f3af62329cf6a61dd6ad31a66ad68d1f0ac13ac8323637835b3bdb
|
|
BLAKE2b-256 checksum How to use checksums |
a940467b407b408c49228cb7155bfed0572a908363eb14e04cf76409007c943e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
|