title: Poetry and PyTorch
body: <p>I've recently found <code>poetry</code> to manage dependencies. In one project, we use PyTorch. How do I add this to <code>poetry</code>?</p>
  <p>We are working on machines that have no access to a CUDA GPU (for simple on the road inferencing/testing) and workstations where we do have access to CUDA GPUs. Is it possible to use poetry to ensure every dev is using the same PyTorch version?</p>
  <p>There seems to be no obvious way to decide which PyTorch version to install. I thought about adding the different installation instructions as <em>extra</em> dependencies, but I failed to find an option to get the equivalent settings like:</p>
  <p><code>pip3 install torch==1.3.1+cpu torchvision==0.4.2+cpu -f https://download.pytorch.org/whl/torch_stable.html</code></p>
  <p>I would be fine with setting the total path to the different online wheels, like:
  <code>https://download.pytorch.org/whl/torch_stable.html/cpu/torch-1.3.1%2Bcpu-cp36-cp36m-win_amd64.whl</code></p>
  <p>But I would rather not but them in git directly... The closest option I've seen in poetry is either downloading them manually and then using <code>file = X</code> command.</p>