W&B Local is the self hosted version of Weights & Biases.
On a machine with Docker and Python installed run the following commands to startup our server:
pip install wandb --upgrade
wandb local
This will start our server and forward port 8080 on the host. To have other machines report metrics to this server run: wandb login --host=http://X.X.X.X:8080
. You can also configure other machines with the following environment variables:
WANDB_BASE_URL=http://X.X.X.X:8080
WANDB_API_KEY=XXXX
To run W&B local manually, you can use the following docker command:
docker run --rm -d -v wandb:/vol -p 8080:8080 --name wandb-local wandb/local
By default this Docker container is not appropriate for production environments. You can email contact@wandb.com
to obtain a license that unlocks production features such as external MySQL, cloud storage, and SSO. This repository provides Terraform scripts for provisioning the wandb/local container in a production environment.
More documentation about running wandb/local on your own servers can be found here.