> ## 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.

# Run Crashes

<Card title="How can I fix an error like `AttributeError: module 'wandb' has no attribute ...`?" href="/support/models/articles/how-can-i-fix-an-error-like-attributeerr" arrow="true" horizontal>
  If you encounter an error like AttributeError: module 'wandb' has no attribute 'init' or AttributeError: module 'wandb'  ...
</Card>

<Card title="How do I fix `Cuda out of memory` during a sweep?" href="/support/models/articles/cuda-out-of-memory-during-a-sweep" arrow="true" horizontal>
  If you see Cuda out of memory during a sweep, refactor your code to use process-based execution. Rewrite your code as a  ...
</Card>

<Card title="How do I kill a job with wandb?" href="/support/models/articles/how-do-i-kill-a-job-with-wandb" arrow="true" horizontal>
  Press Ctrl+D on the keyboard to stop a script instrumented with W\&B.
</Card>

<Card title="How do I resolve a run initialization timeout error in wandb?" href="/support/models/articles/how-do-i-resolve-a-run-initialization-ti" arrow="true" horizontal>
  To resolve a run initialization timeout error, follow these steps: Retry initialization: Attempt to restart the run. Che ...
</Card>

<Card title="If wandb crashes, will it possibly crash my training run?" href="/support/models/articles/if-wandb-crashes-will-it-possibly-crash-" arrow="true" horizontal>
  It is critical to avoid interference with training runs. W\&B operates in a separate process, ensuring that training cont ...
</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 library encounters an issue launching the process that synchronizes data to the server. Th ...
</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>
  You likely lost connection to your machine during training. Recover data by running wandb sync PATH\_TO\_RUN (/models/ref/ ...
</Card>

<Card title="Why does my process hang when using Hydra with W&B?" href="/support/models/articles/process-hangs-when-using-hydra-with-wan" arrow="true" horizontal>
  If your process hangs when started with Hydra, this is likely caused by a multiprocessing conflict between Hydra and W\&B ...
</Card>

<Card title="Why does my training hang with distributed training?" href="/support/models/articles/training-hangs-with-distributed-trainin" arrow="true" horizontal>
  There are two common reasons training hangs when using W\&B with distributed training: 1. Hanging at the beginning of tra ...
</Card>

<Card title="Why is a run marked crashed in W&B when it’s training fine locally?" href="/support/models/articles/why-is-a-run-marked-crashed-in-wb-when-i" arrow="true" horizontal>
  This indicates a connection problem. If the server loses internet access and data stops syncing to W\&B, the system marks ...
</Card>
