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

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.0
File Size Uploaded
wandb-0.31.0.tar.gz 40.4 MB Details

Built distributions (wheels)

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

Total release size: 194.3 MB

Release files / wandb-0.31.0.tar.gz

Download URL wandb-0.31.0.tar.gz
Size 40.4 MB
Tags Source
SHA-256 checksum
How to use checksums
dcdaa635576ff17b18a757b39fc22b0db3d1c6e01d5ce090fe80f6adc776028d
BLAKE2b-256 checksum
How to use checksums
07a58fc1c319f2db9be5a707c25a76ecba1b2b9450a44a05b295ff5aa379bbfa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

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

Download URL wandb-0.31.0-py3-none-win_arm64.whl
Size 18.0 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
d155662ab444ab0cd12afa87943a147193e9b9301134b0b34e8c97c68a4bbba5
BLAKE2b-256 checksum
How to use checksums
75d803efc83dccada300944fce5ac0bac650835855fdfed9654833c9e7c29f81
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

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

Download URL wandb-0.31.0-py3-none-win_amd64.whl
Size 19.6 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
488f8ef63cae217ba220e6d8c163ee8c5b98320ee1866ce774c4da0847235f02
BLAKE2b-256 checksum
How to use checksums
907aaaee2e55d1aa6f855d01e702263e2e0ef733da45583ecd9836d68ea3d67d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

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

Download URL wandb-0.31.0-py3-none-musllinux_1_2_x86_64.whl
Size 20.5 MB
Tags Linux musl 1.2+ x86-64 Python 3
SHA-256 checksum
How to use checksums
df16a46cd6468e6580783b02560c79991c181f63a4691949020fff1b4ac87072
BLAKE2b-256 checksum
How to use checksums
b60a278fdc0edd079d01d52f4bb7cf9620ca6ec86c5b80d22fb41a8421d6bc05
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

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

Download URL wandb-0.31.0-py3-none-musllinux_1_2_aarch64.whl
Size 18.6 MB
Tags Linux musl 1.2+ ARM64 Python 3
SHA-256 checksum
How to use checksums
cb20ed655fb6e301b27f9974ae639176ec3a0e81aa9135d107491d618206ad5f
BLAKE2b-256 checksum
How to use checksums
5806680fce9a6857a1376cab5fecf357409c27ae4a98908e3936a256487eaa39
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

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

Download URL wandb-0.31.0-py3-none-manylinux_2_28_x86_64.whl
Size 20.3 MB
Tags Linux glibc 2.28+ x86-64 Python 3
SHA-256 checksum
How to use checksums
009bcf370598d5e7a3d3bb66e33510f78c17fcc0505f8aa7ecf51dbc4378f979
BLAKE2b-256 checksum
How to use checksums
2a075594faeaea9440be2ea01cee692573416b3997879df67f0e940bfbfc2d26
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

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

Download URL wandb-0.31.0-py3-none-manylinux_2_28_aarch64.whl
Size 18.5 MB
Tags Linux glibc 2.28+ ARM64 Python 3
SHA-256 checksum
How to use checksums
0cbd8986ca56115897defcfd8ad8def1a871b99d1e8bde4f106633dc9969b7a3
BLAKE2b-256 checksum
How to use checksums
e3c8aa5e7ab3d947928d8a41e676d519e3fd37e7bf467ae72261fcb0823199db
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

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

Download URL wandb-0.31.0-py3-none-macosx_13_0_x86_64.whl
Size 19.9 MB
Tags Python 3 macOS 13.0+ x86-64
SHA-256 checksum
How to use checksums
654ef6d854516888091aff582a243714b02cefb09c4a0e1186cc6a7c9f93de50
BLAKE2b-256 checksum
How to use checksums
153b8b4f8e09e63e9c67146f35c6da5d78cdce89eb193385ca990e8aaa5681c7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

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

Download URL wandb-0.31.0-py3-none-macosx_13_0_arm64.whl
Size 18.4 MB
Tags Python 3 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
28389f1c932b5d3fc11293fd50c24f308c6a1e1dd952783b96d9703062302bb5
BLAKE2b-256 checksum
How to use checksums
f262ee7f6e5133b68a5b3e389ee9684079b018af56fc2a20200c03b66c1dc226
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release history Release notifications | RSS feed

This release

0.31.0 This release

9 release files

0.29.0

9 release files

0.28.2

9 release files

0.22.0

9 release files

0.18.1

8 release files

0.18.0

8 release files

0.17.8

8 release files

0.17.7

8 release files

0.17.5

7 release files

0.17.3

7 release files

0.17.2

7 release files

0.16.5

2 release files

0.15.9

2 release files

0.15.7

2 release files

0.15.6

2 release files

0.15.3

2 release files

0.15.0

2 release files

0.14.0

2 release files

0.13.9

2 release files

0.13.8

2 release files

0.13.7

2 release files

0.13.2

2 release files

0.12.9

2 release files

0.12.8

2 release files

0.12.7

2 release files

0.12.6

2 release files

0.12.5

2 release files

0.12.3

2 release files

0.12.2

2 release files

0.12.1

2 release files

0.12.0

2 release files

0.11.1

2 release files

0.11.0

2 release files

0.10.8

2 release files

0.10.7

2 release files

0.10.6

2 release files

0.10.4

2 release files

0.10.3

2 release files

0.10.2

2 release files

0.10.1

2 release files

0.10.0

2 release files

0.9.7

2 release files

0.9.6

2 release files

0.9.5

2 release files

0.9.4

2 release files

0.9.3

2 release files

0.9.2

2 release files

0.9.1

2 release files

0.8.36

2 release files

0.8.34

2 release files

0.8.33

2 release files

0.8.32

2 release files

0.8.31

2 release files

0.8.30

2 release files

0.8.28

2 release files

0.8.27

2 release files

0.8.26

2 release files

0.8.22

2 release files

0.8.21

2 release files

0.8.20

2 release files

0.8.19

2 release files

0.8.16

2 release files

0.8.13

2 release files

0.8.12

2 release files

0.8.11

2 release files

0.8.10

2 release files

0.8.9

2 release files

0.8.8

2 release files

0.8.7

2 release files

0.8.6

2 release files

0.8.5

2 release files

0.8.4

2 release files

0.8.3

2 release files

0.8.2

2 release files

0.8.1

2 release files

0.8.0

2 release files

0.7.3

2 release files

0.7.2

2 release files

0.7.1

2 release files

0.7.0

2 release files

0.6.35

2 release files

0.6.34

2 release files

0.6.33

2 release files

0.6.32

2 release files

0.6.31

2 release files

0.6.29

2 release files

0.6.23

2 release files

0.6.22

2 release files

0.6.21

2 release files

0.6.18

2 release files

0.6.17

2 release files

0.6.16

2 release files

0.6.15

2 release files

0.6.14

2 release files

0.6.13

2 release files

0.6.12

2 release files

0.6.11

2 release files

0.6.10

2 release files

0.6.6

2 release files

0.6.5

2 release files

0.6.4

2 release files

0.6.3

2 release files

0.6.2

2 release files

0.5.22

2 release files

0.5.21

2 release files

0.5.20

2 release files

0.5.16

2 release files

0.5.12

2 release files

0.5.11

2 release files

0.5.10

2 release files

0.5.9

2 release files

0.5.8

2 release files

0.5.7

2 release files

0.5.5

2 release files

0.5.4

2 release files

0.5.3

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.46

2 release files

0.4.45

2 release files

0.4.44

2 release files

0.4.43

2 release files

0.4.40

2 release files

0.4.39

2 release files

0.4.38

2 release files

0.4.37

2 release files

0.4.36

2 release files

0.4.35

2 release files

0.4.32

2 release files

0.4.31

2 release files

0.4.30

2 release files

0.4.27

2 release files

0.4.26

2 release files

0.4.25

2 release files

0.4.24

2 release files

0.4.23

2 release files

0.4.22

2 release files

0.4.21

2 release files

0.4.20

2 release files

0.4.14

2 release files

0.4.13

2 release files

0.4.10

2 release files

0.4.9

2 release files

0.4.8

2 release files

0.4.7

2 release files

0.4.6

1 release file

0.4.5

1 release file

0.4.4

2 release files

0.4.3

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.3

1 release file

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

3 release files

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