Thanks to visit codestin.com
Credit goes to pypi.org

Skip to main content

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

Project description



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 [email protected].

 

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.24.0.tar.gz (44.2 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.24.0-py3-none-win_arm64.whl (20.1 MB view details)

Uploaded Python 3Windows ARM64

wandb-0.24.0-py3-none-win_amd64.whl (22.1 MB view details)

Uploaded Python 3Windows x86-64

wandb-0.24.0-py3-none-win32.whl (22.1 MB view details)

Uploaded Python 3Windows x86

wandb-0.24.0-py3-none-musllinux_1_2_x86_64.whl (22.9 MB view details)

Uploaded Python 3musllinux: musl 1.2+ x86-64

wandb-0.24.0-py3-none-musllinux_1_2_aarch64.whl (21.2 MB view details)

Uploaded Python 3musllinux: musl 1.2+ ARM64

wandb-0.24.0-py3-none-manylinux_2_28_x86_64.whl (22.8 MB view details)

Uploaded Python 3manylinux: glibc 2.28+ x86-64

wandb-0.24.0-py3-none-manylinux_2_28_aarch64.whl (21.1 MB view details)

Uploaded Python 3manylinux: glibc 2.28+ ARM64

wandb-0.24.0-py3-none-macosx_12_0_x86_64.whl (22.7 MB view details)

Uploaded Python 3macOS 12.0+ x86-64

wandb-0.24.0-py3-none-macosx_12_0_arm64.whl (21.5 MB view details)

Uploaded Python 3macOS 12.0+ ARM64

File details

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

File metadata

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

File hashes

Hashes for wandb-0.24.0.tar.gz
Algorithm Hash digest
SHA256 4715a243b3d460b6434b9562e935dfd9dfdf5d6e428cfb4c3e7ce4fd44460ab3
MD5 afd46d1e028985b5a7291b02318f164b
BLAKE2b-256 277eaad6e943012ea4d88f3a037f1a5a7c6898263c60fbef8c9cdb95a8ff9fd9

See more details on using hashes here.

File details

Details for the file wandb-0.24.0-py3-none-win_arm64.whl.

File metadata

  • Download URL: wandb-0.24.0-py3-none-win_arm64.whl
  • Upload date:
  • Size: 20.1 MB
  • Tags: Python 3, Windows ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for wandb-0.24.0-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 e0f2367552abfca21b0f3a03405fbf48f1e14de9846e70f73c6af5da57afd8ef
MD5 1a131bf891eae14373694ae11f132364
BLAKE2b-256 8785a845aefd9c2285f98261fa6ffa0a14466366c1ac106d35bc84b654c0ad7f

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for wandb-0.24.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 32604eddcd362e1ed4a2e2ce5f3a239369c4a193af223f3e66603481ac91f336
MD5 d0470435ea64900d21834af0b6b73fc9
BLAKE2b-256 a192909c81173cf1399111f57f9ca5399a8f165607b024e406e080178c878f70

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for wandb-0.24.0-py3-none-win32.whl
Algorithm Hash digest
SHA256 42af348998b00d4309ae790c5374040ac6cc353ab21567f4e29c98c9376dee8e
MD5 82182b480a05a2897b88906516066a3c
BLAKE2b-256 d23443b7f18870051047ce6fe18e7eb24ba7ebdc71663a8f1c58e31e855eb8ac

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for wandb-0.24.0-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 11f7e7841f31eff82c82a677988889ad3aa684c6de61ff82145333b5214ec860
MD5 b29e04f1f0cb1b7bd95cbfb305f85e87
BLAKE2b-256 16e5d851868ce5b4b437a7cc90405979cd83809790e4e2a2f1e454f63f116e52

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for wandb-0.24.0-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 51b2b9a9d7d6b35640f12a46a48814fd4516807ad44f586b819ed6560f8de1fd
MD5 7a5f1339cd3a9220666d892f6e80f96c
BLAKE2b-256 e9f83e68841a4282a4fb6a8935534e6064acc6c9708e8fb76953ec73bbc72a5e

See more details on using hashes here.

File details

Details for the file wandb-0.24.0-py3-none-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for wandb-0.24.0-py3-none-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9485344b4667944b5b77294185bae8469cfa4074869bec0e74f54f8492234cc2
MD5 690d80d189d3368b1e9396fc3223df10
BLAKE2b-256 22a18d68a914c030e897c306c876d47c73aa5d9ca72be608971290d3a5749570

See more details on using hashes here.

File details

Details for the file wandb-0.24.0-py3-none-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for wandb-0.24.0-py3-none-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 2b25fc0c123daac97ed32912ac55642c65013cc6e3a898e88ca2d917fc8eadc0
MD5 c30ac7082756e76d4866b6145cdef198
BLAKE2b-256 6e5fe3124e68d02b30c62856175ce714e07904730be06eecb00f66bb1a59aacf

See more details on using hashes here.

File details

Details for the file wandb-0.24.0-py3-none-macosx_12_0_x86_64.whl.

File metadata

File hashes

Hashes for wandb-0.24.0-py3-none-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 0423fbd58c3926949724feae8aab89d20c68846f9f4f596b80f9ffe1fc298130
MD5 3745b2c5e9e8c8d51b08558e30ff7d28
BLAKE2b-256 ed84fadf0d5f1d86c3ba662d2b33a15d2b1f08ff1e4e196c77e455f028b0fda2

See more details on using hashes here.

File details

Details for the file wandb-0.24.0-py3-none-macosx_12_0_arm64.whl.

File metadata

File hashes

Hashes for wandb-0.24.0-py3-none-macosx_12_0_arm64.whl
Algorithm Hash digest
SHA256 aa9777398ff4b0f04c41359f7d1b95b5d656cb12c37c63903666799212e50299
MD5 ed94e0ab6590ac3080bbd08cf97eb14d
BLAKE2b-256 5f8aefec186dcc5dcf3c806040e3f33e58997878b2d30b87aa02b26f046858b6

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