Skip to content

Commit 97e676b

Browse files
committed
Remove licenses and README mentions for code that's no longer copy-pasted
1 parent 51f1cca commit 97e676b

File tree

2 files changed

+1
-314
lines changed

2 files changed

+1
-314
lines changed

README.md

-5
Original file line numberDiff line numberDiff line change
@@ -151,11 +151,6 @@ Licenses for borrowed code can be found in `Settings -> Licenses` screen, and al
151151

152152
- Stable Diffusion - https://github.com/Stability-AI/stablediffusion, https://github.com/CompVis/taming-transformers
153153
- k-diffusion - https://github.com/crowsonkb/k-diffusion.git
154-
- GFPGAN - https://github.com/TencentARC/GFPGAN.git
155-
- CodeFormer - https://github.com/sczhou/CodeFormer
156-
- ESRGAN - https://github.com/xinntao/ESRGAN
157-
- SwinIR - https://github.com/JingyunLiang/SwinIR
158-
- Swin2SR - https://github.com/mv-lab/swin2sr
159154
- LDSR - https://github.com/Hafiidz/latent-diffusion
160155
- MiDaS - https://github.com/isl-org/MiDaS
161156
- Ideas for optimizations - https://github.com/basujindal/stable-diffusion

html/licenses.html

+1-309
Original file line numberDiff line numberDiff line change
@@ -4,107 +4,6 @@
44
#licenses pre { margin: 1em 0 2em 0;}
55
</style>
66

7-
<h2><a href="https://github.com/sczhou/CodeFormer/blob/master/LICENSE">CodeFormer</a></h2>
8-
<small>Parts of CodeFormer code had to be copied to be compatible with GFPGAN.</small>
9-
<pre>
10-
S-Lab License 1.0
11-
12-
Copyright 2022 S-Lab
13-
14-
Redistribution and use for non-commercial purpose in source and
15-
binary forms, with or without modification, are permitted provided
16-
that the following conditions are met:
17-
18-
1. Redistributions of source code must retain the above copyright
19-
notice, this list of conditions and the following disclaimer.
20-
21-
2. Redistributions in binary form must reproduce the above copyright
22-
notice, this list of conditions and the following disclaimer in
23-
the documentation and/or other materials provided with the
24-
distribution.
25-
26-
3. Neither the name of the copyright holder nor the names of its
27-
contributors may be used to endorse or promote products derived
28-
from this software without specific prior written permission.
29-
30-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
31-
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
32-
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
33-
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
34-
HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
35-
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
36-
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
37-
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
38-
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
39-
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
40-
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
41-
42-
In the event that redistribution and/or use for commercial purpose in
43-
source or binary forms, with or without modification is required,
44-
please contact the contributor(s) of the work.
45-
</pre>
46-
47-
48-
<h2><a href="https://github.com/victorca25/iNNfer/blob/main/LICENSE">ESRGAN</a></h2>
49-
<small>Code for architecture and reading models copied.</small>
50-
<pre>
51-
MIT License
52-
53-
Copyright (c) 2021 victorca25
54-
55-
Permission is hereby granted, free of charge, to any person obtaining a copy
56-
of this software and associated documentation files (the "Software"), to deal
57-
in the Software without restriction, including without limitation the rights
58-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
59-
copies of the Software, and to permit persons to whom the Software is
60-
furnished to do so, subject to the following conditions:
61-
62-
The above copyright notice and this permission notice shall be included in all
63-
copies or substantial portions of the Software.
64-
65-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
66-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
67-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
68-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
69-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
70-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
71-
SOFTWARE.
72-
</pre>
73-
74-
<h2><a href="https://github.com/xinntao/Real-ESRGAN/blob/master/LICENSE">Real-ESRGAN</a></h2>
75-
<small>Some code is copied to support ESRGAN models.</small>
76-
<pre>
77-
BSD 3-Clause License
78-
79-
Copyright (c) 2021, Xintao Wang
80-
All rights reserved.
81-
82-
Redistribution and use in source and binary forms, with or without
83-
modification, are permitted provided that the following conditions are met:
84-
85-
1. Redistributions of source code must retain the above copyright notice, this
86-
list of conditions and the following disclaimer.
87-
88-
2. Redistributions in binary form must reproduce the above copyright notice,
89-
this list of conditions and the following disclaimer in the documentation
90-
and/or other materials provided with the distribution.
91-
92-
3. Neither the name of the copyright holder nor the names of its
93-
contributors may be used to endorse or promote products derived from
94-
this software without specific prior written permission.
95-
96-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
97-
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
98-
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
99-
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
100-
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
101-
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
102-
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
103-
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
104-
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
105-
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
106-
</pre>
107-
1087
<h2><a href="https://github.com/invoke-ai/InvokeAI/blob/main/LICENSE">InvokeAI</a></h2>
1098
<small>Some code for compatibility with OSX is taken from lstein's repository.</small>
1109
<pre>
@@ -183,213 +82,6 @@ <h2><a href="https://github.com/pharmapsychotic/clip-interrogator/blob/main/LICE
18382
SOFTWARE.
18483
</pre>
18584

186-
<h2><a href="https://github.com/JingyunLiang/SwinIR/blob/main/LICENSE">SwinIR</a></h2>
187-
<small>Code added by contributors, most likely copied from this repository.</small>
188-
189-
<pre>
190-
Apache License
191-
Version 2.0, January 2004
192-
http://www.apache.org/licenses/
193-
194-
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
195-
196-
1. Definitions.
197-
198-
"License" shall mean the terms and conditions for use, reproduction,
199-
and distribution as defined by Sections 1 through 9 of this document.
200-
201-
"Licensor" shall mean the copyright owner or entity authorized by
202-
the copyright owner that is granting the License.
203-
204-
"Legal Entity" shall mean the union of the acting entity and all
205-
other entities that control, are controlled by, or are under common
206-
control with that entity. For the purposes of this definition,
207-
"control" means (i) the power, direct or indirect, to cause the
208-
direction or management of such entity, whether by contract or
209-
otherwise, or (ii) ownership of fifty percent (50%) or more of the
210-
outstanding shares, or (iii) beneficial ownership of such entity.
211-
212-
"You" (or "Your") shall mean an individual or Legal Entity
213-
exercising permissions granted by this License.
214-
215-
"Source" form shall mean the preferred form for making modifications,
216-
including but not limited to software source code, documentation
217-
source, and configuration files.
218-
219-
"Object" form shall mean any form resulting from mechanical
220-
transformation or translation of a Source form, including but
221-
not limited to compiled object code, generated documentation,
222-
and conversions to other media types.
223-
224-
"Work" shall mean the work of authorship, whether in Source or
225-
Object form, made available under the License, as indicated by a
226-
copyright notice that is included in or attached to the work
227-
(an example is provided in the Appendix below).
228-
229-
"Derivative Works" shall mean any work, whether in Source or Object
230-
form, that is based on (or derived from) the Work and for which the
231-
editorial revisions, annotations, elaborations, or other modifications
232-
represent, as a whole, an original work of authorship. For the purposes
233-
of this License, Derivative Works shall not include works that remain
234-
separable from, or merely link (or bind by name) to the interfaces of,
235-
the Work and Derivative Works thereof.
236-
237-
"Contribution" shall mean any work of authorship, including
238-
the original version of the Work and any modifications or additions
239-
to that Work or Derivative Works thereof, that is intentionally
240-
submitted to Licensor for inclusion in the Work by the copyright owner
241-
or by an individual or Legal Entity authorized to submit on behalf of
242-
the copyright owner. For the purposes of this definition, "submitted"
243-
means any form of electronic, verbal, or written communication sent
244-
to the Licensor or its representatives, including but not limited to
245-
communication on electronic mailing lists, source code control systems,
246-
and issue tracking systems that are managed by, or on behalf of, the
247-
Licensor for the purpose of discussing and improving the Work, but
248-
excluding communication that is conspicuously marked or otherwise
249-
designated in writing by the copyright owner as "Not a Contribution."
250-
251-
"Contributor" shall mean Licensor and any individual or Legal Entity
252-
on behalf of whom a Contribution has been received by Licensor and
253-
subsequently incorporated within the Work.
254-
255-
2. Grant of Copyright License. Subject to the terms and conditions of
256-
this License, each Contributor hereby grants to You a perpetual,
257-
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
258-
copyright license to reproduce, prepare Derivative Works of,
259-
publicly display, publicly perform, sublicense, and distribute the
260-
Work and such Derivative Works in Source or Object form.
261-
262-
3. Grant of Patent License. Subject to the terms and conditions of
263-
this License, each Contributor hereby grants to You a perpetual,
264-
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
265-
(except as stated in this section) patent license to make, have made,
266-
use, offer to sell, sell, import, and otherwise transfer the Work,
267-
where such license applies only to those patent claims licensable
268-
by such Contributor that are necessarily infringed by their
269-
Contribution(s) alone or by combination of their Contribution(s)
270-
with the Work to which such Contribution(s) was submitted. If You
271-
institute patent litigation against any entity (including a
272-
cross-claim or counterclaim in a lawsuit) alleging that the Work
273-
or a Contribution incorporated within the Work constitutes direct
274-
or contributory patent infringement, then any patent licenses
275-
granted to You under this License for that Work shall terminate
276-
as of the date such litigation is filed.
277-
278-
4. Redistribution. You may reproduce and distribute copies of the
279-
Work or Derivative Works thereof in any medium, with or without
280-
modifications, and in Source or Object form, provided that You
281-
meet the following conditions:
282-
283-
(a) You must give any other recipients of the Work or
284-
Derivative Works a copy of this License; and
285-
286-
(b) You must cause any modified files to carry prominent notices
287-
stating that You changed the files; and
288-
289-
(c) You must retain, in the Source form of any Derivative Works
290-
that You distribute, all copyright, patent, trademark, and
291-
attribution notices from the Source form of the Work,
292-
excluding those notices that do not pertain to any part of
293-
the Derivative Works; and
294-
295-
(d) If the Work includes a "NOTICE" text file as part of its
296-
distribution, then any Derivative Works that You distribute must
297-
include a readable copy of the attribution notices contained
298-
within such NOTICE file, excluding those notices that do not
299-
pertain to any part of the Derivative Works, in at least one
300-
of the following places: within a NOTICE text file distributed
301-
as part of the Derivative Works; within the Source form or
302-
documentation, if provided along with the Derivative Works; or,
303-
within a display generated by the Derivative Works, if and
304-
wherever such third-party notices normally appear. The contents
305-
of the NOTICE file are for informational purposes only and
306-
do not modify the License. You may add Your own attribution
307-
notices within Derivative Works that You distribute, alongside
308-
or as an addendum to the NOTICE text from the Work, provided
309-
that such additional attribution notices cannot be construed
310-
as modifying the License.
311-
312-
You may add Your own copyright statement to Your modifications and
313-
may provide additional or different license terms and conditions
314-
for use, reproduction, or distribution of Your modifications, or
315-
for any such Derivative Works as a whole, provided Your use,
316-
reproduction, and distribution of the Work otherwise complies with
317-
the conditions stated in this License.
318-
319-
5. Submission of Contributions. Unless You explicitly state otherwise,
320-
any Contribution intentionally submitted for inclusion in the Work
321-
by You to the Licensor shall be under the terms and conditions of
322-
this License, without any additional terms or conditions.
323-
Notwithstanding the above, nothing herein shall supersede or modify
324-
the terms of any separate license agreement you may have executed
325-
with Licensor regarding such Contributions.
326-
327-
6. Trademarks. This License does not grant permission to use the trade
328-
names, trademarks, service marks, or product names of the Licensor,
329-
except as required for reasonable and customary use in describing the
330-
origin of the Work and reproducing the content of the NOTICE file.
331-
332-
7. Disclaimer of Warranty. Unless required by applicable law or
333-
agreed to in writing, Licensor provides the Work (and each
334-
Contributor provides its Contributions) on an "AS IS" BASIS,
335-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
336-
implied, including, without limitation, any warranties or conditions
337-
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
338-
PARTICULAR PURPOSE. You are solely responsible for determining the
339-
appropriateness of using or redistributing the Work and assume any
340-
risks associated with Your exercise of permissions under this License.
341-
342-
8. Limitation of Liability. In no event and under no legal theory,
343-
whether in tort (including negligence), contract, or otherwise,
344-
unless required by applicable law (such as deliberate and grossly
345-
negligent acts) or agreed to in writing, shall any Contributor be
346-
liable to You for damages, including any direct, indirect, special,
347-
incidental, or consequential damages of any character arising as a
348-
result of this License or out of the use or inability to use the
349-
Work (including but not limited to damages for loss of goodwill,
350-
work stoppage, computer failure or malfunction, or any and all
351-
other commercial damages or losses), even if such Contributor
352-
has been advised of the possibility of such damages.
353-
354-
9. Accepting Warranty or Additional Liability. While redistributing
355-
the Work or Derivative Works thereof, You may choose to offer,
356-
and charge a fee for, acceptance of support, warranty, indemnity,
357-
or other liability obligations and/or rights consistent with this
358-
License. However, in accepting such obligations, You may act only
359-
on Your own behalf and on Your sole responsibility, not on behalf
360-
of any other Contributor, and only if You agree to indemnify,
361-
defend, and hold each Contributor harmless for any liability
362-
incurred by, or claims asserted against, such Contributor by reason
363-
of your accepting any such warranty or additional liability.
364-
365-
END OF TERMS AND CONDITIONS
366-
367-
APPENDIX: How to apply the Apache License to your work.
368-
369-
To apply the Apache License to your work, attach the following
370-
boilerplate notice, with the fields enclosed by brackets "[]"
371-
replaced with your own identifying information. (Don't include
372-
the brackets!) The text should be enclosed in the appropriate
373-
comment syntax for the file format. We also recommend that a
374-
file or class name and description of purpose be included on the
375-
same "printed page" as the copyright notice for easier
376-
identification within third-party archives.
377-
378-
Copyright [2021] [SwinIR Authors]
379-
380-
Licensed under the Apache License, Version 2.0 (the "License");
381-
you may not use this file except in compliance with the License.
382-
You may obtain a copy of the License at
383-
384-
http://www.apache.org/licenses/LICENSE-2.0
385-
386-
Unless required by applicable law or agreed to in writing, software
387-
distributed under the License is distributed on an "AS IS" BASIS,
388-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
389-
See the License for the specific language governing permissions and
390-
limitations under the License.
391-
</pre>
392-
39385
<h2><a href="https://github.com/AminRezaei0x443/memory-efficient-attention/blob/main/LICENSE">Memory Efficient Attention</a></h2>
39486
<small>The sub-quadratic cross attention optimization uses modified code from the Memory Efficient Attention package that Alex Birch optimized for 3D tensors. This license is updated to reflect that.</small>
39587
<pre>
@@ -687,4 +379,4 @@ <h2><a href="https://github.com/madebyollin/taesd/blob/main/LICENSE">TAESD</a></
687379
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
688380
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
689381
SOFTWARE.
690-
</pre>
382+
</pre>

0 commit comments

Comments
 (0)