> ## Documentation Index
> Fetch the complete documentation index at: https://docs.wandb.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Experiments

<Card title="Does W&B use the `multiprocessing` library?" href="/support/models/articles/does-wb-use-the-multiprocessing-library" arrow="true" horizontal>
  Yes, W\&B uses the multiprocessing library. As a result, scripts that call W\&B directly need to guard their entry point s ...
</Card>

<Card title="Does logging block my training?" href="/support/models/articles/does-logging-block-my-training" arrow="true" horizontal>
  "Is the logging function lazy? I don't want to depend on the network to send results to your servers while executing loc ...
</Card>

<Card title="Does your tool track or store training data?" href="/support/models/articles/does-your-tool-track-or-store-training-d" arrow="true" horizontal>
  To associate a dataset with a training run, pass a SHA or unique identifier to wandb.Run.config.update(...). W\&B stores  ...
</Card>

<Card title="How can I access the data logged to my runs directly and programmatically?" href="/support/models/articles/how-can-i-access-the-data-logged-to-my-r" arrow="true" horizontal>
  The history object tracks metrics logged with wandb.log. To access the history object, use the API:
</Card>

<Card title="How can I compare images or media across epochs or steps?" href="/support/models/articles/how-can-i-compare-images-or-media-across" arrow="true" horizontal>
  To compare images or other media logged at different epochs or steps, expand the image panel and use the step slider to  ...
</Card>

<Card title="How can I configure the name of the run in my training code?" href="/support/models/articles/how-can-i-configure-the-name-of-the-run-" arrow="true" horizontal>
  At the beginning of the training script, call wandb.init with a run name. For example: wandb.init(name="my\_awesome\_run") ...
</Card>

<Card title="How can I define the local location for `wandb` files?" href="/support/models/articles/how-can-i-define-the-local-location-for-" arrow="true" horizontal>
  You can control where wandb stores its files locally by setting the following environment variables or, where noted, by  ...
</Card>

<Card title="How can I organize my logged charts and media in the W&B UI?" href="/support/models/articles/how-can-i-organize-my-logged-charts-and-" arrow="true" horizontal>
  Organize logged charts and media into related groups by naming logged items with a shared prefix, which makes it easier  ...
</Card>

<Card title="How can I save the git commit associated with my run?" href="/support/models/articles/how-can-i-save-the-git-commit-associated" arrow="true" horizontal>
  When you call wandb.init, W\&B automatically collects Git information, including the remote repository link and the SHA o ...
</Card>

<Card title="How can I see files that don't appear in the Files tab?" href="/support/models/articles/how-can-i-see-files-that-do-not-appear-i" arrow="true" horizontal>
  The Files tab shows a maximum of 10,000 files. To download all files, use the public API:
</Card>

<Card title="How can I use W&B with multiprocessing, for example distributed training?" href="/support/models/articles/how-can-i-use-wandb-with-multiprocessing" arrow="true" horizontal>
  This article explains how to use W\&B in training programs that span multiple processes, such as distributed training job ...
</Card>

<Card title="How do I add Plotly or Bokeh Charts into Tables?" href="/support/models/articles/how-do-i-add-plotly-or-bokeh-charts-into" arrow="true" horizontal>
  Direct integration of Plotly or Bokeh figures into tables isn't supported. Instead, export the figures to HTML and inclu ...
</Card>

<Card title="How do I fix `Rate limit exceeded` errors when logging metrics?" href="/support/models/articles/rate-limit-exceeded-on-metric-logging" arrow="true" horizontal>
  If you receive an HTTP 429 Rate limit exceeded error when you call wandb.log(), you're exceeding the rate limit quota fo ...
</Card>

<Card title="How do I get the random run name in my script?" href="/support/models/articles/how-do-i-get-the-random-run-name-in-my-s" arrow="true" horizontal>
  Call a run object's .save() method to save the current run. Retrieve the name using the run object's name attribute.
</Card>

<Card title="How do I launch multiple runs from one script?" href="/support/models/articles/how-do-i-launch-multiple-runs-from-one-s" arrow="true" horizontal>
  To log multiple runs within a single script, you must finish each previous run before you start a new one. The following ...
</Card>

<Card title="How do I log NLP metrics and text outputs in W&B?" href="/support/models/articles/how-do-i-log-nlp-metrics-and-text-outputs-in-wandb" arrow="true" horizontal>
  You can log corpus-level NLP scores (BLEU, ROUGE, perplexity) with wandb.log() and per-example outputs with wandb.Table. ...
</Card>

<Card title="How do I log a list of values?" href="/support/models/articles/how-do-i-log-a-list-of-values" arrow="true" horizontal>
  You can log a list of values, such as per-step losses, with wandb.Run.log(). The following examples show two common appr ...
</Card>

<Card title="How do I log gradients and model weights with wandb.watch()?" href="/support/models/articles/how-do-i-log-gradients-and-model-weights-with-wandb-watch" arrow="true" horizontal>
  wandb.watch() hooks into a PyTorch model's parameters and gradients and logs histograms of their values at regular inter ...
</Card>

<Card title="How do I log metrics on two different time scales?" href="/support/models/articles/how-do-i-log-metrics-on-two-time-scales" arrow="true" horizontal>
  To log metrics on two different time scales, log indices like batch and epoch alongside your metrics. For example, you m ...
</Card>

<Card title="How do I page through large API results in W&B?" href="/support/models/articles/how-do-i-paginate-through-large-api-results-in-wandb" arrow="true" horizontal>
  You can page through API result using the standard lazy-iterator pattern and per\_page parameter. Additionally, you can u ...
</Card>

<Card title="How do I plot multiple lines on a plot with a legend?" href="/support/models/articles/how-do-i-plot-multiple-lines-on-a-plot-w" arrow="true" horizontal>
  Create a multi-line custom chart with wandb.plot.line\_series(). Go to the project page to view the line chart. To add a  ...
</Card>

<Card title="How do I programmatically access the human-readable run name?" href="/support/models/articles/how-do-i-programmatically-access-the-hum" arrow="true" horizontal>
  To access the .name attribute of a wandb.Run, use the following code:
</Card>

<Card title="How do I run W&B offline?" href="/support/models/articles/how-do-i-run-wandb-offline" arrow="true" horizontal>
  To train on a machine without internet access and upload your results to W\&B later, follow these steps: 1. Set the envir ...
</Card>

<Card title="How do I set the run name to the run ID?" href="/support/models/articles/how-do-i-set-the-run-name-to-the-run-id" arrow="true" horizontal>
  To overwrite the run name with the run ID, use the following code snippet:
</Card>

<Card title="How do I set up W&B alerts and notifications?" href="/support/models/articles/how-do-i-set-up-wandb-alerts-and-notifications" arrow="true" horizontal>
  You can set up alerts in and notifications using the W\&B Settings page. W\&B supports automated alerts in User Settings ( ...
</Card>

<Card title="How do I update run config, tags, and notes via the W&B API?" href="/support/models/articles/how-do-i-update-run-config-tags-and-notes-via-the-wandb-api" arrow="true" horizontal>
  After a run finishes, use the Public API guide to edit config, display name, tags, and notes without re-running the expe ...
</Card>

<Card title="How do I use W&B with JAX?" href="/support/models/articles/how-do-i-use-wandb-with-jax" arrow="true" horizontal>
  W\&B has no JAX-specific integration. However, you can convert JAX device arrays to Python scalars and then use wandb.log ...
</Card>

<Card title="How do I use the parallel coordinates chart in W&B?" href="/support/models/articles/how-do-i-use-the-parallel-coordinates-chart-in-wandb" arrow="true" horizontal>
  The parallel coordinates chart shows how hyperparameters relate to metrics across many runs. Each line is one run; each  ...
</Card>

<Card title="How should I run sweeps on SLURM?" href="/support/models/articles/how-should-i-run-sweeps-on-slurm" arrow="true" horizontal>
  For W\&B sweeps on the SLURM scheduling system, run wandb agent --count 1 SWEEP\_ID in each scheduled job. The agent execu ...
</Card>

<Card title="I didn't name my run. Where is the run name coming from?" href="/support/models/articles/i-didnt-name-my-run-where-is-the-run-nam" arrow="true" horizontal>
  If a run isn't explicitly named, W\&B assigns a random name to identify it in your project. Examples of random names are  ...
</Card>

<Card title="InitStartError: Error communicating with wandb process" href="/support/models/articles/initstarterror-error-communicating-with-" arrow="true" horizontal>
  This error indicates that the W\&B library can't launch the process that synchronizes data to the server. To resolve the  ...
</Card>

<Card title="Is it possible to save metrics offline and sync them to W&B later?" href="/support/models/articles/is-it-possible-to-save-metrics-offline-a" arrow="true" horizontal>
  By default, wandb.init starts a process that syncs metrics in real time to the cloud. If you need to run experiments wit ...
</Card>

<Card title="My run's state is `crashed` on the UI but is still running on my machine. What do I do to get my data back?" href="/support/models/articles/my-runs-state-is-crashed-on-the-ui-but-i" arrow="true" horizontal>
  This state usually means you lost connection to your machine during training. To recover your data, run wandb sync PATH\_ ...
</Card>

<Card title="What does wandb.init do to my training process?" href="/support/models/articles/what-does-wandbinit-do-to-my-training-pr" arrow="true" horizontal>
  When wandb.init() runs in a training script, an API call creates a run object on the W\&B servers. A new process starts t ...
</Card>

<Card title="What happens if I pass a class attribute into wandb.Run.log()?" href="/support/models/articles/what-happens-if-i-pass-a-class-attribute" arrow="true" horizontal>
  Avoid passing class attributes into wandb.Run.log(). Attributes may change before the network call executes. When you st ...
</Card>

<Card title="What happens when I log millions of steps to W&B? How is that rendered in the browser?" href="/support/models/articles/what-happens-when-i-log-millions-of-step" arrow="true" horizontal>
  The number of points sent affects the loading time of graphs in the UI. For lines exceeding 1,000 points, the backend sa ...
</Card>

<Card title="What if I want to integrate W&B into my project, but I don't want to upload any images or media?" href="/support/models/articles/what-if-i-want-to-integrate-wb-into-my-p" arrow="true" horizontal>
  W\&B supports projects that log only scalars by letting you specify which files or data to upload. For an example of logg ...
</Card>

<Card title="What if I want to log some metrics on batches and some metrics only on epochs?" href="/support/models/articles/what-if-i-want-to-log-some-metrics-on-ba" arrow="true" horizontal>
  To log specific metrics in each batch and standardize plots, log the desired x-axis values alongside the metrics. In the ...
</Card>

<Card title="What is the difference between wandb.init modes?" href="/support/models/articles/what-is-the-difference-between-wandbinit" arrow="true" horizontal>
  When you call wandb.init, you can choose a mode that controls how the client communicates with the W\&B server. The follo ...
</Card>

<Card title="Why am I seeing fewer data points than I logged?" href="/support/models/articles/why-am-i-seeing-fewer-data-points-than-i" arrow="true" horizontal>
  When you visualize metrics against an X-axis other than Step, expect to see fewer data points. You must log metrics at t ...
</Card>

<Card title="Why are my metrics missing from wandb.log()?" href="/support/models/articles/why-are-my-metrics-missing-from-wandb-log" arrow="true" horizontal>
  If metrics logged with wandb.log() are not appearing in the W\&B UI, there are several common causes. Offline mode withou ...
</Card>

<Card title="Why are steps missing from a CSV metric export?" href="/support/models/articles/why-are-steps-missing-from-a-csv-metric-" arrow="true" horizontal>
  Export limits can prevent you from exporting the entire run history as a CSV or with the run.history API. To access the  ...
</Card>

<Card title="Why can't I sort or filter metrics with certain characters?" href="/support/models/articles/why-cant-i-sort-or-filter-metrics-with-c" arrow="true" horizontal>
  Metric names in W\&B must follow GraphQL naming conventions so that you can sort and filter them in the UI. Valid metric  ...
</Card>

<Card title="Why do my workspace settings not persist between sessions?" href="/support/models/articles/why-do-my-workspace-settings-not-persist" arrow="true" horizontal>
  Workspace layout (panels, filters, grouping) persists only when you save a view. Unsaved changes stay in your browser se ...
</Card>

<Card title="Why does my process stop responding when using Hydra with W&B?" href="/support/models/articles/process-hangs-when-using-hydra-with-wan" arrow="true" horizontal>
  This page explains how to resolve unresponsive processes that occur when you start a process with Hydra alongside W\&B. I ...
</Card>

<Card title="Why does my training hang with distributed training?" href="/support/models/articles/training-hangs-with-distributed-trainin" arrow="true" horizontal>
  This article helps you resolve training hangs when you use W\&B with distributed training frameworks, so your runs can st ...
</Card>

<Card title="Why is my W&B run slow to initialize or upload?" href="/support/models/articles/why-is-my-wandb-run-slow-to-initialize-or-upload" arrow="true" horizontal>
  Slow wandb.init() or sluggish metric uploads are usually caused by network latency, large media payloads, high logging f ...
</Card>

<Card title="Why is my sweep agent not picking up new runs?" href="/support/models/articles/why-is-my-sweep-agent-not-picking-up-new-runs" arrow="true" horizontal>
  If your sweep agent starts but does not receive new run configurations, or receives one run and then idles, there are se ...
</Card>

<Card title="Why is nothing showing up in my graphs?" href="/support/models/articles/why-is-nothing-showing-up-in-my-graphs" arrow="true" horizontal>
  If the message "No visualization data logged yet" appears, the script hasn't executed the first wandb.log call. This can ...
</Card>

<Card title="Why is the same metric appearing more than once?" href="/support/models/articles/why-is-the-same-metric-appearing-more-th" arrow="true" horizontal>
  When you log multiple data types under the same key, W\&B splits them in the database. This results in multiple entries o ...
</Card>

<Card title="Will wandb slow down my training?" href="/support/models/articles/will-wandb-slow-down-my-training" arrow="true" horizontal>
  W\&B has a minimal impact on training performance under normal usage conditions. Normal use includes logging at a rate of ...
</Card>
