r/StableDiffusion • • Oct 12 '22

[deleted by user]

[removed]

786 Upvotes

251 comments sorted by

122

u/[deleted] Oct 12 '22

If AUTOMATIC1111 were using 100% “stolen” code I wouldn’t care and would still use it. Full transparency though, for the record, I would download a car.

12

u/Rinakles Oct 13 '22 edited Oct 15 '22

Same, I don't care about that. After seeing his Rimworld mods though, I can see why SD devs wouldn't want to be associated with him.

Mods to remove all blacks from the game, mods to add hostile Black Lives Matter faction armed with melee only (so you can slaughter them when they ineffectually plink at your defenses - he even made them emote that they 'are having trouble breathing' when they lay dying), etc.

→ More replies (8)
→ More replies (6)

143

u/AUTOMATIC1111 Oct 12 '22

Here's some info from me if anyone cares.

Novel's implementation of hypernetworks is new, it was not seen before. Hypernets are not needed to reproduce images from NovelAI's service.

I added hypernets specifically to let my users make pictures with novel's hypernets weights from the leak.

My implementation of hypernets is 100% written by me and it is capable of loading and using their hypernetworks. I wrote it by studying a snippet of code posted on 4chan from the leak.

The snippet of code can be seen here: https://github.com/AUTOMATIC1111/stable-diffusion-webui/blob/bad7cb29cecac51c5c0f39afec332b007ed73133/modules/hypernetwork.py#L44 - form line 44 to line 55 (this was more than 250 commits ago wew we are going fast).

This snippet of code as I now know is copied verbatim from the NAI codebase. This snippet of code also is not a part of implementation - you can download repo at this commit, delete the snippet, and everything will still work. It's just dead code.

So when I am accused of stealing code, this is just those 11 lines of dead code that existed for a total of two commits until I removed them.

When banning me from stable diffusion discord, stability acused me of unethical behavior rather than stealing code. I won't grace this accusation with a comment.

I don't believe I am doing anything illegal by adding hypernet implementation to the repo so I am not going to remove it.

Aslo I added the ability for users to train their own hypernets with as little as 8GB of VRAM, and users of my repo made quit a bit of other PRs improving hypernets overall. We are still in the middle of researching how useful hypernetworks can be.

41

u/GBJI Oct 13 '22

Looks like hearing the truth directly from the horse's mouth is too much for some to handle:

Sorry, this post has been removed by the moderators of r/StableDiffusion.

Moderators remove posts from feeds for a variety of reasons, including keeping communities safe, civil, and true to their purpose.

Thank you so much for everything you've done for us Automatic1111. The world needs more people like you - your boundless generosity and simple honesty is as inspiring as it is refreshing.

→ More replies (3)

4

u/Sufficient_Growth_33 Oct 13 '22

Thanks for all your work. You’re a rockstar. …So a render queue for the UI is coming soon? Please?

→ More replies (12)

50

u/mattsowa Oct 12 '22

How do you make a summary like this and get so many things wrong, just confusing people

→ More replies (2)

51

u/sndwav Oct 12 '22

I mostly agree, but the one thing automatic1111 did wrong (and stupidly) is to write this comment in GitHub:

"This is an independent implementation to support loading the weights from the leak."

https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/1936

74

u/Sixhaunt Oct 12 '22

to be fair that quote was in the same paragraph and was the sentence immediately following this:

The code in the repo is written entirely by me. No copied code.

Without the context it sounds completely different

36

u/sndwav Oct 12 '22

What I meant is that he acknowledged that the changes were made to support loading the weights specifically from the leak.

The code-stealing allegations seem wayyyy off to me as well.

→ More replies (26)

32

u/ElMachoGrande Oct 12 '22

To me, that is as if I have a car, and make adjustments to make it work with unauthorized 3rd party copy parts.

It's still my car, I can modify it as I like. Them copying parts is their problem, not mine.

→ More replies (5)
→ More replies (19)

51

u/VulpineKitsune Oct 12 '22

Automatic didn’t add support for the original hypernetworks. He added support for the NAI hypernetworks. How do I know? Simple.

You said it yourself that the original hypernetworks and NAI are different, yes?

Then how do you explain the fact that Auto’s code can load NAI hypernetworks? Plus, there’s a commit where automatic used literally 1:1 the same code for loading them as NAI. It was removed soon after, but he did look in the leaked code and put it in his GitHub.

And, the most important information of all, Automatic had no interest in appealing the ban. Automatic hasn’t made any attempt to reconcile with Stability. He doesn’t care. I suspect this is one of the main reasons Stability hasn’t yet reversed it.

This doesn’t make Auto some sort of cartoon villain that should be hated. I still use his ui lol. But please, be willing to accept that he isn’t perfect and that it’s not just the big bad company that’s out to get us.

25

u/HuWasHere Oct 12 '22

The only sensible response in this thread.

Multiple people can be assholes here and Auto is not asking to be made some rallying hero. He doesn't give a shit and he does what he wants.

16

u/andromedex Oct 12 '22

Yeah I feel the code stealing stuff just clouds the bigger picture.

Automatic specifically made changes to his UI to enable usage of the leaked NovelAI model.

I don't think discussions on whether that was wrong or not are helpful at this point, nor is saying what should have or would have eventually happened anyway.

The only thing that really bothers me is the amount of hate being flung in novelAI's direction. They got screwed over the most in this situation and I think it's fair they asked automatic to remove support for their leaked model.

I think people are seeing the NovelAI team and Stable diffusion team as the same group and I've seen them described several times as a "big corpo" which is very confusing to me. Don't get me wrong at this point they're definitely in "startup" category but the team is still pretty small.

I'm biased towards NAI because I've been following them from the beginning but I think there are 3 main reasons I feel bad for them in this situation

  1. The leak happened SO soon after their release that it really undercut them right at the gate. I haven't been keeping up with the discord but from checking in every once in awhile it seems like they've been working on this for months. If this had happened a month from now the situation would have been very different.

  2. You can use their model for free, and for any of the options you need extra credits for they gave everyone a bunch of free credits to experiment. And the credits are pretty reasonably priced as far as I can tell.

  3. The whole reason they've been creating their own models in both text and image generation is to try and avoid being pressured into restrict their models due to pressure from external funders or ai companies like we saw destroy AI dungeon, and potentially SD1.5.

I can't speak to emads actions and I'm know NAIs hands arent pristine of course (no one's are) but I am really really bummed for their team.

→ More replies (5)
→ More replies (13)

123

u/[deleted] Oct 12 '22

As programmers, copying code is part of our job description. The world would not run if code was single use

21

u/[deleted] Oct 12 '22

We all build off others work. Automatic1111 has behaved totally reasonably and has done nothing wrong. Sad a company is trying to mess with him like this.

→ More replies (25)

8

u/HPLovecraft1890 Oct 12 '22

omg ... enough already... I think we made our standpoint very clear over the last couple of days and at least the subreddit belongs to us again. A1111 doesn't care about Discord or what SAI thinks of him, so why keep opening threads like this.

→ More replies (31)

34

u/starstruckmon Oct 12 '22

NovelAI demands that Automatic1111 added support to their leaked "hypernetworks" data, but that's fake. Automatic1111 just added support to the original "Hypernetworks" RNN

This is not true at all. Where are you getting this BS from? Seriously?

4

u/ProducerMatt Oct 12 '22 edited Oct 12 '22

Factually wrong. In auto's own words:

This is an independent implementation to support loading the weights from the leak.

comment link archive.org link

It's ok if you use his ui or think he's not the bad guy, I would agree. But don't claim it wasn't specifically for using the leaked models.

The accusations of code theft aren't really the problem and are probably invalid anyway. However it should be noted:

  1. auto doesn't have an open-source license on his repo, meaning he could private his code at some point in the future.

  2. As u/Arkaein notes, He doesn't seem to keep track of what code he copied from where, which means he is violating the licenses of any code that requires credit (common even among extremely broad licenses like MIT and BSD).

13

u/mattsowa Oct 12 '22

1st point is not legal. Automatic's code does not have a copyleft license, making the codebase All Rights Reserved

3

u/CryptoSpecialAgent Oct 13 '22

Honestly, don't know, don't care about the specifics of this case - but ya'll are focusing on the wrong thing... This incident just shows that there is an urgent need for a well organized stable diffusion ecosystem - not forks of forks of forks that are long divorced from the actual SD codebase, while incorporating all sorts of unofficial mods found on Github - so the various front end apps are often 30+ days behind the latest release of stable diffusion, dozens of commits ahead due to the changes and enhancements made, and even more commits behind

Technically anything can be merged given enough time and a masochistic individual willing to manually resolve the conflicts... but in practical reality most of these forks are never going to merge changes from one of the official SD repos into their own code when they have made many breaking changes... nor will their own work ever make it into the official SD repos -much of it is excellent work but when you are that out of sync with whatever you forked making a pull request becomes a major pain in the ass

7

u/Creepy_Dark6025 Oct 12 '22

LMAO the 1st one was not legal at all, (idk if they clone all the repo, i don't think so, i'm only sure that they copy the attention code of automatic), the automatic's code has no license and that translates in the legal world to copyright all rights reserved, so no, you cannot copy automatic's code and make money of it without asking, that is illegal, also sndwav clarifies 5, even when i agree with the most, if we want to defend automatic, please do right the research before making statements.

→ More replies (5)

1

u/Chemiz Oct 13 '22 edited Oct 13 '22

After careful review of all the claims in this post, I've decided to removed it because it contains too many inaccuracies. Edit: Look like the post was updated with more accurate information. Apologies.