Is pytorch the wrapper for Torch?

Hello Everyone,

I was wondering if current pyTorch release is only a wrapper to Torch
or it is its own library?

Best regards,

There are some shared elements: the TH, THC, THNN, THCUNN libraries.
The python wrapper, autograd engine and ATen are new elements (plus some others).


But there is another project also called pytorch

I am thinking about the one here:

Is it a wrapper to torch or new library?

I know, I don’t think pytorch is a wrapper for torch. PyTorch rewrite most module

You can say keras is a wrapper for theano, but pytorch is not a wrapper for torch, even though they do have similar APIs. torch and pytorch shared some libraries-- so do other frameworks. Caffe2 may use TH/THC too.
another difference: PyTorch has autograd

1 Like