Skip to main content

lit-mlflow

Build Documentation GitHub Release PyPI - Package Version PyPI - Python Version Dependencies Status Docs with MkDocs Poetry linting: ruff pre-commit Checked with pyright security: bandit Semantic Versions Copier License

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 MLflow logging work with lightning and 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

This project was generated with 🚀 A generic python project template.

Metadata

Release files for lit-mlflow 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lit-mlflow 0.1.2
File Size Uploaded Provenance
lit_mlflow-0.1.2.tar.gz 11.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for lit-mlflow 0.1.2
File Interpreter ABI Platform
lit_mlflow-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 22.4 kB

Release files / lit_mlflow-0.1.2.tar.gz

Download URL lit_mlflow-0.1.2.tar.gz
Size 11.5 kB
Tags Source
SHA-256 checksum
How to use checksums
ec48dbbbf767cf5b8263c865a9b9b84d45e2d7af2fef54d041151112fa576b4b
BLAKE2b-256 checksum
How to use checksums
4853ac717bda6517a125db61632b9fe0bb404956b3e763c7affb739c62831615
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.2.1 CPython/3.10.19 Linux/6.11.0-1018-azure

Release files / lit_mlflow-0.1.2-py3-none-any.whl

Download URL lit_mlflow-0.1.2-py3-none-any.whl
Size 10.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f1c08c87c7573596b1cd3ed0976de353ad02c2d986b2e9c3daa3f565ece24555
BLAKE2b-256 checksum
How to use checksums
939e73f1d928827c331d00249bdd7ebfa137130fac694993d333185678946bc9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.2.1 CPython/3.10.19 Linux/6.11.0-1018-azure

Security for lit-mlflow 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page