# Additional random tqdm progress bars while Training

**URL:** <https://discuss.huggingface.co/t/additional-random-tqdm-progress-bars-while-training/10004>\
**Category:** Beginners\
**Created:** [September 15, 2021, 6:13am UTC](https://discuss.huggingface.co/t/additional-random-tqdm-progress-bars-while-training/10004 "2021-09-15T06:13:33Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![muralidandu](https://avatars.discourse-cdn.com/v4/letter/m/73ab20/32.png) [@muralidandu](https://discuss.huggingface.co/u/muralidandu)\
**Post date:** [September 15, 2021, 6:13am UTC](https://discuss.huggingface.co/t/additional-random-tqdm-progress-bars-while-training/10004/1 "2021-09-15T06:13:33Z")

</div>

Hi,

Suddently, I started getting additional progress bars while training. Here is the snapshot. I realized that I am getting train\_batch\_size (8 in this case) bars between every training step update progress bar. It only started from today. All these additional print statements are drastically slowing down the training and the notebook is getting hanged. Any idea how to fix this?

I have disabled tqdm in Trainer but the main tqdm is getting disabled but not these 8 additional bars between each step.

Thanks.

 ![image](https://us1.discourse-cdn.com/hellohellohello/original/2X/2/2b9cd6c37643b954a5f4ea1ee686b4c6d5cf2f61.png)

---

<div class="post-metadata">

**Author:** ![sgugger](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/sgugger/32/2291_2.png) [@sgugger](https://discuss.huggingface.co/u/sgugger)\
**Post date:** [September 15, 2021, 1:10pm UTC](https://discuss.huggingface.co/t/additional-random-tqdm-progress-bars-while-training/10004/2 "2021-09-15T13:10:33Z")

</div>

Is this on TPU?

---

<div class="post-metadata">

**Author:** ![yechenzhi](https://avatars.discourse-cdn.com/v4/letter/y/43a26b/32.png) [@yechenzhi](https://discuss.huggingface.co/u/yechenzhi)\
**Post date:** [September 15, 2021, 1:35pm UTC](https://discuss.huggingface.co/t/additional-random-tqdm-progress-bars-while-training/10004/3 "2021-09-15T13:35:24Z")

</div>

I met the same problem. Not in TPU, I tried in GPU or CPU separately, both were the same.

---

<div class="post-metadata">

**Author:** ![yechenzhi](https://avatars.discourse-cdn.com/v4/letter/y/43a26b/32.png) [@yechenzhi](https://discuss.huggingface.co/u/yechenzhi)\
**Post date:** [September 15, 2021, 1:40pm UTC](https://discuss.huggingface.co/t/additional-random-tqdm-progress-bars-while-training/10004/4 "2021-09-15T13:40:32Z")

</div>

I downgraded ‘datasets’ from 1.12.0 to 1.11.0, problem was solved.

---

<div class="post-metadata">

**Author:** ![sgugger](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/sgugger/32/2291_2.png) [@sgugger](https://discuss.huggingface.co/u/sgugger)\
**Post date:** [September 15, 2021, 1:50pm UTC](https://discuss.huggingface.co/t/additional-random-tqdm-progress-bars-while-training/10004/5 "2021-09-15T13:50:39Z")

</div>

Oh thanks for helping us find the reason!

---

<div class="post-metadata">

**Author:** ![sgugger](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/sgugger/32/2291_2.png) [@sgugger](https://discuss.huggingface.co/u/sgugger)\
**Post date:** [September 15, 2021, 2:55pm UTC](https://discuss.huggingface.co/t/additional-random-tqdm-progress-bars-while-training/10004/6 "2021-09-15T14:55:29Z")

</div>

There should be a patch release of Datasets fixing this issue soon 🙂

---

<div class="post-metadata">

**Author:** ![muralidandu](https://avatars.discourse-cdn.com/v4/letter/m/73ab20/32.png) [@muralidandu](https://discuss.huggingface.co/u/muralidandu)\
**Post date:** [September 15, 2021, 5:38pm UTC](https://discuss.huggingface.co/t/additional-random-tqdm-progress-bars-while-training/10004/7 "2021-09-15T17:38:01Z")

</div>

Thanks for the responses. @yechenzhi downgrading datasets worked. 😃 Thank you 😃
