> ## 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>
  To stop a script instrumented with W\&B, press Ctrl+D. Use this method to cancel a training run you no longer need.
</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>
  A run initialization timeout error means wandb.init() can't establish a connection to the W\&B service within the allotte ...
</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>
  W\&B runs in a separate process, so if W\&B crashes, your training run continues. During an internet outage, W\&B keeps ret ...
</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="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="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 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>
  A crashed status usually indicates a connection problem. If the server loses internet access and data stops syncing, W\&B ...
</Card>

<Card title="Why is my run showing as crashed?" href="/support/models/articles/why-is-my-run-showing-as-crashed" arrow="true" horizontal>
  W\&B marks a run as Crashed when it stops receiving heartbeats from the process that called wandb.init(), without the pro ...
</Card>
