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

Uploaded Python 3

File details

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

File metadata

  • Download URL: mlrunx_integrations-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 48c9d604f87dd341f441040cf72d5d79b54dd7c9fa0222ac91f730325a008b9a
MD5 8e97b041bff05a7259e581b72f6bde7d
BLAKE2b-256 5691e7acf93649368d40fbab16819a41802afe79be33304b2a08822209ae2bfe

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mlrunx_integrations-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 45d3ff66c7fbe9a523ba7647748bbf6669a9143fdfb9804bc54a90d14bc7b90f
MD5 d4ff8e4c9cf72a6d9cff6d58c6713499
BLAKE2b-256 b416e24df0aaf99708d222cb04a5ee77ff30f86625bcf28918d1d8bd1e83f53a

See more details on using hashes here.

Provenance

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