What is the license of libtorch?

Hi! This question is not related to programming. I can’t get any clear answer from anywhere else so I’m trying my luck here.

I want to use libtorch without GPL.
Pytorch license looks like BSD in LICENSE file.
But in pytorch/c10/util/Array.h, Array.h looks like under the GPL3 license.

Is libtorch under the GPL3 license too?

1 Like

CC @jspisak for licensing questions.