<story><title>PyTorch – Tensors and Dynamic neural networks in Python</title><url>http://pytorch.org/</url></story><parent_chain></parent_chain><comment><author>Smerity</author><text>Only a few months ago people saying that the deep learning library ecosystem was starting to stabilize. I never saw that as the case. The latest frontier for deep learning libraries is ensuring efficient support for dynamic computation graphs.&lt;p&gt;Dynamic computation graphs arise whenever the amount of work that needs to be done is variable. This may be when we&amp;#x27;re processing text, one example being a few words while another being paragraphs of text, or when we are performing operations against a tree structure of variable size. This problem is particularly prominent in particular subfields, such as natural language processing, where I spend most of my time.&lt;p&gt;PyTorch tackles this very well, as do Chainer[1] and DyNet[2]. Indeed, PyTorch construction was directly informed from Chainer[3], though re-architected and designed to be even faster still. I have seen all of these receive renewed interest in recent months, particularly amongst many researchers performing cutting edge research in the domain. When you&amp;#x27;re working with new architectures, you want the most flexibility possible, and these frameworks allow for that.&lt;p&gt;As a counterpoint, TensorFlow does not handle these dynamic graph cases well at all. There are some primitive dynamic constructs but they&amp;#x27;re not flexible and usually quite limiting. In the near future there are plans to allow TensorFlow to become more dynamic, but adding it in after the fact is going to be a challenge, especially to do efficiently.&lt;p&gt;Disclosure: My team at Salesforce Research use Chainer extensively and my colleague James Bradbury was a contributor to PyTorch whilst it was in stealth mode. We&amp;#x27;re planning to transition from Chainer to PyTorch for future work.&lt;p&gt;[1]: &lt;a href=&quot;http:&amp;#x2F;&amp;#x2F;chainer.org&amp;#x2F;&quot; rel=&quot;nofollow&quot;&gt;http:&amp;#x2F;&amp;#x2F;chainer.org&amp;#x2F;&lt;/a&gt;&lt;p&gt;[2]: &lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;github.com&amp;#x2F;clab&amp;#x2F;dynet&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;github.com&amp;#x2F;clab&amp;#x2F;dynet&lt;/a&gt;&lt;p&gt;[3]: &lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;twitter.com&amp;#x2F;jekbradbury&amp;#x2F;status&amp;#x2F;821786330459836416&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;twitter.com&amp;#x2F;jekbradbury&amp;#x2F;status&amp;#x2F;821786330459836416&lt;/a&gt;</text></comment>
<story><title>PyTorch – Tensors and Dynamic neural networks in Python</title><url>http://pytorch.org/</url></story><parent_chain></parent_chain><comment><author>smhx</author><text>It&amp;#x27;s a community-driven project, a Python take of Torch &lt;a href=&quot;http:&amp;#x2F;&amp;#x2F;torch.ch&amp;#x2F;&quot; rel=&quot;nofollow&quot;&gt;http:&amp;#x2F;&amp;#x2F;torch.ch&amp;#x2F;&lt;/a&gt;. Several folks involved in development and use so far (a non-exhaustive list):&lt;p&gt;* Facebook
* Twitter
* NVIDIA
* SalesForce
* ParisTech
* CMU
* Digital Reasoning
* INRIA
* ENS&lt;p&gt;The maintainers work at Facebook AI Research</text></comment>