# When using wandb for logging every epoch it slows down training from 15s to 1.5Min per epoch

**URL:** <https://community.wandb.ai/t/when-using-wandb-for-logging-every-epoch-it-slows-down-training-from-15s-to-1-5min-per-epoch/6597>\
**Category:** W&B Help\
**Tags:** wandb\
**Created:** [April 30, 2024, 10:08pm UTC](https://community.wandb.ai/t/when-using-wandb-for-logging-every-epoch-it-slows-down-training-from-15s-to-1-5min-per-epoch/6597 "2024-04-30T22:08:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![pov-hirschhausen](https://avatars.discourse-cdn.com/v4/letter/p/7cd45c/32.png) [@pov-hirschhausen](https://community.wandb.ai/u/pov-hirschhausen)\
**Post date:** [April 30, 2024, 10:08pm UTC](https://community.wandb.ai/t/when-using-wandb-for-logging-every-epoch-it-slows-down-training-from-15s-to-1-5min-per-epoch/6597/1 "2024-04-30T22:08:41Z")

</div>

Hey,  
Just started to use wandb, and somehow when using it to log some basic performance metrics (acc values etc.) after each epoch it slows down my training from appox. 15s per epoch to about 1.5Min per epoch.

Already tried offline mode and wandb.Settings(\_disable\_stats=True, console=‘off’), as well as forwarding the internal-debug.log (which gets massive) to a null path. All of the approaches did not result in any runtime differences (it still takes 1.5 Min per epoch).

Any hint/help is appreciated.

Best  
Paul

---

<div class="post-metadata">

**Author:** ![luis\_bergua](https://avatars.discourse-cdn.com/v4/letter/l/dbc845/32.png) [@luis\_bergua](https://community.wandb.ai/u/luis_bergua)\
**Post date:** [May 6, 2024, 10:12am UTC](https://community.wandb.ai/t/when-using-wandb-for-logging-every-epoch-it-slows-down-training-from-15s-to-1-5min-per-epoch/6597/2 "2024-05-06T10:12:02Z")

</div>

Hey @pov-hirschhausen, thanks for flagging this! Would you mind sharing a code example so I can take a look and try to reproduce on my end?

---

<div class="post-metadata">

**Author:** ![luis\_bergua](https://avatars.discourse-cdn.com/v4/letter/l/dbc845/32.png) [@luis\_bergua](https://community.wandb.ai/u/luis_bergua)\
**Post date:** [May 9, 2024, 12:05pm UTC](https://community.wandb.ai/t/when-using-wandb-for-logging-every-epoch-it-slows-down-training-from-15s-to-1-5min-per-epoch/6597/3 "2024-05-09T12:05:30Z")

</div>

Hey @pov-hirschhausen, following up here! Would you have any problems with sharing a code example so we can reproduce this on our end?

---

<div class="post-metadata">

**Author:** ![luis\_bergua](https://avatars.discourse-cdn.com/v4/letter/l/dbc845/32.png) [@luis\_bergua](https://community.wandb.ai/u/luis_bergua)\
**Post date:** [May 13, 2024, 2:28pm UTC](https://community.wandb.ai/t/when-using-wandb-for-logging-every-epoch-it-slows-down-training-from-15s-to-1-5min-per-epoch/6597/4 "2024-05-13T14:28:59Z")

</div>

Hi @pov-hirschhausen, since we have not heard back from you we are going to close this request. If you would like to re-open the conversation, please let us know!
