licenses.html 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382
  1. <style>
  2. #licenses h2 {font-size: 1.2em; font-weight: bold; margin-bottom: 0.2em;}
  3. #licenses small {font-size: 0.95em; opacity: 0.85;}
  4. #licenses pre { margin: 1em 0 2em 0;}
  5. </style>
  6. <h2><a href="https://github.com/invoke-ai/InvokeAI/blob/main/LICENSE">InvokeAI</a></h2>
  7. <small>Some code for compatibility with OSX is taken from lstein's repository.</small>
  8. <pre>
  9. MIT License
  10. Copyright (c) 2022 InvokeAI Team
  11. Permission is hereby granted, free of charge, to any person obtaining a copy
  12. of this software and associated documentation files (the "Software"), to deal
  13. in the Software without restriction, including without limitation the rights
  14. to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  15. copies of the Software, and to permit persons to whom the Software is
  16. furnished to do so, subject to the following conditions:
  17. The above copyright notice and this permission notice shall be included in all
  18. copies or substantial portions of the Software.
  19. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  20. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  21. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  22. AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  23. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  24. OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  25. SOFTWARE.
  26. </pre>
  27. <h2><a href="https://github.com/Hafiidz/latent-diffusion/blob/main/LICENSE">LDSR</a></h2>
  28. <small>Code added by contirubtors, most likely copied from this repository.</small>
  29. <pre>
  30. MIT License
  31. Copyright (c) 2022 Machine Vision and Learning Group, LMU Munich
  32. Permission is hereby granted, free of charge, to any person obtaining a copy
  33. of this software and associated documentation files (the "Software"), to deal
  34. in the Software without restriction, including without limitation the rights
  35. to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  36. copies of the Software, and to permit persons to whom the Software is
  37. furnished to do so, subject to the following conditions:
  38. The above copyright notice and this permission notice shall be included in all
  39. copies or substantial portions of the Software.
  40. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  41. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  42. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  43. AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  44. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  45. OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  46. SOFTWARE.
  47. </pre>
  48. <h2><a href="https://github.com/pharmapsychotic/clip-interrogator/blob/main/LICENSE">CLIP Interrogator</a></h2>
  49. <small>Some small amounts of code borrowed and reworked.</small>
  50. <pre>
  51. MIT License
  52. Copyright (c) 2022 pharmapsychotic
  53. Permission is hereby granted, free of charge, to any person obtaining a copy
  54. of this software and associated documentation files (the "Software"), to deal
  55. in the Software without restriction, including without limitation the rights
  56. to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  57. copies of the Software, and to permit persons to whom the Software is
  58. furnished to do so, subject to the following conditions:
  59. The above copyright notice and this permission notice shall be included in all
  60. copies or substantial portions of the Software.
  61. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  62. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  63. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  64. AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  65. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  66. OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  67. SOFTWARE.
  68. </pre>
  69. <h2><a href="https://github.com/AminRezaei0x443/memory-efficient-attention/blob/main/LICENSE">Memory Efficient Attention</a></h2>
  70. <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>
  71. <pre>
  72. MIT License
  73. Copyright (c) 2023 Alex Birch
  74. Copyright (c) 2023 Amin Rezaei
  75. Permission is hereby granted, free of charge, to any person obtaining a copy
  76. of this software and associated documentation files (the "Software"), to deal
  77. in the Software without restriction, including without limitation the rights
  78. to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  79. copies of the Software, and to permit persons to whom the Software is
  80. furnished to do so, subject to the following conditions:
  81. The above copyright notice and this permission notice shall be included in all
  82. copies or substantial portions of the Software.
  83. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  84. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  85. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  86. AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  87. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  88. OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  89. SOFTWARE.
  90. </pre>
  91. <h2><a href="https://github.com/huggingface/diffusers/blob/c7da8fd23359a22d0df2741688b5b4f33c26df21/LICENSE">Scaled Dot Product Attention</a></h2>
  92. <small>Some small amounts of code borrowed and reworked.</small>
  93. <pre>
  94. Copyright 2023 The HuggingFace Team. All rights reserved.
  95. Licensed under the Apache License, Version 2.0 (the "License");
  96. you may not use this file except in compliance with the License.
  97. You may obtain a copy of the License at
  98. http://www.apache.org/licenses/LICENSE-2.0
  99. Unless required by applicable law or agreed to in writing, software
  100. distributed under the License is distributed on an "AS IS" BASIS,
  101. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  102. See the License for the specific language governing permissions and
  103. limitations under the License.
  104. Apache License
  105. Version 2.0, January 2004
  106. http://www.apache.org/licenses/
  107. TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
  108. 1. Definitions.
  109. "License" shall mean the terms and conditions for use, reproduction,
  110. and distribution as defined by Sections 1 through 9 of this document.
  111. "Licensor" shall mean the copyright owner or entity authorized by
  112. the copyright owner that is granting the License.
  113. "Legal Entity" shall mean the union of the acting entity and all
  114. other entities that control, are controlled by, or are under common
  115. control with that entity. For the purposes of this definition,
  116. "control" means (i) the power, direct or indirect, to cause the
  117. direction or management of such entity, whether by contract or
  118. otherwise, or (ii) ownership of fifty percent (50%) or more of the
  119. outstanding shares, or (iii) beneficial ownership of such entity.
  120. "You" (or "Your") shall mean an individual or Legal Entity
  121. exercising permissions granted by this License.
  122. "Source" form shall mean the preferred form for making modifications,
  123. including but not limited to software source code, documentation
  124. source, and configuration files.
  125. "Object" form shall mean any form resulting from mechanical
  126. transformation or translation of a Source form, including but
  127. not limited to compiled object code, generated documentation,
  128. and conversions to other media types.
  129. "Work" shall mean the work of authorship, whether in Source or
  130. Object form, made available under the License, as indicated by a
  131. copyright notice that is included in or attached to the work
  132. (an example is provided in the Appendix below).
  133. "Derivative Works" shall mean any work, whether in Source or Object
  134. form, that is based on (or derived from) the Work and for which the
  135. editorial revisions, annotations, elaborations, or other modifications
  136. represent, as a whole, an original work of authorship. For the purposes
  137. of this License, Derivative Works shall not include works that remain
  138. separable from, or merely link (or bind by name) to the interfaces of,
  139. the Work and Derivative Works thereof.
  140. "Contribution" shall mean any work of authorship, including
  141. the original version of the Work and any modifications or additions
  142. to that Work or Derivative Works thereof, that is intentionally
  143. submitted to Licensor for inclusion in the Work by the copyright owner
  144. or by an individual or Legal Entity authorized to submit on behalf of
  145. the copyright owner. For the purposes of this definition, "submitted"
  146. means any form of electronic, verbal, or written communication sent
  147. to the Licensor or its representatives, including but not limited to
  148. communication on electronic mailing lists, source code control systems,
  149. and issue tracking systems that are managed by, or on behalf of, the
  150. Licensor for the purpose of discussing and improving the Work, but
  151. excluding communication that is conspicuously marked or otherwise
  152. designated in writing by the copyright owner as "Not a Contribution."
  153. "Contributor" shall mean Licensor and any individual or Legal Entity
  154. on behalf of whom a Contribution has been received by Licensor and
  155. subsequently incorporated within the Work.
  156. 2. Grant of Copyright License. Subject to the terms and conditions of
  157. this License, each Contributor hereby grants to You a perpetual,
  158. worldwide, non-exclusive, no-charge, royalty-free, irrevocable
  159. copyright license to reproduce, prepare Derivative Works of,
  160. publicly display, publicly perform, sublicense, and distribute the
  161. Work and such Derivative Works in Source or Object form.
  162. 3. Grant of Patent License. Subject to the terms and conditions of
  163. this License, each Contributor hereby grants to You a perpetual,
  164. worldwide, non-exclusive, no-charge, royalty-free, irrevocable
  165. (except as stated in this section) patent license to make, have made,
  166. use, offer to sell, sell, import, and otherwise transfer the Work,
  167. where such license applies only to those patent claims licensable
  168. by such Contributor that are necessarily infringed by their
  169. Contribution(s) alone or by combination of their Contribution(s)
  170. with the Work to which such Contribution(s) was submitted. If You
  171. institute patent litigation against any entity (including a
  172. cross-claim or counterclaim in a lawsuit) alleging that the Work
  173. or a Contribution incorporated within the Work constitutes direct
  174. or contributory patent infringement, then any patent licenses
  175. granted to You under this License for that Work shall terminate
  176. as of the date such litigation is filed.
  177. 4. Redistribution. You may reproduce and distribute copies of the
  178. Work or Derivative Works thereof in any medium, with or without
  179. modifications, and in Source or Object form, provided that You
  180. meet the following conditions:
  181. (a) You must give any other recipients of the Work or
  182. Derivative Works a copy of this License; and
  183. (b) You must cause any modified files to carry prominent notices
  184. stating that You changed the files; and
  185. (c) You must retain, in the Source form of any Derivative Works
  186. that You distribute, all copyright, patent, trademark, and
  187. attribution notices from the Source form of the Work,
  188. excluding those notices that do not pertain to any part of
  189. the Derivative Works; and
  190. (d) If the Work includes a "NOTICE" text file as part of its
  191. distribution, then any Derivative Works that You distribute must
  192. include a readable copy of the attribution notices contained
  193. within such NOTICE file, excluding those notices that do not
  194. pertain to any part of the Derivative Works, in at least one
  195. of the following places: within a NOTICE text file distributed
  196. as part of the Derivative Works; within the Source form or
  197. documentation, if provided along with the Derivative Works; or,
  198. within a display generated by the Derivative Works, if and
  199. wherever such third-party notices normally appear. The contents
  200. of the NOTICE file are for informational purposes only and
  201. do not modify the License. You may add Your own attribution
  202. notices within Derivative Works that You distribute, alongside
  203. or as an addendum to the NOTICE text from the Work, provided
  204. that such additional attribution notices cannot be construed
  205. as modifying the License.
  206. You may add Your own copyright statement to Your modifications and
  207. may provide additional or different license terms and conditions
  208. for use, reproduction, or distribution of Your modifications, or
  209. for any such Derivative Works as a whole, provided Your use,
  210. reproduction, and distribution of the Work otherwise complies with
  211. the conditions stated in this License.
  212. 5. Submission of Contributions. Unless You explicitly state otherwise,
  213. any Contribution intentionally submitted for inclusion in the Work
  214. by You to the Licensor shall be under the terms and conditions of
  215. this License, without any additional terms or conditions.
  216. Notwithstanding the above, nothing herein shall supersede or modify
  217. the terms of any separate license agreement you may have executed
  218. with Licensor regarding such Contributions.
  219. 6. Trademarks. This License does not grant permission to use the trade
  220. names, trademarks, service marks, or product names of the Licensor,
  221. except as required for reasonable and customary use in describing the
  222. origin of the Work and reproducing the content of the NOTICE file.
  223. 7. Disclaimer of Warranty. Unless required by applicable law or
  224. agreed to in writing, Licensor provides the Work (and each
  225. Contributor provides its Contributions) on an "AS IS" BASIS,
  226. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
  227. implied, including, without limitation, any warranties or conditions
  228. of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
  229. PARTICULAR PURPOSE. You are solely responsible for determining the
  230. appropriateness of using or redistributing the Work and assume any
  231. risks associated with Your exercise of permissions under this License.
  232. 8. Limitation of Liability. In no event and under no legal theory,
  233. whether in tort (including negligence), contract, or otherwise,
  234. unless required by applicable law (such as deliberate and grossly
  235. negligent acts) or agreed to in writing, shall any Contributor be
  236. liable to You for damages, including any direct, indirect, special,
  237. incidental, or consequential damages of any character arising as a
  238. result of this License or out of the use or inability to use the
  239. Work (including but not limited to damages for loss of goodwill,
  240. work stoppage, computer failure or malfunction, or any and all
  241. other commercial damages or losses), even if such Contributor
  242. has been advised of the possibility of such damages.
  243. 9. Accepting Warranty or Additional Liability. While redistributing
  244. the Work or Derivative Works thereof, You may choose to offer,
  245. and charge a fee for, acceptance of support, warranty, indemnity,
  246. or other liability obligations and/or rights consistent with this
  247. License. However, in accepting such obligations, You may act only
  248. on Your own behalf and on Your sole responsibility, not on behalf
  249. of any other Contributor, and only if You agree to indemnify,
  250. defend, and hold each Contributor harmless for any liability
  251. incurred by, or claims asserted against, such Contributor by reason
  252. of your accepting any such warranty or additional liability.
  253. END OF TERMS AND CONDITIONS
  254. APPENDIX: How to apply the Apache License to your work.
  255. To apply the Apache License to your work, attach the following
  256. boilerplate notice, with the fields enclosed by brackets "[]"
  257. replaced with your own identifying information. (Don't include
  258. the brackets!) The text should be enclosed in the appropriate
  259. comment syntax for the file format. We also recommend that a
  260. file or class name and description of purpose be included on the
  261. same "printed page" as the copyright notice for easier
  262. identification within third-party archives.
  263. Copyright [yyyy] [name of copyright owner]
  264. Licensed under the Apache License, Version 2.0 (the "License");
  265. you may not use this file except in compliance with the License.
  266. You may obtain a copy of the License at
  267. http://www.apache.org/licenses/LICENSE-2.0
  268. Unless required by applicable law or agreed to in writing, software
  269. distributed under the License is distributed on an "AS IS" BASIS,
  270. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  271. See the License for the specific language governing permissions and
  272. limitations under the License.
  273. </pre>
  274. <h2><a href="https://github.com/explosion/curated-transformers/blob/main/LICENSE">Curated transformers</a></h2>
  275. <small>The MPS workaround for nn.Linear on macOS 13.2.X is based on the MPS workaround for nn.Linear created by danieldk for Curated transformers</small>
  276. <pre>
  277. The MIT License (MIT)
  278. Copyright (C) 2021 ExplosionAI GmbH
  279. Permission is hereby granted, free of charge, to any person obtaining a copy
  280. of this software and associated documentation files (the "Software"), to deal
  281. in the Software without restriction, including without limitation the rights
  282. to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  283. copies of the Software, and to permit persons to whom the Software is
  284. furnished to do so, subject to the following conditions:
  285. The above copyright notice and this permission notice shall be included in
  286. all copies or substantial portions of the Software.
  287. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  288. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  289. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  290. AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  291. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  292. OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  293. THE SOFTWARE.
  294. </pre>
  295. <h2><a href="https://github.com/madebyollin/taesd/blob/main/LICENSE">TAESD</a></h2>
  296. <small>Tiny AutoEncoder for Stable Diffusion option for live previews</small>
  297. <pre>
  298. MIT License
  299. Copyright (c) 2023 Ollin Boer Bohan
  300. Permission is hereby granted, free of charge, to any person obtaining a copy
  301. of this software and associated documentation files (the "Software"), to deal
  302. in the Software without restriction, including without limitation the rights
  303. to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  304. copies of the Software, and to permit persons to whom the Software is
  305. furnished to do so, subject to the following conditions:
  306. The above copyright notice and this permission notice shall be included in all
  307. copies or substantial portions of the Software.
  308. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  309. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  310. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  311. AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  312. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  313. OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  314. SOFTWARE.
  315. </pre>