Skip to main content

A CLI and library for interacting with the Weights & Biases API.

Project description



Weights and Biases PyPI Conda (channel only) CircleCI Codecov

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 an account!

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

 

Quickstart

Get started with W&B in four steps:

  1. First, sign up for a W&B account.

  2. Second, install the W&B SDK with pip. Navigate to your terminal and type the following command:

pip install wandb
  1. Third, log into W&B:
wandb.login()
  1. Use the example code snippet below as a template to integrate W&B to your Python script:
import wandb

# Start a W&B Run with wandb.init
run = wandb.init(project="my_first_project")

# Save model inputs and hyperparameters in a wandb.config object
config = run.config
config.learning_rate = 0.01

# Model training code here ...

# Log metrics over time to visualize performance with wandb.log
for i in range(10):
    run.log({"loss": ...})

# Mark the run as finished, and finish uploading all data
run.finish()

For example, if the preceding code was stored in a script called train.py:

python train.py

You will see a URL in your terminal logs when your script starts and finishes. Data is staged locally in a directory named wandb relative to your script. Navigate to the W&B App to view a dashboard of your first W&B Experiment. Use the W&B App to compare multiple experiments in a unified place, dive into the results of a single run, and much more!

 

Integrations

Use your favorite framework with W&B. W&B integrations make it fast and easy to set up experiment tracking and data versioning inside existing projects. For more information on how to integrate W&B with the framework of your choice, see W&B Integrations in the W&B Developer Guide.

 

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.

 

Academic Researchers

Reach out to W&B Support at support@wandb.com to get a free academic license for you and your research group.

 

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

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wandb-0.21.0.tar.gz (40.1 MB view details)

Uploaded Source

Built Distributions

wandb-0.21.0-py3-none-win_amd64.whl (21.5 MB view details)

Uploaded Python 3Windows x86-64

wandb-0.21.0-py3-none-win32.whl (21.5 MB view details)

Uploaded Python 3Windows x86

wandb-0.21.0-py3-none-musllinux_1_2_x86_64.whl (22.3 MB view details)

Uploaded Python 3musllinux: musl 1.2+ x86-64

wandb-0.21.0-py3-none-musllinux_1_2_aarch64.whl (20.7 MB view details)

Uploaded Python 3musllinux: musl 1.2+ ARM64

wandb-0.21.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (22.2 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

wandb-0.21.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (20.7 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

wandb-0.21.0-py3-none-macosx_11_0_x86_64.whl (21.8 MB view details)

Uploaded Python 3macOS 11.0+ x86-64

wandb-0.21.0-py3-none-macosx_11_0_arm64.whl (21.1 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

wandb-0.21.0-py3-none-macosx_10_14_x86_64.whl (21.7 MB view details)

Uploaded Python 3macOS 10.14+ x86-64

wandb-0.21.0-py3-none-any.whl (6.5 MB view details)

Uploaded Python 3

File details

Details for the file wandb-0.21.0.tar.gz.

File metadata

  • Download URL: wandb-0.21.0.tar.gz
  • Upload date:
  • Size: 40.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for wandb-0.21.0.tar.gz
Algorithm Hash digest
SHA256 473e01ef200b59d780416062991effa7349a34e51425d4be5ff482af2dc39e02
MD5 c457e4803f4bd169f0612c89729a5e16
BLAKE2b-256 7309c84264a219e20efd615e4d5d150cc7d359d57d51328d3fa94ee02d70ed9c

See more details on using hashes here.

File details

Details for the file wandb-0.21.0-py3-none-win_amd64.whl.

File metadata

  • Download URL: wandb-0.21.0-py3-none-win_amd64.whl
  • Upload date:
  • Size: 21.5 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for wandb-0.21.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 28a0b2dad09d7c7344ac62b0276be18a2492a5578e4d7c84937a3e1991edaac7
MD5 3ab1f490d874dfa43f3fa3b016ac829c
BLAKE2b-256 cf9671cc033e8abd00e54465e68764709ed945e2da2d66d764f72f4660262b22

See more details on using hashes here.

File details

Details for the file wandb-0.21.0-py3-none-win32.whl.

File metadata

  • Download URL: wandb-0.21.0-py3-none-win32.whl
  • Upload date:
  • Size: 21.5 MB
  • Tags: Python 3, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for wandb-0.21.0-py3-none-win32.whl
Algorithm Hash digest
SHA256 9d3cccfba658fa011d6cab9045fa4f070a444885e8902ae863802549106a5dab
MD5 18ae1c55325556d127ebaef29879c327
BLAKE2b-256 8068b8308db6b9c3c96dcd03be17c019aee105e1d7dc1e74d70756cdfb9241c6

See more details on using hashes here.

File details

Details for the file wandb-0.21.0-py3-none-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for wandb-0.21.0-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 873749966eeac0069e0e742e6210641b6227d454fb1dae2cf5c437c6ed42d3ca
MD5 0f574ba631915cac8b951df5ac6b6ccf
BLAKE2b-256 02d9fcd2273d8ec3f79323e40a031aba5d32d6fa9065702010eb428b5ffbab62

See more details on using hashes here.

File details

Details for the file wandb-0.21.0-py3-none-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for wandb-0.21.0-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 2e4c4f951e0d02755e315679bfdcb5bc38c1b02e2e5abc5432b91a91bb0cf246
MD5 9fe88cc635d24535e7b3ce1cbfc1c264
BLAKE2b-256 be619048015412ea5ca916844af55add4fed7c21fe1ad70bb137951e70b550c5

See more details on using hashes here.

File details

Details for the file wandb-0.21.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for wandb-0.21.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a4e8245a8912247ddf7654f7b5330f583a6c56ab88fee65589158490d583c57d
MD5 990652dd1d052f8ba014304cd4860166
BLAKE2b-256 838f6bed9358cc33767c877b221d4f565e1ddf00caf4bbbe54d2e3bbc932c6a7

See more details on using hashes here.

File details

Details for the file wandb-0.21.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for wandb-0.21.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 893508f0c7da48917448daa5cd622c27ce7ce15119adaa861185034c2bd7b14c
MD5 966d2396f458abafae37b0160ccc1f72
BLAKE2b-256 de52e5cad2eff6fbed1ac06f4a5b718457fa2fd437f84f5c8f0d31995a2ef046

See more details on using hashes here.

File details

Details for the file wandb-0.21.0-py3-none-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for wandb-0.21.0-py3-none-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 55d3f42ddb7971d1699752dff2b85bcb5906ad098d18ab62846c82e9ce5a238d
MD5 dbe0085b38c0d30e442f877e357ba030
BLAKE2b-256 23ab9861929530be56557c74002868c85d0d8ac57050cc21863afe909ae3d46f

See more details on using hashes here.

File details

Details for the file wandb-0.21.0-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for wandb-0.21.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 01689faa6b691df23ba2367e0a1ecf6e4d0be44474905840098eedd1fbcb8bdf
MD5 fd9c3e2e2c60d7296c2f5ed26305a0cb
BLAKE2b-256 23ae660bc75aa37bd23409822ea5ed616177d94873172d34271693c80405c820

See more details on using hashes here.

File details

Details for the file wandb-0.21.0-py3-none-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for wandb-0.21.0-py3-none-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 701d9cbdfcc8550a330c1b54a26f1585519180e0f19247867446593d34ace46b
MD5 095c9261fe62da69f81cf2a187a1f2d1
BLAKE2b-256 17a780556ce9097f59e10807aa68f4a9b29d736a90dca60852a9e2af1641baf8

See more details on using hashes here.

File details

Details for the file wandb-0.21.0-py3-none-any.whl.

File metadata

  • Download URL: wandb-0.21.0-py3-none-any.whl
  • Upload date:
  • Size: 6.5 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for wandb-0.21.0-py3-none-any.whl
Algorithm Hash digest
SHA256 316e8cd4329738f7562f7369e6eabeeb28ef9d473203f7ead0d03e5dba01c90d
MD5 945961dbdc83443c8a17de5c7d2db5eb
BLAKE2b-256 38dd65eac086e1bc337bb5f0eed65ba1fe4a6dbc62c97f094e8e9df1ef83ffed

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page