Skip to main content


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

Metadata

Release files for wandb 0.31.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wandb 0.31.1
File Size Uploaded Provenance Actions
wandb-0.31.1.tar.gz 40.8 MB Without provenance Details for wandb-0.31.1.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for wandb 0.31.1
File Actions
wandb-0.31.1-py3-none-win_arm64.whl Python 3 none Windows ARM64 Details for wandb-0.31.1-py3-none-win_arm64.whl
wandb-0.31.1-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for wandb-0.31.1-py3-none-win_amd64.whl
wandb-0.31.1-py3-none-musllinux_1_2_x86_64.whl Python 3 none Linux musl 1.2+ x86-64 Details for wandb-0.31.1-py3-none-musllinux_1_2_x86_64.whl
wandb-0.31.1-py3-none-musllinux_1_2_aarch64.whl Python 3 none Linux musl 1.2+ ARM64 Details for wandb-0.31.1-py3-none-musllinux_1_2_aarch64.whl
wandb-0.31.1-py3-none-manylinux_2_28_x86_64.whl Python 3 none Linux glibc 2.28+ x86-64 Details for wandb-0.31.1-py3-none-manylinux_2_28_x86_64.whl
wandb-0.31.1-py3-none-manylinux_2_28_aarch64.whl Python 3 none Linux glibc 2.28+ ARM64 Details for wandb-0.31.1-py3-none-manylinux_2_28_aarch64.whl
wandb-0.31.1-py3-none-macosx_13_0_x86_64.whl Python 3 none macOS 13.0+ x86-64 Details for wandb-0.31.1-py3-none-macosx_13_0_x86_64.whl
wandb-0.31.1-py3-none-macosx_13_0_arm64.whl Python 3 none macOS 13.0+ ARM64 Details for wandb-0.31.1-py3-none-macosx_13_0_arm64.whl

Total release size: 198.3 MB

Release files / wandb-0.31.1.tar.gz

Download URL wandb-0.31.1.tar.gz
Size 40.8 MB
Tags Source
SHA-256 checksum
How to use checksums
6f5bff9c53308e9991a9abb445f74b3fb5cd8649263eb7bcc37a114089960365
BLAKE2b-256 checksum
How to use checksums
c9d0961251352c597248b0203a5362227fe557773be3cd1fae4c694936a2c3ff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / wandb-0.31.1-py3-none-win_arm64.whl

Download URL wandb-0.31.1-py3-none-win_arm64.whl
Size 18.4 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
4ee40937e771b090cd1de1246832103fad8379ae58d3b202b30a775ca2826f68
BLAKE2b-256 checksum
How to use checksums
f9d51d8ef5a47f8cdae56c2854a4c740043145e8653fce4748a757cf91ac9501
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / wandb-0.31.1-py3-none-win_amd64.whl

Download URL wandb-0.31.1-py3-none-win_amd64.whl
Size 20.1 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
979c153dc7bf6b8a83af8365e4c52b4e5cd1dbff78ea298b6ce8167db08f06ca
BLAKE2b-256 checksum
How to use checksums
d0725529184e8097684c1c60dff1431e571bedfd80b835587c7c42f2a72f5220
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / wandb-0.31.1-py3-none-musllinux_1_2_x86_64.whl

Download URL wandb-0.31.1-py3-none-musllinux_1_2_x86_64.whl
Size 21.0 MB
Tags Linux musl 1.2+ x86-64 Python 3
SHA-256 checksum
How to use checksums
2cf5c50fbc652461c3276196123895d18063a7142d1f79b6d74f073e1b439f48
BLAKE2b-256 checksum
How to use checksums
126ad9120fc6b278420d191acbd203168691ce9c5c22b5d3bdca757143be08ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / wandb-0.31.1-py3-none-musllinux_1_2_aarch64.whl

Download URL wandb-0.31.1-py3-none-musllinux_1_2_aarch64.whl
Size 19.1 MB
Tags Linux musl 1.2+ ARM64 Python 3
SHA-256 checksum
How to use checksums
72bf49dbab06e341bf182f2761d99d3d964e867fc6a179adf2839d4622f2766c
BLAKE2b-256 checksum
How to use checksums
ab50ce5f9930c63be69abb16bdb7032fd77c2364c21a2888e44f80e910473244
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / wandb-0.31.1-py3-none-manylinux_2_28_x86_64.whl

Download URL wandb-0.31.1-py3-none-manylinux_2_28_x86_64.whl
Size 20.8 MB
Tags Linux glibc 2.28+ x86-64 Python 3
SHA-256 checksum
How to use checksums
0f6ba93ffdfbd9e835d4bbd06c768700cd91375b82edf304db0548e34c170c0c
BLAKE2b-256 checksum
How to use checksums
cc5ebcbce0e40425a0d1de2289b5fad0328bb190358ee1c33a5bba9b7786980c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / wandb-0.31.1-py3-none-manylinux_2_28_aarch64.whl

Download URL wandb-0.31.1-py3-none-manylinux_2_28_aarch64.whl
Size 19.0 MB
Tags Linux glibc 2.28+ ARM64 Python 3
SHA-256 checksum
How to use checksums
0931fc48d4b276d7f07758b938826d9645b1d7199dca80d779fa565a2d834c68
BLAKE2b-256 checksum
How to use checksums
4606350668c0a47c0cd623859a07d2ba1b49be00f7ee7a8f4cbfb15d2ba5aa80
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / wandb-0.31.1-py3-none-macosx_13_0_x86_64.whl

Download URL wandb-0.31.1-py3-none-macosx_13_0_x86_64.whl
Size 20.4 MB
Tags Python 3 macOS 13.0+ x86-64
SHA-256 checksum
How to use checksums
7c92149cb704b7283313b3ed8b0e56dc524e8a3267a3af8531a0ede418287f69
BLAKE2b-256 checksum
How to use checksums
ca072c49f8eb0bb16f199151f4c31c01dc5a70f10a5dfd021b1440710312131b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / wandb-0.31.1-py3-none-macosx_13_0_arm64.whl

Download URL wandb-0.31.1-py3-none-macosx_13_0_arm64.whl
Size 18.8 MB
Tags Python 3 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
bc69fe5289ecce3d91bd72d2ef251030915a450249c2049f899e878a0c3f8120
BLAKE2b-256 checksum
How to use checksums
eba3d82a92b611f2c6c207b626c8e7b97a54192655ba51ab47cdf41a425141f7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for wandb 0.31.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.31.1 This release

9 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page