How to get the info of PyTorch updating and how to update it?

username: two_Two
cooked: <p>Hi,guys<br>
I would like to keep my attention to the update of pytorch,and I have few question to ask:</p>
<ol>
<li>Is there any way to know when pytorch would update and the content of it except browsing the official website once in a while?</li>
<li>If I see something like the link below:<br>
<a href="https://github.com/pytorch/pytorch/issues/18182" rel="nofollow noopener">Update weight initialisations to current best practices</a><br>
How to have all this change of my pytorch ?</li>
</ol>
<p>Thanks！</p>

username: albanD
cooked: <p>Hi,</p>
<p>You can use the release page on github: <a href="https://github.com/pytorch/pytorch/releases">https://github.com/pytorch/pytorch/releases</a><br>
This contains an entry for every version released as well as the full notes of everything that changed with that version.</p>

username: two_Two
cooked: <p>Thanks!<br>
But what if the code has been updated,How do I get the change to pytorch in my computer.<br>
For example:<br>
if the default initialization of bn has been changed to</p>
<pre><code class="lang-auto">BatchNorm{1,2,3}d: ones weight, zero bias
</code></pre>
<p>How can I update it in sync manually ?<br>
Thanks in advance!</p>

username: albanD
cooked: <p>I’m not sure to understand your question.<br>
If you want the feature from the latest version, install the latest version. You can find the instruction on the website <a href="https://pytorch.org/get-started/locally/">here</a>.</p>

username: two_Two
cooked: <p>Hi,Actually I don’t really know all these installations behind the scene,By this chance I think it’s time to get some  sense of it,really do hope you can help me here.<br>
(1) I would like to know the difference the between building form the source and using pip3 install the Pytorch ,would the versions of them are different?<br>
(2) Based on your last reply ,I thought that Pytorch would update if there’re some useful change once in a while ,So I wanted to know if there’s a way to update pytorch in sync with the one on github.<br>
For example:</p>
<pre><code class="lang-auto">from torch.nn.utils import prune
t = torch.rand(2, 5)
p = prune.L1Unstructured(amount=0.7)
pruned_tensor = p.prune(t)
</code></pre>
<p>The code above would fail in my computer:</p>
<pre><code class="lang-auto">Traceback (most recent call last):
  File "&lt;stdin&gt;", line 1, in &lt;module&gt;
ImportError: cannot import name 'prune' from 'torch.nn.utils'
</code></pre>
<p>So what I want to know how I can keep up all these changes?</p>
<p>(3)If the update in this link <a href="https://github.com/pytorch/pytorch/issues/18182" rel="nofollow noopener">Update weight initialisations to current best practices</a> has been changed ,would it announce right off the bat or we would see it in the next version of Pytorch?</p>
<p>Thanks for your patience and help in advance!</p>

username: albanD
cooked: <p>Hi,</p>
<ol>
<li>The version you get with pip depends on how you install it there. Following the instructions on the website, you can either install release versions like 1.4 or nightly which we build every night based on the current master branch on github.<br>
If you build from source, you can either build from the current master branch or anything else (like v1.4 tag if you want to build that versions).</li>
<li>Python packages never update automatically. So you will need to do it yourself. If you don’t need the latest feature, you can update only when major versions are released. If you need recent features, you can use nightly builds and update them regularly.</li>
<li>It will be announced when the major release happens. It will be in master and nightly builds before that. If you want to get it as soon as possible, you can watch the github issue so that you get an email when it is fixed. And the next day, the nightly build will have it.</li>
</ol>

username: two_Two
cooked: <p>Wow,your reply really informative! Thanks from bottom of my heart</p>