# WandB "offline" for parts of some scripts

**URL:** <https://community.wandb.ai/t/wandb-offline-for-parts-of-some-scripts/9179>\
**Category:** W&B Help\
**Created:** [March 12, 2025, 2:19am UTC](https://community.wandb.ai/t/wandb-offline-for-parts-of-some-scripts/9179 "2025-03-12T02:19:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![isabellargaines](https://avatars.discourse-cdn.com/v4/letter/i/3ab097/32.png) [@isabellargaines](https://community.wandb.ai/u/isabellargaines)\
**Post date:** [March 12, 2025, 2:19am UTC](https://community.wandb.ai/t/wandb-offline-for-parts-of-some-scripts/9179/1 "2025-03-12T02:19:28Z")

</div>

I am doing a machine learning devops course through udacity, and part of it is setting up steps to create a pipeline. I am able to run my first step using the terminal and it works perfectly, and creates an artifact in my WandB project. Whenever I run my second step it insists that wandb is in offline mode even if I use the terminal command to set it to online immediately before (with success message). I also get a hydra error when I run the code trying to connect to wandb, but it runs successfully if I just run the code itself. I’m really not sure what the issue is, I know my code itself is fine because it runs successfully locally. I’ll link my github in case anyone wants to take a shot at figuring it out. [IsabellaHitchcock/Project-Build-an-ML-Pipeline-Starter: This is a custom project for WGU, the original project repo is https://github.com/udacity/nd0821-c2-build-model-workflow-starter](https://github.com/IsabellaHitchcock/Project-Build-an-ML-Pipeline-Starter)
