# Strange problem using DataParallel

**URL:** <https://discuss.pytorch.org/t/strange-problem-using-dataparallel/2781>\
**Category:** Uncategorized\
**Created:** [May 8, 2017, 2:25pm UTC](https://discuss.pytorch.org/t/strange-problem-using-dataparallel/2781 "2017-05-08T14:25:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Seungyoung\_Park](https://discuss.pytorch.org/user_avatar/discuss.pytorch.org/seungyoung_park/32/48889_2.png) [@Seungyoung\_Park](https://discuss.pytorch.org/u/Seungyoung_Park)\
**Post date:** [May 8, 2017, 2:25pm UTC](https://discuss.pytorch.org/t/strange-problem-using-dataparallel/2781/1 "2017-05-08T14:25:40Z")

</div>

Since pytorch 0.1.11, I had a strange error using DataParallel.

I have some code which has no error using a single GPU.

However, using multiple GPUs, I got ‘out of memory error’ even with the same batch size.

(Note that this code works without any error on pytorch 0.1.10)

Does anyone experience a similar problem since pytorch 0.1.11 ?

Now, I am trying to write the small snippet reproducing this problem.

---

<div class="post-metadata">

**Author:** ![smth](https://discuss.pytorch.org/user_avatar/discuss.pytorch.org/smth/32/13_2.png) [@smth](https://discuss.pytorch.org/u/smth)\
**Post date:** [May 13, 2017, 2:51am UTC](https://discuss.pytorch.org/t/strange-problem-using-dataparallel/2781/2 "2017-05-13T02:51:06Z")

</div>

We’ve run many programs fine with v0.1.11.  
I’m happy to help investigate further if you get me a snippet.
