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

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.2
File Size Uploaded Provenance Actions
wandb-0.31.2.tar.gz 40.8 MB Without provenance Details for wandb-0.31.2.tar.gz

Built distributions (wheels)

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

Total release size: 198.7 MB

Release files / wandb-0.31.2.tar.gz

Download URL wandb-0.31.2.tar.gz
Size 40.8 MB
Tags Source
SHA-256 checksum
How to use checksums
27b093559e0d46600df5f06416d4b2491ae35eae5f9a60bc5d8f8df1284a882a
BLAKE2b-256 checksum
How to use checksums
140720b18fd0d9045373b9c4302cab690508b59345940f0ac58e045d858a253c
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.2-py3-none-win_arm64.whl

Download URL wandb-0.31.2-py3-none-win_arm64.whl
Size 18.4 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
81663b302e0f4e6092f8131543819d268f1cc7edfbeb0a9f989e835a54430927
BLAKE2b-256 checksum
How to use checksums
4462d411678a59d543fac18bcb3db5f4abeca498209fff95916d06680b1cac72
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.2-py3-none-win_amd64.whl

Download URL wandb-0.31.2-py3-none-win_amd64.whl
Size 20.1 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
07e67ac5c14aa43d6dea150a6100df479b47f9092c384b730b1f3407d1fdd542
BLAKE2b-256 checksum
How to use checksums
95c961db514817fd1763146bb026be2ecf833547f1a1287c98441bfe0f95defa
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.2-py3-none-musllinux_1_2_x86_64.whl

Download URL wandb-0.31.2-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
ba2bc69e062c1b4d7898cd8ff7b579bf261d2895ebced84e95467958dab1c122
BLAKE2b-256 checksum
How to use checksums
bcbb02b0b2e6d69829c12dbc58dcabc89e525f88cc7936cdcee8ae89c76ca3fb
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.2-py3-none-musllinux_1_2_aarch64.whl

Download URL wandb-0.31.2-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
0a0227581a6f412430ce2b70d4932259f1423fa5034ca4a6789a8904a1142ab4
BLAKE2b-256 checksum
How to use checksums
863eb64dd7430511eea8d8f4550d57171c861dd4a0e9452fed26417d0cd32efe
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.2-py3-none-manylinux_2_28_x86_64.whl

Download URL wandb-0.31.2-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
d47d0c5ebcb5f91e4acb5e1546a8f553fa9e5590629c2fe24e666b98dc5ca3fb
BLAKE2b-256 checksum
How to use checksums
1cde3e273dd52abdcdf6f3f42587624c3af4a5aa5874a4ad7484b33ef51eefdf
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.2-py3-none-manylinux_2_28_aarch64.whl

Download URL wandb-0.31.2-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
809f513214589958fddc3e86b98694009ff1222f16445c6b1509aa10ef84931c
BLAKE2b-256 checksum
How to use checksums
323e737202c4143fe2bb4de6b53dd7775c7a1b8415fb4f3358d0c4075777debb
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.2-py3-none-macosx_13_0_x86_64.whl

Download URL wandb-0.31.2-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
4dce3c91cb58c09610f20f2558cb296ed75ec8ea207b69689fb7676e9eb4a8c7
BLAKE2b-256 checksum
How to use checksums
79b14d46f6f909a919d2d2872a1b4ff3a95b41ae14981afdbfa8c3c2660778de
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.2-py3-none-macosx_13_0_arm64.whl

Download URL wandb-0.31.2-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
8e4afd2684847f747a3b4b745191659d5bd9fa0ba478cde9f45e165cb1e3dcdf
BLAKE2b-256 checksum
How to use checksums
621ff45fc807353ab88894b0bc5f6b9f06e6136a9e7624945ca7ea2024f6dc7f
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.2

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