<h2 dir="auto"><g-emoji class="g-emoji" alias="bug" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f41b.png">🐛</g-emoji> Failed compiling of the current master branch</h2>
<p dir="auto">So, which gloo should we use? The one in caffe2 seems being incomplete while there's another one in thridparty folder.</p>
<h2 dir="auto">To Reproduce</h2>
<ol dir="auto">
<li>Build from source</li>
<li>Current master branch</li>
<li>CUDA 10</li>
<li>Ubuntu 16.04</li>
</ol>
<h2 dir="auto">Expected behavior</h2>
<p dir="auto">[ 76%] Building CXX object caffe2/CMakeFiles/caffe2_gpu.dir/contrib/gloo/allreduce_ops_gpu.cc.o</p>
<h2 dir="auto">Additional context</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="header file not found
pytorch/caffe2/contrib/gloo/allreduce_ops_gpu.cc:6:39: fatal error: gloo/cuda_allreduce_bcube.h"><pre class="notranslate"><code class="notranslate">header file not found
pytorch/caffe2/contrib/gloo/allreduce_ops_gpu.cc:6:39: fatal error: gloo/cuda_allreduce_bcube.h
</code></pre></div>
<h2 dir="auto"><g-emoji class="g-emoji" alias="question" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/2753.png">❓</g-emoji> Questions and Help</h2>
<p dir="auto">Reinforcement learning on  multiprocessing Queue.<br>
If I use cpu ,NO ERROR.<br>
If I use gpu:<br>
RuntimeError: Cowardly refusing to serialize non-leaf tensor which requires_grad, since autograd does not support crossing process boundaries. If you just want to transfer the data, call detach() on the tensor before serializing (e.g., putting it on the queue).<br>
anyone can help me. Thank you very much.<br>
linux<br>
python 3.6<br>
cuda 9.2<br>
pytorch 1.4</p>
<p dir="auto">cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ezyang/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ezyang">@ezyang</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ssnl/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ssnl">@ssnl</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/albanD/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/albanD">@albanD</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/zou3519/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/zou3519">@zou3519</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/gqchen/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/gqchen">@gqchen</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ngimel/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ngimel">@ngimel</a></p>