# RuntimeError: An attempt has been made to start a new process before the current process has finished its bootstrapping phase

**URL:** <https://discuss.pytorch.org/t/runtimeerror-an-attempt-has-been-made-to-start-a-new-process-before-the-current-process-has-finished-its-bootstrapping-phase/145462>\
**Category:** vision\
**Created:** [March 3, 2022, 4:55am UTC](https://discuss.pytorch.org/t/runtimeerror-an-attempt-has-been-made-to-start-a-new-process-before-the-current-process-has-finished-its-bootstrapping-phase/145462 "2022-03-03T04:55:12Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![yash92328](https://discuss.pytorch.org/user_avatar/discuss.pytorch.org/yash92328/32/59477_2.png) [@yash92328](https://discuss.pytorch.org/u/yash92328)\
**Post date:** [April 14, 2023, 9:48am UTC](https://discuss.pytorch.org/t/runtimeerror-an-attempt-has-been-made-to-start-a-new-process-before-the-current-process-has-finished-its-bootstrapping-phase/145462/9 "2023-04-14T09:48:33Z")

</div>

I removed num\_workers parameter from DataLoader and it seems it stopped using multithreading. It worked after that.

---

_[View the full topic](https://discuss.pytorch.org/t/runtimeerror-an-attempt-has-been-made-to-start-a-new-process-before-the-current-process-has-finished-its-bootstrapping-phase/145462)._
