https://github.com/wandb/wandb
The AI developer platform. Use Weights & Biases to train and fine-tune models, and manage models from experimentation to production.
https://github.com/wandb/wandb
ai collaboration data-science data-versioning deep-learning experiment-track hyperparameter-optimization hyperparameter-search hyperparameter-tuning jax keras machine-learning ml-platform mlops model-versioning pytorch reinforcement-learning reproducibility tensorflow
Last synced: about 1 month ago
JSON representation
The AI developer platform. Use Weights & Biases to train and fine-tune models, and manage models from experimentation to production.
- Host: GitHub
- URL: https://github.com/wandb/wandb
- Owner: wandb
- License: mit
- Created: 2017-03-24T05:46:23.000Z (almost 9 years ago)
- Default Branch: main
- Last Pushed: 2025-05-12T05:07:30.000Z (10 months ago)
- Last Synced: 2025-05-12T16:22:40.962Z (10 months ago)
- Topics: ai, collaboration, data-science, data-versioning, deep-learning, experiment-track, hyperparameter-optimization, hyperparameter-search, hyperparameter-tuning, jax, keras, machine-learning, ml-platform, mlops, model-versioning, pytorch, reinforcement-learning, reproducibility, tensorflow
- Language: Python
- Homepage: https://wandb.ai
- Size: 172 MB
- Stars: 9,852
- Watchers: 62
- Forks: 739
- Open Issues: 774
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
- Security: SECURITY.md
Awesome Lists containing this project
- jimsghstars - wandb/wandb - The AI developer platform. Use Weights & Biases to train and fine-tune models, and manage models from experimentation to production. (Python)
- awesome-list - Weights&Biases - A tool for visualizing and tracking your machine learning experiments. (Machine Learning Framework / Experiment Management)
- awesome-ai-research-tools - Weights & Biases
- awesome-python-machine-learning-resources - GitHub - 24% open · ⏱️ 26.08.2022): (工作流程和实验跟踪)
- awesome-keras - wandb - A tool for visualizing and tracking your machine learning experiments. (Frameworks)
- awesome-ai-papers - [wandb
- pytrade.org - wandb - The AI developer platform. Use Weights & Biases to train and fine-tune models, and manage models from experimentation to production. (Curated List / Machine Learing Operations Tools)
- awesome-docker - wandb/wandb
- awesome-agents - Weights & Biases - Platform for experiment tracking, model management, and ML pipeline observability. (Monitoring and Observability)
- AiTreasureBox - wandb/wandb - 11-03_10485_0](https://img.shields.io/github/stars/wandb/wandb.svg)|🔥 A tool for visualizing and tracking your machine learning experiments. This repo contains the CLI and Python API.| (Repos)
- awesome-safety-critical-ai - `wandb/wandfb` - featured AI developer platform (<a id="tools"></a>🛠️ Tools / Model Lifecycle)
- awesome-production-machine-learning - Weights & Biases - Weights & Biase is a machine learning experiment tracking, dataset versioning, hyperparameter search, visualization, and collaboration. (Model, Data and Experiment Management)
- awesome-llmops - Weights & Biases - powered applications, featuring W&B Prompts for LLM execution flow visualization, input and output monitoring, and secure management of prompts and LLM chain configurations. |  | (Large Scale Deployment / ML Platforms)
- fucking-awesome-datascience - Weights & Biases
- awesome-datascience - Weights & Biases
- awesome-repositories - wandb/wandb - The AI developer platform. Use Weights & Biases to train and fine-tune models, and manage models from experimentation to production. (Python)
- Awesome-LLMOps - wandb - tune models, and manage models from experimentation to production.    (Runtime / Observation)
- awesome-data-analysis - Wandb - Tool for experiment tracking, dataset versioning, and model management. (🚀 MLOps / Tools)
- llmops - Weights & Biases - square) | (Training & Fine-Tuning / Experiment Tracking)
README
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](https://wandb.com?utm_source=github&utm_medium=code&utm_campaign=wandb&utm_content=readme)!
Building an LLM app? Track, debug, evaluate, and monitor LLM apps with [Weave](https://wandb.github.io/weave?utm_source=github&utm_medium=code&utm_campaign=wandb&utm_content=readme), our new suite of tools for GenAI.
# Documentation
See the [W&B Developer Guide](https://docs.wandb.ai/?utm_source=github&utm_medium=code&utm_campaign=wandb&utm_content=documentation) and [API Reference Guide](https://docs.wandb.ai/training/api-reference#api-overview?utm_source=github&utm_medium=code&utm_campaign=wandb&utm_content=documentation) 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
```shell
pip install wandb
```
## Sign up and create an API key
Sign up for a [W&B account](https://wandb.ai/login?utm_source=github&utm_medium=code&utm_campaign=wandb&utm_content=quickstart). Create a new API key at [wandb.ai/settings](https://wandb.ai/settings) and store it securely. Optionally, use the `wandb login` CLI to configure your API key on your machine. You can skip this step -- W&B will prompt you to create an API key the first time you use it.
**Note:** API keys can only be viewed once when created. Store your API key in a secure location like a password manager or environment variable.
## 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.
```python
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](https://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](https://docs.wandb.ai/models/integrations) 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](https://docs.wandb.ai/models/integrations/add-wandb-to-any-library).
# 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](https://docs.wandb.ai/platform/hosting/hosting-options/multi_tenant_cloud?utm_source=github&utm_medium=code&utm_campaign=wandb&utm_content=hosting): Fully managed platform deployed in W&B’s Google Cloud Platform (GCP) account in GCP’s North America regions.
2. [Dedicated Cloud](https://docs.wandb.ai/platform/hosting/hosting-options/dedicated_cloud?utm_source=github&utm_medium=code&utm_campaign=wandb&utm_content=hosting): 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](https://docs.wandb.ai/platform/hosting/hosting-options/self-managed?utm_source=github&utm_medium=code&utm_campaign=wandb&utm_content=hosting): Deploy W&B Server on your AWS, GCP, or Azure cloud account or within your on-premises infrastructure.
See the [Hosting documentation](https://docs.wandb.ai/guides/hosting?utm_source=github&utm_medium=code&utm_campaign=wandb&utm_content=hosting) 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](https://devguide.python.org/versions/).
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](https://github.com/wandb/wandb/blob/main/CONTRIBUTING.md) for more information on the development workflow and the internals of the wandb library. For wandb bugs and feature requests, visit [GitHub Issues](https://github.com/wandb/wandb/issues) or contact support@wandb.com.
# W&B Community
Be a part of the growing W&B Community and interact with the W&B team in our [Discord](https://wandb.me/discord). Stay connected with the latest AI updates and tutorials with [W&B Fully Connected](https://wandb.ai/fully-connected).
# License
[MIT License](https://github.com/wandb/wandb/blob/main/LICENSE)