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.

 

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

Uploaded Source

Built Distributions

wandb-0.18.6-py3-none-win_amd64.whl (15.5 MB view details)

Uploaded Python 3 Windows x86-64

wandb-0.18.6-py3-none-win32.whl (15.5 MB view details)

Uploaded Python 3 Windows x86

wandb-0.18.6-py3-none-musllinux_1_2_x86_64.whl (16.2 MB view details)

Uploaded Python 3 musllinux: musl 1.2+ x86-64

wandb-0.18.6-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (16.1 MB view details)

Uploaded Python 3 manylinux: glibc 2.17+ x86-64

wandb-0.18.6-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (15.2 MB view details)

Uploaded Python 3 manylinux: glibc 2.17+ ARM64

wandb-0.18.6-py3-none-macosx_11_0_x86_64.whl (15.9 MB view details)

Uploaded Python 3 macOS 11.0+ x86-64

wandb-0.18.6-py3-none-macosx_11_0_arm64.whl (15.2 MB view details)

Uploaded Python 3 macOS 11.0+ ARM64

wandb-0.18.6-py3-none-macosx_10_13_x86_64.whl (15.8 MB view details)

Uploaded Python 3 macOS 10.13+ x86-64

wandb-0.18.6-py3-none-any.whl (6.3 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wandb-0.18.6.tar.gz
  • Upload date:
  • Size: 9.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for wandb-0.18.6.tar.gz
Algorithm Hash digest
SHA256 ae4a3ba984e376fd989dd49669b9124f9a97f7dac1db33220eb9082158497769
MD5 647569c4aa04cfa0134716bd641ff019
BLAKE2b-256 19f9b6c8fbb2a1dc55013b4723e7a6432c30e29a4e14dd9cb8f6bf5e9282cf01

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for wandb-0.18.6-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 434eec69126d4f938d9f36a588286883cf38c96b98e304baa317093a8801402c
MD5 6ee543e929f0baac8aa1e5d119377032
BLAKE2b-256 1742cbe0a5f37bc0088ebb7cc657f715e726cabcac2e489bdaa20961ba1bf715

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wandb-0.18.6-py3-none-win32.whl
  • Upload date:
  • Size: 15.5 MB
  • Tags: Python 3, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for wandb-0.18.6-py3-none-win32.whl
Algorithm Hash digest
SHA256 6757e291aa69e6c7bab29135bdd5108daa88d28a3d4bc87eb145bab47baa0510
MD5 9ac6ec48883b157a18efa1187637225a
BLAKE2b-256 71744f7de8cdc861d787ea5b4c8760c75c599d148b430aa9bed0314a347f9601

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for wandb-0.18.6-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 584e1d1ef5bf101ee8657459e9ad252c9183e7654272b40d575a7abd298cb817
MD5 9c0356b06f6b053292808016a0cb444e
BLAKE2b-256 40e044c6ad106fadb37fe58593621b27eaa77d98754b8683b922c1270273b5c9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for wandb-0.18.6-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 93d512ccaa8a02ea318c04debd7ba96c3e4dd5ba50f76ad75cda3d7eed0bd9b0
MD5 8b67c52ae69fca2d437895f15a05b923
BLAKE2b-256 bff7381fe219b79b288a6dd080dd919b13ef355be1e6560c05312c74168f9c82

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for wandb-0.18.6-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 3d853587edb350fe8cb71dca1fd228030a328e989223933819a98eb9c6dc4713
MD5 e94c75de7d4731803e44db214a8a6f36
BLAKE2b-256 28995d7b004f26bf126867fc406686197f4e9f5537cb5f37fa6f43953bc11d5a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for wandb-0.18.6-py3-none-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 7d4dca8311f5ea727d82ec656142cba5fd913d7e2a04b266f1a88f9f977bd9fd
MD5 dba01e743aff8dda8b4da4574f391976
BLAKE2b-256 e114f570d1cc430776043e4e5a5ac307b7b78473d51012c9b272aa48794ee3fd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for wandb-0.18.6-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f466b6ccd046c88faf630299bd55ee3bf6162aa8e660981b630d286782978573
MD5 8165a8a24c9771dd4b156a392f923f07
BLAKE2b-256 dc9bd32e814cc2cb5eade5acad89a2e39fd25b17e5be34e548caee8fa730a585

See more details on using hashes here.

File details

Details for the file wandb-0.18.6-py3-none-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for wandb-0.18.6-py3-none-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 0f14bbd44d22694d2828ff95853b1092f98afec6d1eff2ac45c34ddadc6b08e5
MD5 478dc0ad0a961f769f5f05339888ebd9
BLAKE2b-256 dfdc3c4d3ac2f6e2a985c58b0028280daaf6bd01eddbea27bac318de6f381d8a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wandb-0.18.6-py3-none-any.whl
  • Upload date:
  • Size: 6.3 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for wandb-0.18.6-py3-none-any.whl
Algorithm Hash digest
SHA256 30a8b2a2b0991a06c2fd5cc1627279defaa2760fb0fe92e9cac5ae64fa98f2dd
MD5 b49491045ae6e1ce282e3f51358a5f06
BLAKE2b-256 a121a9bf04e46ff977c67f7a57ca077a53bf6ee3de012cac90a43e5cf3897788

See more details on using hashes here.

Supported by

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