lit-mlflow
An improved Lightning mlflow logger. Works seamlessly with PyTorch Lightning on Databricks and offers more control compared to the mlflow.pytorch.autolog function.
Features
- Makes
MLflowlogging work withlightningand Databricks
Installation
With pip:
python -m pip install lit-mlflow
With poetry:
poetry add lit-mlflow
How to use it
Replace mlflow.autolog() with the MlFlowAutoCallback:
from lit_mlflow import MlFlowAutoCallback
import lightning.pytorch as pl
trainer = pl.Trainer(
callbacks=[
MlFlowAutoCallback()
]
)
To support Databricks mlflow, use the DbxMLFlowLogger instead of the MlFlowLogger:
from lit_mlflow import DbxMLFlowLogger
import lightning.pytorch as pl
trainer = pl.Trainer(
logger=[
DbxMLFlowLogger()
]
)
Docs
poetry run mkdocs build -f ./docs/mkdocs.yml -d ./_build/
Update template
copier update --trust -A --vcs-ref=HEAD
Credits
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
lit_mlflow-0.1.2.tar.gz
(11.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lit_mlflow-0.1.2.tar.gz.
File metadata
- Download URL: lit_mlflow-0.1.2.tar.gz
- Upload date:
- Size: 11.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
poetry/2.2.1 CPython/3.10.19 Linux/6.11.0-1018-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ec48dbbbf767cf5b8263c865a9b9b84d45e2d7af2fef54d041151112fa576b4b
|
|
| MD5 |
4328cbc1f8e058e07bf3c97b273e7cfb
|
|
| BLAKE2b-256 |
4853ac717bda6517a125db61632b9fe0bb404956b3e763c7affb739c62831615
|
File details
Details for the file lit_mlflow-0.1.2-py3-none-any.whl.
File metadata
- Download URL: lit_mlflow-0.1.2-py3-none-any.whl
- Upload date:
- Size: 10.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
poetry/2.2.1 CPython/3.10.19 Linux/6.11.0-1018-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f1c08c87c7573596b1cd3ed0976de353ad02c2d986b2e9c3daa3f565ece24555
|
|
| MD5 |
458dba85dbb330cfa45fd2dc79afd622
|
|
| BLAKE2b-256 |
939e73f1d928827c331d00249bdd7ebfa137130fac694993d333185678946bc9
|