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.20.1.tar.gz (40.3 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

wandb-0.20.1-py3-none-win_amd64.whl (22.5 MB view details)

Uploaded Python 3Windows x86-64

wandb-0.20.1-py3-none-win32.whl (22.5 MB view details)

Uploaded Python 3Windows x86

wandb-0.20.1-py3-none-musllinux_1_2_x86_64.whl (23.2 MB view details)

Uploaded Python 3musllinux: musl 1.2+ x86-64

wandb-0.20.1-py3-none-musllinux_1_2_aarch64.whl (21.6 MB view details)

Uploaded Python 3musllinux: musl 1.2+ ARM64

wandb-0.20.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (23.2 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

wandb-0.20.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (21.5 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

wandb-0.20.1-py3-none-macosx_11_0_x86_64.whl (22.7 MB view details)

Uploaded Python 3macOS 11.0+ x86-64

wandb-0.20.1-py3-none-macosx_11_0_arm64.whl (22.0 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

wandb-0.20.1-py3-none-macosx_10_14_x86_64.whl (22.5 MB view details)

Uploaded Python 3macOS 10.14+ x86-64

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for wandb-0.20.1.tar.gz
Algorithm Hash digest
SHA256 dbd3fc60dfe7bf83c4de24b206b99b44949fef323f817a783883db72fc5f3bfe
MD5 6f3986eb80aa60b81a5c53944cb66cc3
BLAKE2b-256 621f92be0ca87fb49eb48c16dcf0845a3579a57c4734fec2b95862cf5a0494a0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wandb-0.20.1-py3-none-win_amd64.whl
  • Upload date:
  • Size: 22.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.20.1-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 6d2431652f096b7e394c29a99135a6441c02ed3198b963f0b351a5b5e56aeca0
MD5 27c2dfff568073b353dee7896b56462a
BLAKE2b-256 525fc44ad7b2a062ca5f4da99ae475cea274c38f6ec37bdaca1b1c653ee87274

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wandb-0.20.1-py3-none-win32.whl
  • Upload date:
  • Size: 22.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.20.1-py3-none-win32.whl
Algorithm Hash digest
SHA256 455ee0a652e59ab1e4b546fa1dc833dd3063aa7e64eb8abf95d22f0e9f08c574
MD5 e518597da5a840dc2896925a7eaec694
BLAKE2b-256 af94296e520b086b2a4f10e99bcea3cd5856421b9c004824663501e3789a713b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for wandb-0.20.1-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 29ea495e49393db860f17437fe37e48018da90436ce10949b471780f09293bd7
MD5 4ffdd5b0dfc2f131bbf8345d02d1e89b
BLAKE2b-256 263223890a726302e7be28bda9fff47ce9b491af64e339aba4d32b3b8d1a7aaf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for wandb-0.20.1-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 382508532db09893f81cc926b1d333caa4c8a7db057878899fadf929bbdb3b56
MD5 f986bb2a3a7ad85d3d79f3206ce52f1d
BLAKE2b-256 7df279e783cc50a47d373dfbda862eb5396de8139167e8c6443a16ef0166106f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for wandb-0.20.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 591506ecbdd396648cc323ba270f3ab4aed3158e1dbfa7636c09f9f7f0253e1c
MD5 f7b967104b6b9cc8278bce5099521d29
BLAKE2b-256 88c941b8bdb493e5eda32b502bc1cc49d539335a92cacaf0ef304d7dae0240aa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for wandb-0.20.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 5e58ca32c7147161158f09b0fb5f5896876f8569d0d10ae7b64d0510c868ce33
MD5 cc28e847874685dd641a094e86433ada
BLAKE2b-256 389678fc7a7ea7158d136c84f481423f8736c9346a2387287ec8a6d92019975c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for wandb-0.20.1-py3-none-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 ce3ee412677a1679e04b21e03a91e1e02eb90faf658d682bee86c33cf5f32e09
MD5 e54b0576e8b9e4754aa568b32f058229
BLAKE2b-256 34381df22c2273e6f7ab0aae4fd032085d6d92ab112f5b261646e7dc5e675cfe

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for wandb-0.20.1-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 99cce804c31ec1e0d1e691650a7d51773ed7329c41745d56384fa3655a0e9b2c
MD5 fcb840ef20bd486e216d3303e4522848
BLAKE2b-256 cc7e4eb9aeb2fd974d410a8f2eb11b0219536503913a050d46a03206151705c8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for wandb-0.20.1-py3-none-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 2475a48c693adf677d40da9e1c8ceeaf86d745ffc3b7e3535731279d02f9e845
MD5 66d53aeef1a827aa7f92dc315eff8461
BLAKE2b-256 e6b570f9e2a3d1380b729ae5853763d938edc50072df357f79bbd19b9aae8e3f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wandb-0.20.1-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.20.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e6395cabf074247042be1cf0dc6ab0b06aa4c9538c2e1fdc5b507a690ce0cf17
MD5 5937678a14e625cba22f09b93dc17040
BLAKE2b-256 c918afcc37d0b93dd6f6d0f0c5683b9cfff9416ae1539931f58932a2938c0070

See more details on using hashes here.

Supported by

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