Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gpl license = evil - https://medium.com/@jcastromail/gpl-license-is-evil-2f71622399d6 #195

Closed
johndpope opened this issue Dec 27, 2020 · 10 comments

Comments

@johndpope
Copy link

https://medium.com/@jcastromail/gpl-license-is-evil-2f71622399d6

given that the guys at nvidia labs are moving to use pytorch from tensorflow - understand that due to GPL license - this codebase and any derivative work from it is of no use to them. It's a total no go zone not even as code reference. It all has to be rewritten from ground up.
NVlabs/stylegan2-ada#32

@lucidrains
Copy link
Owner

lucidrains commented Dec 27, 2020

@johndpope I only did GPL because the original repository is GPL. isn't that what I am required to do since my code is based off of Nvidia's?

if you provide me evidence that it doesn't need to be, i'll be happy to make it MIT, like all my other repositories

@johndpope
Copy link
Author

you basically derived this code from manicman's tensorflow2 port - which was MIT. stylegan / 2 / ada is all MIT.
https://github.com/NVlabs/stylegan2-ada/blob/main/LICENSE.txt

There is some code some where that had a GPL reference but I think that's a plugin or some sort. have to find it.

@lucidrains
Copy link
Owner

@johndpope yea, but the main Stylegan architecture is Nvidia's? so dont I need some sort of more restrictive license? or do I not understand licenses?

@lucidrains
Copy link
Owner

lucidrains commented Dec 27, 2020

it happened with https://github.com/lucidrains/lightweight-gan as well, the paper author emailed me asking me to make it GPL

otherwise, all my work with attention, GANs, and self-supervised learning are MIT

@johndpope
Copy link
Author

johndpope commented Dec 27, 2020

The author can request that - it has ramifications - he doesn't own that license - it's yours / it's your code. If some business wants to use your code commercially (and sell it on) they need to get the permission from you and pay you. He is not entitled to royalties from that transaction. If another coder independently (NOT DERIVED from yours) creates an MIT version from lightweight -gan whitepaper - then people can shop around and choose which code base to use. He can't enforce this. It's a form of barrier of trade. But here - above - the stylegan2 architecture was given as MIT to the world by NVIDIA. Why? People have to use cuda to get anywhere with that code. The stylegan2 code is MIT / sublicensable. It get's blurry with datasets - MS Coco / etc - where there's some IP / creative non commons where by you could be releasing / charging for models / datasets that you're not given the right to do. for this vanilla implementation of porting stylegan2 - pytorch / developers will need to /have to yield to this MIT version / or wait for new code by nvidia
https://github.com/rosinality/stylegan2-pytorch

one thing with GPL is - it's like a cancer - if you bring in code that is GPL - you're force to open source entire project.
Many businesses shy away from such a proposition.

@lucidrains
Copy link
Owner

your linked repo doesn't even have a license

sure I agree, I'm just trying to avoid trouble. so you are sure I can make this repo MIT without any ramifications?

@johndpope
Copy link
Author

MIT - https://github.com/rosinality/stylegan2-pytorch/blob/master/LICENSE
you wont be able to chase people for money / royalties for commercializing your code. Nor would you be able to force people to open source their codebases / applications.That's a couple of ramifications. If people look at code - prior to MIT license update - then it falls under that older license.

@lucidrains
Copy link
Owner

@johndpope yea, neither of that is what I'm looking for

ok, making it MIT then!

@lucidrains
Copy link
Owner

666998c

@johndpope
Copy link
Author

cool - might help nvidia labs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants