tag:github.com,2008:https://github.com/StevenYangCC/pytorch/releasesRelease notes from pytorch2020-09-30T20:14:36Ztag:github.com,2008:Repository/300521579/v1.7.0-rc12020-09-30T20:14:36Zv1.7.0-rc1: [1.7] Remove torch.vmap (#45571)<p>torch.vmap is a prototype feature and should not be in the stable<br>
binary. This PR:</p>
<ul>
<li>Removes the <code>torch.vmap</code> API</li>
<li>Removes the documentation entry for <code>torch.vmap</code></li>
<li>Changes the vmap tests to use an internal API instead of <code>torch.vmap</code>.</li>
</ul>
<p>Test Plan:</p>
<ul>
<li>Tested locally (test_torch, test_type_hints, test_vmap), but also wait<br>
for CI.</li>
</ul>zou3519tag:github.com,2008:Repository/300521579/v1.6.02020-07-24T22:18:09Zv1.6.0<p>Revert "[release/1.6] .circleci: Don't use SCCACHE for windows releas…</p>seemetheretag:github.com,2008:Repository/300521579/v1.6.0-rc72020-07-24T22:18:09Zv1.6.0-rc7<p>Revert "[release/1.6] .circleci: Don't use SCCACHE for windows releas…</p>seemetheretag:github.com,2008:Repository/300521579/v1.6.0-rc62020-07-24T20:41:32Zv1.6.0-rc6: [release/1.6] [JIT] Dont include view ops in autodiff graphs (#42029)<ul>
<li>
<p>Dont include view ops in autodiff graphs</p>
</li>
<li>
<p>skip view ops in autodiff testing</p>
</li>
<li>
<p>two more tests</p>
</li>
<li>
<p>appease calng format</p>
</li>
<li>
<p>Pacify clang-format</p>
</li>
</ul>
<p>Co-authored-by: eellison <a href="mailto:eellison@fb.com">eellison@fb.com</a><br>
Co-authored-by: Nikita Shulga <a href="mailto:nikita.shulga@gmail.com">nikita.shulga@gmail.com</a></p>eellisontag:github.com,2008:Repository/300521579/v1.6.0-rc52020-07-24T15:05:20Zv1.6.0-rc5: [jit] fix tuple alias analysis (#41992)<p>Previously when analyzing a TupleConstruct, we ignored the aliasing<br>
information of the inputs and simply marked all elements of the returned<br>
tuple as wildcards. But since we can fully reason about the contents of<br>
a tuple statically, we should be able to assign them aliasing<br>
information.</p>
<p>This analysis was not only incomplete but produced incorrect results,<br>
since if <code>a</code> is not a wildcard, <code>a noalias wilcard</code>. So if we looked at<br>
<code>tuple(a)</code> and reported the aliasing info as <code>tuple(wildcard)</code>, then<br>
<code>tuple[0] noalias a</code>, which is...wrong.</p>suotag:github.com,2008:Repository/300521579/v1.6.0-rc42020-07-23T01:33:07Zv1.6.0-rc4<p>scatter/gather - check that inputs are of the same dimensionality (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="171522963" data-permission-text="Title is private" data-url="https://github.com/pytorch/pytorch/issues/4" data-hovercard-type="pull_request" data-hovercard-url="/pytorch/pytorch/pull/4/hovercard" href="https://github.com/pytorch/pytorch/pull/4">pytorch#4</a>…</p>gchanantag:github.com,2008:Repository/300521579/v1.6.0-rc32020-07-10T16:11:32Zv1.6.0-rc3<p>Update pthreadpool to pthreadpool:029c88620802e1361ccf41d1970bd5b07fd…</p>StevenYangCCtag:github.com,2008:Repository/300521579/v1.6.0-rc22020-07-01T20:36:50Zv1.6.0-rc2: Release GIL during DDP construction. (#40877)<p>Summary:<br>
Pull Request resolved: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="644412385" data-permission-text="Title is private" data-url="https://github.com/pytorch/pytorch/issues/40495" data-hovercard-type="pull_request" data-hovercard-url="/pytorch/pytorch/pull/40495/hovercard" href="https://github.com/pytorch/pytorch/pull/40495">pytorch#40495</a></p>
<p>As part of debugging flaky ddp_under_dist_autograd tests, I realized<br>
we were running into the following deadlock.</p>
<ol>
<li>Rank 0 would go into DDP construction, hold GIL and wait for broadcast in<br>
DDP construction.</li>
<li>Rank 3 is a little slower and performs an RRef fetch call before the DDP<br>
construction.</li>
<li>The RRef fetch call is done on Rank 0 and tries to acquire GIL.</li>
<li>We now have a deadlock since Rank 0 is waiting for Rank 3 to enter the<br>
collective and Rank 3 is waiting for Rank 0 to release GIL.<br>
ghstack-source-id: 106534442</li>
</ol>
<p>Test Plan:</p>
<ol>
<li>Ran ddp_under_dist_autograd 500 times.</li>
<li>waitforbuildbot</li>
</ol>
<p>Differential Revision: D22205180</p>
<p>fbshipit-source-id: 6afd55342e801b9edb9591ff25158a244a8ea66a</p>
<p>Co-authored-by: Pritam Damania <a href="mailto:pritam.damania@fb.com">pritam.damania@fb.com</a></p>malfettag:github.com,2008:Repository/300521579/v1.6.0-rc12020-06-24T03:57:42Zv1.6.0-rc1: .circleci: Fix upload to backup directory<p>Signed-off-by: Eli Uriegas <a href="mailto:eliuriegas@fb.com">eliuriegas@fb.com</a></p>seemetheretag:github.com,2008:Repository/300521579/v1.5.12020-06-11T22:26:46Zv1.5.1: [ONNX] Fix pow op export [1.5.1] (#39791)<ul>
<li>[ONNX] Fix pow op export (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="614386399" data-permission-text="Title is private" data-url="https://github.com/pytorch/pytorch/issues/38065" data-hovercard-type="pull_request" data-hovercard-url="/pytorch/pytorch/pull/38065/hovercard" href="https://github.com/pytorch/pytorch/pull/38065">pytorch#38065</a>)</li>
</ul>
<p>Summary:<br>
Fix pow type cast for opset 9 and update opset 12<br>
Pull Request resolved: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="614386399" data-permission-text="Title is private" data-url="https://github.com/pytorch/pytorch/issues/38065" data-hovercard-type="pull_request" data-hovercard-url="/pytorch/pytorch/pull/38065/hovercard" href="https://github.com/pytorch/pytorch/pull/38065">pytorch#38065</a></p>
<p>Differential Revision: D21485353</p>
<p>Pulled By: malfet</p>
<p>fbshipit-source-id: 3993e835ffad07b2e6585eb5cf1cb7c8474de2ec</p>
<ul>
<li>
<p>Update ort-nighly version as suggested in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="634995729" data-permission-text="Title is private" data-url="https://github.com/pytorch/pytorch/issues/39685" data-hovercard-type="pull_request" data-hovercard-url="/pytorch/pytorch/pull/39685/hovercard?comment_id=641452470&comment_type=issue_comment" href="https://github.com/pytorch/pytorch/pull/39685#issuecomment-641452470">pytorch#39685 (comment)</a></p>
</li>
<li>
<p>Apply changes from <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="612806570" data-permission-text="Title is private" data-url="https://github.com/pytorch/pytorch/issues/37846" data-hovercard-type="pull_request" data-hovercard-url="/pytorch/pytorch/pull/37846/hovercard" href="https://github.com/pytorch/pytorch/pull/37846">pytorch#37846</a> to <code>test_topk_smallest_unsorted</code></p>
</li>
</ul>
<p>Co-authored-by: neginraoof <a href="mailto:neginmr@utexas.edu">neginmr@utexas.edu</a></p>malfet