Wandb

Weights & Biases (WandB) is the leading experiment tracking and MLOps platform that logs every aspect of machine learning experiments — hyperparameters, training metrics (loss, accuracy per epoch in real-time), system metrics (GPU utilization, memory), model artifacts, dataset versions, and code snapshots — providing a persistent, shareable record of every experiment that prevents the "which run produced that good result?" problem and enables teams to reproduce, compare, and collaborate on ML experiments at scale.

What Is WandB?

  • Definition: A developer-first ML platform (wandb.ai) that provides experiment tracking (log metrics and hyperparameters), artifact versioning (datasets and models), hyperparameter sweeps, report generation, and team collaboration — all accessible through a simple Python API and web dashboard.
  • The Problem It Solves: Without experiment tracking, ML practitioners lose track of which hyperparameters produced which results, which dataset version was used, and whether that "great result from last Tuesday" is reproducible. WandB makes every experiment automatically logged, searchable, and reproducible.
  • Market Position: WandB is the most widely adopted experiment tracking platform, used by OpenAI, NVIDIA, Microsoft, Toyota, and 70,000+ ML practitioners. It competes with MLflow (open-source), Neptune, Comet, and TensorBoard.

Core Features

FeatureWhat It DoesWhy It Matters
Experiment TrackingLogs hyperparams + metrics per step/epochCompare 100 runs side-by-side on web dashboard
System MetricsGPU utilization, CPU, memory, diskIdentify bottlenecks (GPU at 30% = data loading issue)
ArtifactsVersion control for datasets and models"Model v3 was trained on Dataset v7" — full lineage
SweepsDistributed hyperparameter searchGrid/Random/Bayesian search with web visualization
ReportsCollaborative markdown + embedded chartsShare findings with stakeholders
AlertsNotify when metrics cross thresholds"Training loss diverged" → Slack notification
TablesInteractive data exploration and comparisonVisualize predictions, confusion matrices, samples

Usage

import wandb

# Initialize experiment
wandb.init(
    project="image-classification",
    config={"lr": 0.001, "batch_size": 32, "epochs": 50}
)

# Log metrics during training
for epoch in range(50):
    train_loss, val_loss, val_acc = train_epoch(model)
    wandb.log({
        "train/loss": train_loss,
        "val/loss": val_loss,
        "val/accuracy": val_acc,
        "epoch": epoch
    })

# Log model artifact
wandb.save("best_model.pt")
wandb.finish()

WandB vs Alternatives

FeatureWandBMLflowTensorBoardNeptune
HostingCloud (free tier) + self-hostedSelf-hosted (open-source)Local (browser)Cloud
Setup effort2 lines of codeModerateBuilt into TF/PyTorch2 lines of code
CollaborationTeam dashboards, reportsBasicNone (local)Team dashboards
Artifact versioningYesYesNoYes
Sweeps (HPO)Built-inNo (separate tool)NoBuilt-in
System metricsAutomaticManualLimitedAutomatic
CostFree (academic), paid (enterprise)Free (open-source)FreeFree tier + paid

WandB is the standard experiment tracking platform for modern machine learning — providing the persistent, collaborative experiment record that prevents lost results, enables reproducibility, and gives teams full visibility into their ML development lifecycle from hyperparameter exploration to model deployment, through a simple Python API that integrates with every major ML framework.

Take wandb further

Ask the copilot about this term, or have our engineers assess it against your process.