If we sell a product with PyTorch and it's dependencies, do we need to make our code GPL?

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’m trying to figure out if we can sell a hardware product with PyTorch and it’s dependencies pre-installed without making our code GPL. Although PyTorch itself is not GPL, some packages PyTorch depends on are under GPL. And since we are selling a proprietary device (instead of a service), we are required to make our code GPL if we are using GPL software. Does anyone know if this is accurate? If so, is there anyway to get around it? How do all the hardware startups deal with this matter?

1 Like

CC @jspisak for licensing questions.

1 Like

I encountered this question too.
Is this question solved?

1 Like

let me check with our legal folks and get back to you… :slight_smile:

@jspisak Any update on this?

Ok pinged legal again. I should have at least some guidance by tomorrow…

Sorry for the delay. I can’t give legal advice here but here is what I can say.

When distributing open source software on hardware, you may be required to comply with various third-party license requirements, that could include relicensing your code base. Please consult your legal department for specific guidance.