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

Uploaded Source

Built Distributions

wandb-0.19.6-py3-none-win_amd64.whl (20.2 MB view details)

Uploaded Python 3 Windows x86-64

wandb-0.19.6-py3-none-win32.whl (20.2 MB view details)

Uploaded Python 3 Windows x86

wandb-0.19.6-py3-none-musllinux_1_2_x86_64.whl (20.9 MB view details)

Uploaded Python 3 musllinux: musl 1.2+ x86-64

wandb-0.19.6-py3-none-musllinux_1_2_aarch64.whl (19.5 MB view details)

Uploaded Python 3 musllinux: musl 1.2+ ARM64

wandb-0.19.6-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (20.9 MB view details)

Uploaded Python 3 manylinux: glibc 2.17+ x86-64

wandb-0.19.6-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (19.5 MB view details)

Uploaded Python 3 manylinux: glibc 2.17+ ARM64

wandb-0.19.6-py3-none-macosx_11_0_x86_64.whl (20.8 MB view details)

Uploaded Python 3 macOS 11.0+ x86-64

wandb-0.19.6-py3-none-macosx_11_0_arm64.whl (19.9 MB view details)

Uploaded Python 3 macOS 11.0+ ARM64

wandb-0.19.6-py3-none-macosx_10_13_x86_64.whl (20.8 MB view details)

Uploaded Python 3 macOS 10.13+ x86-64

wandb-0.19.6-py3-none-any.whl (6.4 MB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for wandb-0.19.6.tar.gz
Algorithm Hash digest
SHA256 4661856ee070fe8a123caece5b372d495d3cf9f58176a8f981bd716830eefc49
MD5 918ecb81bb6a9357213f69a8916b86d2
BLAKE2b-256 41a263fbebc6ed670a7d834ca76552b8c6382211874b23ee8a718ba26a342a4a

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for wandb-0.19.6-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 8688a4f724d37a90075312e8dccffd948adbe8b6bcb82f9d2b38b764b53269fb
MD5 aef0b3f361c8aee98ca62b5f4aebc3cd
BLAKE2b-256 fdb2a9ffa91c43dbe2a6687467f3aa196947b7532592879738665be5c0db17c3

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for wandb-0.19.6-py3-none-win32.whl
Algorithm Hash digest
SHA256 c0127d99e98202dc2471d44b920129c2c9242fb3a6b52a7aa8bbf9ffa35173e7
MD5 6e66e9a1a18ed6b9fbfb2e7f691aabfb
BLAKE2b-256 b6432f9c71a1fe77a97e9d32b4828f1dd685ac545442f8dfbf703eac8128056f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for wandb-0.19.6-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 2e8dc997eb3ae5f22f5a1c3d4f3b30c28398dda45b9dbada9ff20b8d3984d3e2
MD5 6ef87ab2a6b584f5e5af087c7f046a1e
BLAKE2b-256 bdbeef3c78ab14a631558f639ab3a8379efee6f7d529e3bbf9efb0e17472495b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for wandb-0.19.6-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 ff0973ca26cd06bc5451ae7ba469ad98f74024f5678dfa0d6dc78ca36eb950b6
MD5 e894c6a8716c6bb8803eea2d38c8513e
BLAKE2b-256 3a5e7517c9fa9aa0075160c04e467f6d0e5d1b9bb6b91c4ffd6dd6fa23dd3dd0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for wandb-0.19.6-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 fd9ae9a7f08e4d3972ba341c42af787e951689e0d1a76c111aa66d09bcdadafd
MD5 6f9cf54884751d29fc4632597e895222
BLAKE2b-256 bc892e414951d35e55caf6d8ac5758a82c61c1b8330f77852fbc733c833196eb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for wandb-0.19.6-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 0fe6e7bedd396b2b5f92c7fab3d364f7e0e8cb9f645d0f0c27ba7be94e720931
MD5 b2823bc0575f4f0077a783b52163c632
BLAKE2b-256 88964411c4aa29cfb0bc8e310480181d79779b423231420bbcf5e61ff8c44ff7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for wandb-0.19.6-py3-none-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 3cb10bd1e1c0b568464a017c88eb95e0c8c3e9c1283d9ad4ee717c8977d491c1
MD5 583ee09eb9698c767307dde437074edb
BLAKE2b-256 65761d69145ac3c9c6b63545e684c39b95711c3632c34d452626fd831227089d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for wandb-0.19.6-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ca90dd5519de1a48963536f02d6e14c150475807173b7af1d8ebe3e2f9e3afba
MD5 382406997fa6cb6f1ce5536a1dddc8da
BLAKE2b-256 ad3b222e2a27ee3df3a973d8f165fa47f3e3bb25dc6d9ac1d3ec79b083c5ee09

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for wandb-0.19.6-py3-none-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 ad2887dd916207ead5a9f36e4aebc1b6624265f29033e4e883bb6fbd5b674080
MD5 102b2fe129e7d439aa55a112e63c8acc
BLAKE2b-256 25aa824a171586f3fa1549f9f946d32187362c8d06ff67540d9f1be694ee9094

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for wandb-0.19.6-py3-none-any.whl
Algorithm Hash digest
SHA256 0b174b5f190999a8238961c63c134622bf2173147a1301ea298a9ec58abbd7d4
MD5 2a47e08d92f4ff638937a04e37b32ea8
BLAKE2b-256 bd4f5b77e20f10e643404df871557610a6618383e036de65e9c34b3a8354f2ac

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 Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page