Redistributing PyTorch

First of all, thanks a lot for PyTorch. I have been using PyTorch in my research and I love it!

I want to package precompiled libtorch in a Linux distribution. I know that PyTorch itself is licensed under the BSD license. However, the binary builds include parts of Intel MKL and also parts of the CUDA toolkit. I wanted to ask if the resulting binaries are redistributable. In other words, is it OK to take the libtorch [1] archive, repackage it in the distribution’s native package format and provide it for download?

[1] E.g. https://download.pytorch.org/libtorch/cu102/libtorch-cxx11-abi-shared-with-deps-1.6.0.zip

1 Like