Integrations overview
Track training runs from PyTorch Lightning, Hugging Face Transformers, Keras, and Weights & Biases with one-line InstantML adapters.
Pick the adapter for the framework you already train with and wire it in with one line. Every adapter calls the same public run.log(...) methods you would call by hand, so you can always drop down to direct logging for custom loops.
Install the adapters
Install the SDK with the frameworks extra:
python -m pip install "instantml[frameworks]"Pick a framework adapter
Migrate from Weights & Biases
There are three ways to move, depending on how much risk you want to take:
| Mode | Import | Source of truth | Use when |
|---|---|---|---|
| Drop-in | import instantml.compat.wandb as wandb | InstantML | You are ready to switch and want a minimal code change. |
| Shadow | im.init(..., shadow_wandb=True) | Both | You want InstantML and W&B side by side during evaluation. |
| Mirror | import instantml.wandb_mirror as wandb | W&B | You want to keep W&B primary and mirror metrics into InstantML. |
The Weights & Biases migration guide covers all three with runnable examples.
Import existing history
To bring past experiments along, the CLI imports run history from W&B, Neptune, and MLflow exports (instantml import wandb|neptune|mlflow) and syncs TensorBoard event files (instantml sync tensorboard). See Imports.
Next steps
- Log metrics directly when an adapter doesn't cover your loop
- Migrate from Weights & Biases
- Import past W&B, Neptune, or MLflow history
- Compare runs in the dashboard