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.3.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.3-py3-none-any.whl (2.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mlrunx_integrations-0.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 acb87e7b84e587f381784d01c88998ec4d9e355259c915899b6c74791b0e1537
MD5 c5989ee5e9bf1a380a65f9f3cf48173b
BLAKE2b-256 626db22bb08b2bb8a889a55e9b9ca4119ba03fd76f0bf407f2fd360fd677856f

See more details on using hashes here.

Provenance

The following attestation bundles were made for mlrunx_integrations-0.1.3.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.3-py3-none-any.whl.

File metadata

File hashes

Hashes for mlrunx_integrations-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 4afab8add43dfef67b10f3c7a6cf9a05e3d296fa334a6fa58963ac0103b2992e
MD5 f9ebd07d2fb0b69ee0e2240b6b25a1bf
BLAKE2b-256 f78614dbf270c4349dc03a088623b48702ffe254a2ae423746e9ccda791f801a

See more details on using hashes here.

Provenance

The following attestation bundles were made for mlrunx_integrations-0.1.3-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