Skip to main content

MLRunX integrations for popular ML frameworks

Project description

MLRunX Integrations

Framework integrations for MLRunX.

Supported Frameworks

  • PyTorch Lightning - MLRunXLogger
  • HuggingFace Transformers - MLRunXCallback
  • Optuna - MLRunXOptunaCallback
  • Hydra - MLRunXHydraCallback

Installation

# Install with all integrations
pip install "mlrunx-integrations[all]"

# Or install specific integrations
pip install "mlrunx-integrations[lightning]"
pip install "mlrunx-integrations[transformers]"
pip install "mlrunx-integrations[optuna]"
pip install "mlrunx-integrations[hydra]"

Usage

PyTorch Lightning

from mlrunx_integrations import MLRunXLogger
from pytorch_lightning import Trainer

trainer = Trainer(logger=MLRunXLogger(project="my-project"))
trainer.fit(model)

HuggingFace Transformers

from mlrunx_integrations import MLRunXCallback
from transformers import Trainer

trainer = Trainer(...)
trainer.add_callback(MLRunXCallback(project="my-project"))
trainer.train()

Optuna

from mlrunx_integrations import MLRunXOptunaCallback
import optuna

study = optuna.create_study()
study.optimize(
    objective,
    callbacks=[MLRunXOptunaCallback(project="my-project")]
)

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

mlrunx_integrations-0.1.1.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mlrunx_integrations-0.1.1-py3-none-any.whl (2.3 kB view details)

Uploaded Python 3

File details

Details for the file mlrunx_integrations-0.1.1.tar.gz.

File metadata

  • Download URL: mlrunx_integrations-0.1.1.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for mlrunx_integrations-0.1.1.tar.gz
Algorithm Hash digest
SHA256 f55cf7686e7dd29e4c61343897635ce5f2c209f5610f0f8d08b4441ac19e9eca
MD5 754a9613719492f601cbb416e306f225
BLAKE2b-256 6799b723442cd75942af709bfff10dc15d5f55b2d4b70472c8c1b25192cc867e

See more details on using hashes here.

Provenance

The following attestation bundles were made for mlrunx_integrations-0.1.1.tar.gz:

Publisher: release.yml on ibusnowden/MLRunX

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mlrunx_integrations-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for mlrunx_integrations-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7afcce0f90e4eefdde42c5816ade1661278b3920fdf17d2d7210797974172158
MD5 2e8bcdc9de9ac11653a799679bcb61d1
BLAKE2b-256 03695b2f203f0f215fc7e8e7ffd435027cc0234fd78621bf56a3789724cc86ff

See more details on using hashes here.

Provenance

The following attestation bundles were made for mlrunx_integrations-0.1.1-py3-none-any.whl:

Publisher: release.yml on ibusnowden/MLRunX

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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