wandb 0.25.1


pip install wandb

  Latest version

Released: Mar 10, 2026


Meta
Author: Weights & Biases
Requires Python: >=3.9

Classifiers

Development Status
  • 5 - Production/Stable

Intended Audience
  • Developers
  • Science/Research

License
  • OSI Approved :: MIT License

Natural Language
  • English

Programming Language
  • Go
  • Python :: 3
  • Python :: 3 :: Only
  • Python :: 3.9
  • Python :: 3.10
  • Python :: 3.11
  • Python :: 3.12
  • Python :: 3.13
  • Python :: 3.14

Topic
  • Scientific/Engineering :: Artificial Intelligence
  • Software Development :: Libraries :: Python Modules
  • System :: Logging
  • System :: Monitoring


Use W&B to build better models faster. Track and visualize all the pieces of your machine learning pipeline, from datasets to production machine learning models. Get started with W&B today, sign up for a W&B account!


Building an LLM app? Track, debug, evaluate, and monitor LLM apps with Weave, our new suite of tools for GenAI.

 

Documentation

See the W&B Developer Guide and API Reference Guide for a full technical description of the W&B platform.

 

Quickstart

Install W&B to track, visualize, and manage machine learning experiments of any size.

Install the wandb library

pip install wandb

Sign up and create an API key

Sign up for a W&B account. Optionally, use the wandb login CLI to configure an API key on your machine. You can skip this step -- W&B will prompt you for an API key the first time you use it.

Create a machine learning training experiment

In your Python script or notebook, initialize a W&B run with wandb.init(). Specify hyperparameters and log metrics and other information to W&B.

import wandb

# Project that the run is recorded to
project = "my-awesome-project"

# Dictionary with hyperparameters
config = {"epochs" : 1337, "lr" : 3e-4}

# The `with` syntax marks the run as finished upon exiting the `with` block,
# and it marks the run "failed" if there's an exception.
#
# In a notebook, it may be more convenient to write `run = wandb.init()`
# and manually call `run.finish()` instead of using a `with` block.
with wandb.init(project=project, config=config) as run:
    # Training code here

    # Log values to W&B with run.log()
    run.log({"accuracy": 0.9, "loss": 0.1})

Visit wandb.ai/home to view recorded metrics such as accuracy and loss and how they changed during each training step. Each run object appears in the Runs column with generated names.

 

Integrations

W&B integrates with popular ML frameworks and libraries making it fast and easy to set up experiment tracking and data versioning inside existing projects.

For developers adding W&B to a new framework, follow the W&B Developer Guide.

 

W&B Hosting Options

Weights & Biases is available in the cloud or installed on your private infrastructure. Set up a W&B Server in a production environment in one of three ways:

  1. Multi-tenant Cloud: Fully managed platform deployed in W&B’s Google Cloud Platform (GCP) account in GCP’s North America regions.
  2. Dedicated Cloud: Single-tenant, fully managed platform deployed in W&B’s AWS, GCP, or Azure cloud accounts. Each Dedicated Cloud instance has its own isolated network, compute and storage from other W&B Dedicated Cloud instances.
  3. Self-Managed: Deploy W&B Server on your AWS, GCP, or Azure cloud account or within your on-premises infrastructure.

See the Hosting documentation in the W&B Developer Guide for more information.

 

Python Version Support

We are committed to supporting our minimum required Python version for at least six months after its official end-of-life (EOL) date, as defined by the Python Software Foundation. You can find a list of Python EOL dates here.

When we discontinue support for a Python version, we will increment the library’s minor version number to reflect this change.

 

Contribution guidelines

Weights & Biases ❤️ open source, and we welcome contributions from the community! See the Contribution guide for more information on the development workflow and the internals of the wandb library. For wandb bugs and feature requests, visit GitHub Issues or contact support@wandb.com.

 

W&B Community

Be a part of the growing W&B Community and interact with the W&B team in our Discord. Stay connected with the latest ML updates and tutorials with W&B Fully Connected.

 

License

MIT License

0.25.1 Mar 10, 2026
0.25.1rc20260223 Feb 23, 2026
0.25.1rc20260218 Feb 18, 2026
0.25.0 Feb 13, 2026
0.24.2 Feb 05, 2026
0.24.1 Jan 29, 2026
0.24.0 Jan 13, 2026
0.23.1 Dec 03, 2025
0.23.1rc1 Nov 25, 2025
0.23.0 Nov 11, 2025
0.23.0rc1 Nov 10, 2025
0.22.3 Oct 28, 2025
0.22.2 Oct 07, 2025
0.22.1 Sep 29, 2025
0.22.0 Sep 18, 2025
0.21.4 Sep 11, 2025
0.21.3 Aug 30, 2025
0.21.2 Aug 28, 2025
0.21.1 Aug 07, 2025
0.21.0 Jul 02, 2025
0.20.2rc20250616 Jun 17, 2025
0.20.1 Jun 04, 2025
0.20.1rc20250604 Jun 04, 2025
0.20.0 Jun 03, 2025
0.19.12rc1 May 22, 2025
0.19.11 May 07, 2025
0.19.10 Apr 22, 2025
0.19.9 Apr 01, 2025
0.19.8 Mar 04, 2025
0.19.7 Feb 21, 2025
0.19.6 Feb 05, 2025
0.19.6rc4 Feb 04, 2025
0.19.5 Jan 29, 2025
0.19.4 Jan 16, 2025
0.19.4rc1 Jan 15, 2025
0.19.3 Jan 13, 2025
0.19.2 Jan 07, 2025
0.19.1 Dec 13, 2024
0.19.1rc1 Dec 12, 2024
0.19.0 Dec 05, 2024
0.19.0rc1 Dec 05, 2024
0.18.7 Nov 13, 2024
0.18.6 Nov 06, 2024
0.18.5 Oct 17, 2024
0.18.4 Oct 17, 2024
0.18.3 Oct 01, 2024
0.18.2 Sep 27, 2024
0.18.1 Sep 16, 2024
0.18.0 Sep 11, 2024
0.18.0rc1 Sep 11, 2024
0.17.9 Sep 05, 2024
0.17.8 Aug 28, 2024
0.17.8rc1 Aug 27, 2024
0.17.7 Aug 15, 2024
0.17.6 Aug 08, 2024
0.17.5 Jul 19, 2024
0.17.4 Jul 03, 2024
0.17.3 Jun 24, 2024
0.17.2 Jun 17, 2024
0.17.1 Jun 07, 2024
0.17.0 May 07, 2024
0.17.0rc2 Apr 19, 2024
0.17.0rc1 Apr 18, 2024
0.16.6 Apr 03, 2024
0.16.5 Mar 25, 2024
0.16.4 Mar 05, 2024
0.16.3 Feb 06, 2024
0.16.2 Jan 09, 2024
0.16.1 Dec 05, 2023
0.16.0 Nov 07, 2023
0.16.0b1 Sep 18, 2023
0.15.12 Oct 04, 2023
0.15.11 Sep 21, 2023
0.15.10 Sep 06, 2023
0.15.9 Aug 28, 2023
0.15.8 Aug 01, 2023
0.15.7 Jul 25, 2023
0.15.6 Jul 24, 2023
0.15.5 Jul 05, 2023
0.15.4 Jun 06, 2023
0.15.3 May 17, 2023
0.15.2 May 05, 2023
0.15.1 May 02, 2023
0.15.0 Apr 19, 2023
0.14.2 Apr 07, 2023
0.14.1 Apr 05, 2023
0.14.0 Mar 14, 2023
0.13.11 Mar 07, 2023
0.13.10 Feb 07, 2023
0.13.9 Jan 12, 2023
0.13.8 Jan 10, 2023
0.13.7 Dec 14, 2022
0.13.6 Dec 06, 2022
0.13.5 Nov 03, 2022
0.13.4 Oct 05, 2022
0.13.3 Sep 08, 2022
0.13.2 Aug 22, 2022
0.13.1 Aug 05, 2022
0.13.0 Aug 03, 2022
0.13.0rc6 Aug 01, 2022
0.13.0rc5 Jul 15, 2022
0.13.0rc4 Jun 24, 2022
0.13.0rc3 Jun 14, 2022
0.13.0rc2 May 26, 2022
0.13.0rc1 May 18, 2022
0.12.21 Jul 05, 2022
0.12.20 Jun 29, 2022
0.12.19 Jun 22, 2022
0.12.18 Jun 09, 2022
0.12.17 May 26, 2022
0.12.16 May 03, 2022
0.12.15 Apr 21, 2022
0.12.14 Apr 08, 2022
0.12.13 Apr 07, 2022
0.12.12 Apr 05, 2022
0.12.11 Mar 01, 2022
0.12.10 Feb 01, 2022
0.12.9 Dec 17, 2021
0.12.8 Dec 16, 2021
0.12.7 Nov 19, 2021
0.12.6 Oct 27, 2021
0.12.5 Oct 19, 2021
0.12.4 Oct 05, 2021
0.12.3 Sep 30, 2021
0.12.2 Sep 15, 2021
0.12.1 Aug 26, 2021
0.12.0 Aug 10, 2021
0.11.2 Aug 02, 2021
0.11.1 Jul 29, 2021
0.11.0 Jul 15, 2021
0.10.33 Jun 30, 2021
0.10.32 Jun 10, 2021
0.10.31 May 27, 2021
0.10.30 May 07, 2021
0.10.29 May 04, 2021
0.10.28 Apr 28, 2021
0.10.27 Apr 19, 2021
0.10.26 Apr 13, 2021
0.10.25 Apr 05, 2021
0.10.24 Mar 30, 2021
0.10.23 Mar 22, 2021
0.10.22 Mar 10, 2021
0.10.21 Mar 02, 2021
0.10.20 Feb 22, 2021
0.10.19 Feb 15, 2021
0.10.18 Feb 09, 2021
0.10.17 Feb 02, 2021
0.10.16 Feb 01, 2021
0.10.15 Jan 24, 2021
0.10.14 Jan 16, 2021
0.10.13 Jan 11, 2021
0.10.12 Dec 04, 2020
0.10.11 Nov 18, 2020
0.10.10 Nov 09, 2020
0.10.9 Nov 05, 2020
0.10.8 Oct 22, 2020
0.10.7 Oct 15, 2020
0.10.6 Oct 15, 2020
0.10.5 Oct 07, 2020
0.10.4 Sep 29, 2020
0.10.3 Sep 29, 2020
0.10.2 Sep 20, 2020
0.10.1 Sep 17, 2020
0.10.0 Sep 11, 2020
0.10.0rc8 Sep 11, 2020
0.10.0rc7 Sep 11, 2020
0.10.0rc6 Sep 03, 2020
0.10.0rc5 Aug 26, 2020
0.10.0rc4 Aug 18, 2020
0.10.0rc3 Aug 06, 2020
0.10.0rc2 Jul 29, 2020
0.10.0rc1 Jul 25, 2020
0.9.7 Sep 08, 2020
0.9.6 Aug 28, 2020
0.9.5 Aug 17, 2020
0.9.4 Jul 24, 2020
0.9.3 Jul 10, 2020
0.9.2 Jul 01, 2020
0.9.1 Jun 09, 2020
0.8.36 May 12, 2020
0.8.35 May 01, 2020
0.8.34 Apr 28, 2020
0.8.33 Apr 25, 2020
0.8.32 Apr 15, 2020
0.8.31 Mar 27, 2020
0.8.30 Mar 20, 2020
0.8.29 Mar 05, 2020
0.8.28 Feb 22, 2020
0.8.27 Feb 11, 2020
0.8.26 Feb 10, 2020
0.8.25 Feb 05, 2020
0.8.24 Feb 04, 2020
0.8.23 Feb 03, 2020
0.8.22 Jan 24, 2020
0.8.21 Jan 16, 2020
0.8.20 Jan 11, 2020
0.8.19 Dec 19, 2019
0.8.18 Dec 05, 2019
0.8.17 Dec 02, 2019
0.8.16 Nov 21, 2019
0.8.15 Nov 06, 2019
0.8.14 Nov 01, 2019
0.8.13 Oct 16, 2019
0.8.12 Sep 20, 2019
0.8.11 Sep 19, 2019
0.8.10 Sep 13, 2019
0.8.9 Aug 20, 2019
0.8.8 Aug 14, 2019
0.8.7 Aug 08, 2019
0.8.6 Aug 01, 2019
0.8.5 Jul 12, 2019
0.8.4 Jul 08, 2019
0.8.3 Jun 27, 2019
0.8.2 Jun 20, 2019
0.8.1 May 23, 2019
0.8.0 May 17, 2019
0.7.3 Apr 16, 2019
0.7.2 Mar 19, 2019
0.7.1 Mar 13, 2019
0.7.0 Mar 01, 2019
0.6.35 Jan 29, 2019
0.6.34 Jan 24, 2019
0.6.33 Jan 22, 2019
0.6.32 Dec 23, 2018
0.6.31 Dec 21, 2018
0.6.30 Dec 07, 2018
0.6.29 Nov 27, 2018
0.6.26 Nov 09, 2018
0.6.25 Nov 09, 2018
0.6.24 Nov 09, 2018
0.6.23 Oct 19, 2018
0.6.22 Oct 19, 2018
0.6.21 Oct 12, 2018
0.6.20 Oct 06, 2018
0.6.19 Oct 05, 2018
0.6.18 Aug 24, 2018
0.6.17 Jul 26, 2018
0.6.16 Jul 25, 2018
0.6.15 Jul 18, 2018
0.6.14 Jul 10, 2018
0.6.13 Jun 29, 2018
0.6.12 Jun 25, 2018
0.6.11 Jun 25, 2018
0.6.10 Jun 19, 2018
0.6.6 Jun 04, 2018
0.6.5 May 31, 2018
0.6.4 May 31, 2018
0.6.3 May 30, 2018
0.6.2 May 29, 2018
0.5.22 May 17, 2018
0.5.21 May 15, 2018
0.5.20 May 14, 2018
0.5.19 May 09, 2018
0.5.18 May 09, 2018
0.5.17 May 09, 2018
0.5.16 Apr 12, 2018
0.5.14 Apr 05, 2018
0.5.13 Apr 04, 2018
0.5.12 Mar 27, 2018
0.5.11 Mar 18, 2018
0.5.10 Mar 17, 2018
0.5.9 Mar 17, 2018
0.5.8 Mar 08, 2018
0.5.7 Mar 07, 2018
0.5.5 Mar 03, 2018
0.5.4 Feb 28, 2018
0.5.3 Feb 26, 2018
0.5.2 Feb 26, 2018
0.5.1 Feb 20, 2018
0.5.0 Feb 16, 2018
0.4.46 Jan 23, 2018
0.4.45 Jan 19, 2018
0.4.44 Jan 11, 2018
0.4.43 Jan 10, 2018
0.4.42 Jan 09, 2018
0.4.41 Jan 08, 2018
0.4.40 Dec 20, 2017
0.4.39 Dec 20, 2017
0.4.38 Dec 20, 2017
0.4.37 Dec 20, 2017
0.4.36 Dec 18, 2017
0.4.35 Nov 21, 2017
0.4.34 Nov 07, 2017
0.4.33 Nov 02, 2017
0.4.32 Oct 23, 2017
0.4.31 Oct 23, 2017
0.4.30 Oct 10, 2017
0.4.29 Oct 04, 2017
0.4.28 Oct 01, 2017
0.4.27 Sep 30, 2017
0.4.26 Sep 30, 2017
0.4.25 Sep 29, 2017
0.4.24 Sep 28, 2017
0.4.23 Sep 28, 2017
0.4.22 Sep 22, 2017
0.4.21 Sep 21, 2017
0.4.20 Sep 20, 2017
0.4.19 Sep 08, 2017
0.4.18 Sep 08, 2017
0.4.17 Sep 07, 2017
0.4.16 Sep 04, 2017
0.4.15 Sep 02, 2017
0.4.14 Jul 24, 2017
0.4.13 Jul 13, 2017
0.4.12 Jul 04, 2017
0.4.11 Jul 04, 2017
0.4.10 May 24, 2017
0.4.9 May 24, 2017
0.4.8 May 10, 2017
0.4.7 May 10, 2017
0.4.6 Apr 28, 2017
0.4.5 Apr 25, 2017
0.4.4 Apr 22, 2017
0.4.3 Apr 22, 2017
0.4.2 Apr 19, 2017
0.4.1 Apr 18, 2017
0.4.0 Apr 16, 2017
0.3.3 Apr 16, 2017
0.3.2 Apr 07, 2017
0.3.1 Apr 06, 2017
0.3.0 Apr 06, 2017
0.2.2 Mar 31, 2017
0.2.1 Mar 30, 2017
0.2.0 Mar 27, 2017
0.1.0 Mar 24, 2017
Extras:
Dependencies:
click (>=8.0.1)
eval-type-backport
gitpython (!=3.1.29,>=1.0.0)
packaging
platformdirs
protobuf (!=5.28.0,!=5.29.0,<7,>4.21.0)
pydantic (<3)
pyyaml
requests (<3,>=2.0.0)
sentry-sdk (>=2.0.0)
typing-extensions (<5,>=4.8)