Skip to main content

neptune.ai MLflow integration library

Project description

Neptune + MLflow integration

Neptune is a lightweight experiment tracker that offers a single place to track, compare, store, and collaborate on experiments and models.

This integration lets you enjoy tracking and reproducibility of MLflow with the organization and collaboration of Neptune. You can have your MLflow experiment runs hosted in a knowledge repo where you can invite and manage project contributors, while not having to change your MLflow logging code.

Should you wish to switch to Neptune, you can migrate your MLflow data to Neptune with the exporter tool.

What will you get with this integration?

  • A plugin which you can use to send your MLflow-logged metadata to Neptune with the help of a tracking URI.
  • An exporter for migrating existing MLflow experiments to your Neptune project.

Resources

Example

On the command line:

pip install neptune-mlflow

Send your MLflow-logged metadata to Neptune (in Python):

import mlflow
from neptune_mlflow_plugin import create_neptune_tracking_uri

# Create a Neptune tracking URI
neptune_uri = create_neptune_tracking_uri(
    api_token=ANONYMOUS_API_TOKEN,  # Set as environment variable or replace with your own token
    project="common/mlflow-integration",  # Set as environment variable or replace with your own project
    tags=["mlflow", "plugin"],  # (optional) use your own
)

mlflow.set_tracking_uri(neptune_uri)

with mlflow.start_run():
    ...

Export existing MLflow runs to Neptune:

neptune mlflow --project your-neptune-workspace/your-neptune-project

Support

If you got stuck or simply want to talk to us, here are your options:

  • Check our FAQ page
  • You can submit bug reports, feature requests, or contributions directly to the repository
  • Chat! When in the Neptune application click on the blue message icon in the bottom-right corner and send a message. A real person will talk to you ASAP (typically very ASAP)
  • You can just shoot us an email at support@neptune.ai

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

neptune_mlflow-1.1.1.tar.gz (16.1 kB view hashes)

Uploaded Source

Built Distribution

neptune_mlflow-1.1.1-py3-none-any.whl (25.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page