Appropriate limits and guidelines for logging data to Weights & Biases
Best Practices for Fast Page Loading
For fast page loading in the W&B UI, we recommend keeping logged data amounts within these bounds.
Scalars:you can have tens of thousands of steps and hundreds of metrics
Histograms: we recommend limiting to thousands of steps
If you send us more than that, your data will be saved and tracked, but pages may load more slowly.
Python Script Performance
Generally you shouldn't be calling wandb.log more than a few times per second or wandb may start to interfere with your training run's performance.
Is frequent logging slowing your training runs down? Check out this Colab for methods to get better performance by changing your logging strategy.
We do not assert any limits beyond rate limiting. Our Python client will automatically do an exponential backoff and retry requests that exceed limits, so this should be transparent to you. It will say “Network failure” on the command line. For unpaid accounts, we may reach out in extreme cases where usage exceeds reasonable thresholds.
The W&B API is rate limited by IP and API key. New accounts are restricted to 200 requests per minute. This rate allows you to run approximately 15 processes in parallel and have them report without being throttled. If the wandb client detects it's being limited, it will backoff and retry sending the data in the future. If you need to run more than 15 processes in parallel send an email to [email protected].
For sweeps, we support up to 20 parallel agents.
The maximum file size for new accounts is 2GB. A single run is allowed to store 10 GB of data. If you need to store larger files or more data per run, contact us at [email protected].
Metrics are sampled to 1500 data points by default before displaying in the UI.
While a run is in progress we tail the last 5000 lines of your log for you in the UI. After a run is completed the entire log is archived and can be downloaded from an individual run page.
We support up to 15MB of serialized config data per run.
Here are some additional guidelines for logging data to W&B.
Nested parameters: We automatically flatten nested parameters, so if you pass us a dictionary we will turn it into a dot-separated name. For config values, we support 3 dots in the name. For summary values, we support 4 dots.