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.3

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.3
File Size Uploaded Provenance Actions
wandb-0.31.3.tar.gz 40.9 MB Without provenance Details for wandb-0.31.3.tar.gz

Built distributions (wheels)

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

Total release size: 199.1 MB

Release files / wandb-0.31.3.tar.gz

Download URL wandb-0.31.3.tar.gz
Size 40.9 MB
Tags Source
SHA-256 checksum
How to use checksums
91362ba0d8619fc1e1ea0baa34775af1e0a0f4f8f03d5bcb78e10f8bbaf295ae
BLAKE2b-256 checksum
How to use checksums
9d7c878cf0555cab1eec49ee80200d1e5cf92679967fd8696f7495c34ffc4e54
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.3-py3-none-win_arm64.whl

Download URL wandb-0.31.3-py3-none-win_arm64.whl
Size 18.5 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
3fe43130bae0636d1ec6fdafb7755dae672f25f94776fba4a901ef37e388c8d5
BLAKE2b-256 checksum
How to use checksums
f22b60600374e9a1d01e0253d6cb2345bdef91a99a940e2d49fc2e3357a25f8b
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.3-py3-none-win_amd64.whl

Download URL wandb-0.31.3-py3-none-win_amd64.whl
Size 20.2 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
e4508fc4a9a81029f85ac7b0dc8f0910085ad7dd2ee7141df6234179613c1efa
BLAKE2b-256 checksum
How to use checksums
6d8d747d56741a0add499033c9764990457131cbedcc91d7c72261b4188f0245
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.3-py3-none-musllinux_1_2_x86_64.whl

Download URL wandb-0.31.3-py3-none-musllinux_1_2_x86_64.whl
Size 21.1 MB
Tags Linux musl 1.2+ x86-64 Python 3
SHA-256 checksum
How to use checksums
37d0a4846aa969fb70718d1a2755d2da1399ea60e4ee72f06959bb9ac2ec94b8
BLAKE2b-256 checksum
How to use checksums
dc2e76c2ef16eb9e36224434c73150b7cb09accf287b54cb33b0f6dd34c32fe6
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.3-py3-none-musllinux_1_2_aarch64.whl

Download URL wandb-0.31.3-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
c3498b26f67ef5406b903ff927de1c1784374a033c12a456c6c8dfb48ff3c8a7
BLAKE2b-256 checksum
How to use checksums
6c70dca50fdcafdfb5604db94c63d48cb1edd774d3334b169f6aeb36ddc5c874
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.3-py3-none-manylinux_2_28_x86_64.whl

Download URL wandb-0.31.3-py3-none-manylinux_2_28_x86_64.whl
Size 20.9 MB
Tags Linux glibc 2.28+ x86-64 Python 3
SHA-256 checksum
How to use checksums
fa7c551ee1eb553f17077bdec2f820c1cbdd6c16fd35c01fb164711c7f0cf3da
BLAKE2b-256 checksum
How to use checksums
166eca390a1c6651d675426d956ebf4602f3f82bb82bd87cbaa2fe3f24376100
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.3-py3-none-manylinux_2_28_aarch64.whl

Download URL wandb-0.31.3-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
1815fa92ac5974038e35e3bacad4f4a0f99707f42887a1f871c3341223e71c1a
BLAKE2b-256 checksum
How to use checksums
2b23d6b8f52afe3bb1e4b1689ae1c02e0e9241d4d79b4385dc6be4f24bc1ab0f
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.3-py3-none-macosx_13_0_x86_64.whl

Download URL wandb-0.31.3-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
0f3761c560653d54afcd28eed397415c76fb5cd6322298b276ad82e479ea5d4c
BLAKE2b-256 checksum
How to use checksums
5777399232cc27e69c0e23b1f6b524505fc8c99966dc15e9fd1651b2bebac9ea
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.3-py3-none-macosx_13_0_arm64.whl

Download URL wandb-0.31.3-py3-none-macosx_13_0_arm64.whl
Size 18.9 MB
Tags Python 3 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
17dd182d3317a604596f795d2056bd21cb1bfaa0f831bd3ad6072646cc743cd2
BLAKE2b-256 checksum
How to use checksums
5214ab8716b10e6642d3f9f70ce2b4dd9b6d11cbb10eec99c88f3feed5375759
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.3

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.3 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