title: How to access latest torchvision.models (e.g. ViT)?
body: <p>I have seen in the <a href="https://pytorch.org/vision/master/models.html" rel="nofollow noreferrer">official torchvision docs</a> that recently vision transformers and the ConvNeXt model families have been added to the PyTorch model zoo. However, even after upgrading to latest torchvision version 0.11.3 (via <code>pip</code>) these new models are not available:</p>
  <pre class="lang-py prettyprint-override"><code>&gt;&gt;&gt; import torchvision; torchvision.__version__
  '0.11.3+cu102'
  &gt;&gt;&gt; import torchvision.models as models
  &gt;&gt;&gt; model = models.resnext50_32x4d()  # previous models work fine
  &gt;&gt;&gt; model = models.vit_b_16()  # vision transformers don't work
  Traceback (most recent call last):
    File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt;
  AttributeError: module 'torchvision.models' has no attribute 'vit_b_16'
  </code></pre>
  <p>Any ideas how I can access these latest model additions in PyTorch?</p>