licenses.html 36 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690
  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/sczhou/CodeFormer/blob/master/LICENSE">CodeFormer</a></h2>
  7. <small>Parts of CodeFormer code had to be copied to be compatible with GFPGAN.</small>
  8. <pre>
  9. S-Lab License 1.0
  10. Copyright 2022 S-Lab
  11. Redistribution and use for non-commercial purpose in source and
  12. binary forms, with or without modification, are permitted provided
  13. that the following conditions are met:
  14. 1. Redistributions of source code must retain the above copyright
  15. notice, this list of conditions and the following disclaimer.
  16. 2. Redistributions in binary form must reproduce the above copyright
  17. notice, this list of conditions and the following disclaimer in
  18. the documentation and/or other materials provided with the
  19. distribution.
  20. 3. Neither the name of the copyright holder nor the names of its
  21. contributors may be used to endorse or promote products derived
  22. from this software without specific prior written permission.
  23. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  24. "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  25. LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  26. A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
  27. HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  28. SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  29. LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
  30. DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
  31. THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  32. (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
  33. OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  34. In the event that redistribution and/or use for commercial purpose in
  35. source or binary forms, with or without modification is required,
  36. please contact the contributor(s) of the work.
  37. </pre>
  38. <h2><a href="https://github.com/victorca25/iNNfer/blob/main/LICENSE">ESRGAN</a></h2>
  39. <small>Code for architecture and reading models copied.</small>
  40. <pre>
  41. MIT License
  42. Copyright (c) 2021 victorca25
  43. Permission is hereby granted, free of charge, to any person obtaining a copy
  44. of this software and associated documentation files (the "Software"), to deal
  45. in the Software without restriction, including without limitation the rights
  46. to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  47. copies of the Software, and to permit persons to whom the Software is
  48. furnished to do so, subject to the following conditions:
  49. The above copyright notice and this permission notice shall be included in all
  50. copies or substantial portions of the Software.
  51. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  52. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  53. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  54. AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  55. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  56. OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  57. SOFTWARE.
  58. </pre>
  59. <h2><a href="https://github.com/xinntao/Real-ESRGAN/blob/master/LICENSE">Real-ESRGAN</a></h2>
  60. <small>Some code is copied to support ESRGAN models.</small>
  61. <pre>
  62. BSD 3-Clause License
  63. Copyright (c) 2021, Xintao Wang
  64. All rights reserved.
  65. Redistribution and use in source and binary forms, with or without
  66. modification, are permitted provided that the following conditions are met:
  67. 1. Redistributions of source code must retain the above copyright notice, this
  68. list of conditions and the following disclaimer.
  69. 2. Redistributions in binary form must reproduce the above copyright notice,
  70. this list of conditions and the following disclaimer in the documentation
  71. and/or other materials provided with the distribution.
  72. 3. Neither the name of the copyright holder nor the names of its
  73. contributors may be used to endorse or promote products derived from
  74. this software without specific prior written permission.
  75. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
  76. AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  77. IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
  78. DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
  79. FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  80. DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
  81. SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
  82. CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
  83. OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
  84. OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  85. </pre>
  86. <h2><a href="https://github.com/invoke-ai/InvokeAI/blob/main/LICENSE">InvokeAI</a></h2>
  87. <small>Some code for compatibility with OSX is taken from lstein's repository.</small>
  88. <pre>
  89. MIT License
  90. Copyright (c) 2022 InvokeAI Team
  91. Permission is hereby granted, free of charge, to any person obtaining a copy
  92. of this software and associated documentation files (the "Software"), to deal
  93. in the Software without restriction, including without limitation the rights
  94. to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  95. copies of the Software, and to permit persons to whom the Software is
  96. furnished to do so, subject to the following conditions:
  97. The above copyright notice and this permission notice shall be included in all
  98. copies or substantial portions of the Software.
  99. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  100. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  101. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  102. AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  103. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  104. OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  105. SOFTWARE.
  106. </pre>
  107. <h2><a href="https://github.com/Hafiidz/latent-diffusion/blob/main/LICENSE">LDSR</a></h2>
  108. <small>Code added by contirubtors, most likely copied from this repository.</small>
  109. <pre>
  110. MIT License
  111. Copyright (c) 2022 Machine Vision and Learning Group, LMU Munich
  112. Permission is hereby granted, free of charge, to any person obtaining a copy
  113. of this software and associated documentation files (the "Software"), to deal
  114. in the Software without restriction, including without limitation the rights
  115. to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  116. copies of the Software, and to permit persons to whom the Software is
  117. furnished to do so, subject to the following conditions:
  118. The above copyright notice and this permission notice shall be included in all
  119. copies or substantial portions of the Software.
  120. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  121. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  122. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  123. AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  124. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  125. OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  126. SOFTWARE.
  127. </pre>
  128. <h2><a href="https://github.com/pharmapsychotic/clip-interrogator/blob/main/LICENSE">CLIP Interrogator</a></h2>
  129. <small>Some small amounts of code borrowed and reworked.</small>
  130. <pre>
  131. MIT License
  132. Copyright (c) 2022 pharmapsychotic
  133. Permission is hereby granted, free of charge, to any person obtaining a copy
  134. of this software and associated documentation files (the "Software"), to deal
  135. in the Software without restriction, including without limitation the rights
  136. to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  137. copies of the Software, and to permit persons to whom the Software is
  138. furnished to do so, subject to the following conditions:
  139. The above copyright notice and this permission notice shall be included in all
  140. copies or substantial portions of the Software.
  141. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  142. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  143. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  144. AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  145. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  146. OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  147. SOFTWARE.
  148. </pre>
  149. <h2><a href="https://github.com/JingyunLiang/SwinIR/blob/main/LICENSE">SwinIR</a></h2>
  150. <small>Code added by contributors, most likely copied from this repository.</small>
  151. <pre>
  152. Apache License
  153. Version 2.0, January 2004
  154. http://www.apache.org/licenses/
  155. TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
  156. 1. Definitions.
  157. "License" shall mean the terms and conditions for use, reproduction,
  158. and distribution as defined by Sections 1 through 9 of this document.
  159. "Licensor" shall mean the copyright owner or entity authorized by
  160. the copyright owner that is granting the License.
  161. "Legal Entity" shall mean the union of the acting entity and all
  162. other entities that control, are controlled by, or are under common
  163. control with that entity. For the purposes of this definition,
  164. "control" means (i) the power, direct or indirect, to cause the
  165. direction or management of such entity, whether by contract or
  166. otherwise, or (ii) ownership of fifty percent (50%) or more of the
  167. outstanding shares, or (iii) beneficial ownership of such entity.
  168. "You" (or "Your") shall mean an individual or Legal Entity
  169. exercising permissions granted by this License.
  170. "Source" form shall mean the preferred form for making modifications,
  171. including but not limited to software source code, documentation
  172. source, and configuration files.
  173. "Object" form shall mean any form resulting from mechanical
  174. transformation or translation of a Source form, including but
  175. not limited to compiled object code, generated documentation,
  176. and conversions to other media types.
  177. "Work" shall mean the work of authorship, whether in Source or
  178. Object form, made available under the License, as indicated by a
  179. copyright notice that is included in or attached to the work
  180. (an example is provided in the Appendix below).
  181. "Derivative Works" shall mean any work, whether in Source or Object
  182. form, that is based on (or derived from) the Work and for which the
  183. editorial revisions, annotations, elaborations, or other modifications
  184. represent, as a whole, an original work of authorship. For the purposes
  185. of this License, Derivative Works shall not include works that remain
  186. separable from, or merely link (or bind by name) to the interfaces of,
  187. the Work and Derivative Works thereof.
  188. "Contribution" shall mean any work of authorship, including
  189. the original version of the Work and any modifications or additions
  190. to that Work or Derivative Works thereof, that is intentionally
  191. submitted to Licensor for inclusion in the Work by the copyright owner
  192. or by an individual or Legal Entity authorized to submit on behalf of
  193. the copyright owner. For the purposes of this definition, "submitted"
  194. means any form of electronic, verbal, or written communication sent
  195. to the Licensor or its representatives, including but not limited to
  196. communication on electronic mailing lists, source code control systems,
  197. and issue tracking systems that are managed by, or on behalf of, the
  198. Licensor for the purpose of discussing and improving the Work, but
  199. excluding communication that is conspicuously marked or otherwise
  200. designated in writing by the copyright owner as "Not a Contribution."
  201. "Contributor" shall mean Licensor and any individual or Legal Entity
  202. on behalf of whom a Contribution has been received by Licensor and
  203. subsequently incorporated within the Work.
  204. 2. Grant of Copyright License. Subject to the terms and conditions of
  205. this License, each Contributor hereby grants to You a perpetual,
  206. worldwide, non-exclusive, no-charge, royalty-free, irrevocable
  207. copyright license to reproduce, prepare Derivative Works of,
  208. publicly display, publicly perform, sublicense, and distribute the
  209. Work and such Derivative Works in Source or Object form.
  210. 3. Grant of Patent License. Subject to the terms and conditions of
  211. this License, each Contributor hereby grants to You a perpetual,
  212. worldwide, non-exclusive, no-charge, royalty-free, irrevocable
  213. (except as stated in this section) patent license to make, have made,
  214. use, offer to sell, sell, import, and otherwise transfer the Work,
  215. where such license applies only to those patent claims licensable
  216. by such Contributor that are necessarily infringed by their
  217. Contribution(s) alone or by combination of their Contribution(s)
  218. with the Work to which such Contribution(s) was submitted. If You
  219. institute patent litigation against any entity (including a
  220. cross-claim or counterclaim in a lawsuit) alleging that the Work
  221. or a Contribution incorporated within the Work constitutes direct
  222. or contributory patent infringement, then any patent licenses
  223. granted to You under this License for that Work shall terminate
  224. as of the date such litigation is filed.
  225. 4. Redistribution. You may reproduce and distribute copies of the
  226. Work or Derivative Works thereof in any medium, with or without
  227. modifications, and in Source or Object form, provided that You
  228. meet the following conditions:
  229. (a) You must give any other recipients of the Work or
  230. Derivative Works a copy of this License; and
  231. (b) You must cause any modified files to carry prominent notices
  232. stating that You changed the files; and
  233. (c) You must retain, in the Source form of any Derivative Works
  234. that You distribute, all copyright, patent, trademark, and
  235. attribution notices from the Source form of the Work,
  236. excluding those notices that do not pertain to any part of
  237. the Derivative Works; and
  238. (d) If the Work includes a "NOTICE" text file as part of its
  239. distribution, then any Derivative Works that You distribute must
  240. include a readable copy of the attribution notices contained
  241. within such NOTICE file, excluding those notices that do not
  242. pertain to any part of the Derivative Works, in at least one
  243. of the following places: within a NOTICE text file distributed
  244. as part of the Derivative Works; within the Source form or
  245. documentation, if provided along with the Derivative Works; or,
  246. within a display generated by the Derivative Works, if and
  247. wherever such third-party notices normally appear. The contents
  248. of the NOTICE file are for informational purposes only and
  249. do not modify the License. You may add Your own attribution
  250. notices within Derivative Works that You distribute, alongside
  251. or as an addendum to the NOTICE text from the Work, provided
  252. that such additional attribution notices cannot be construed
  253. as modifying the License.
  254. You may add Your own copyright statement to Your modifications and
  255. may provide additional or different license terms and conditions
  256. for use, reproduction, or distribution of Your modifications, or
  257. for any such Derivative Works as a whole, provided Your use,
  258. reproduction, and distribution of the Work otherwise complies with
  259. the conditions stated in this License.
  260. 5. Submission of Contributions. Unless You explicitly state otherwise,
  261. any Contribution intentionally submitted for inclusion in the Work
  262. by You to the Licensor shall be under the terms and conditions of
  263. this License, without any additional terms or conditions.
  264. Notwithstanding the above, nothing herein shall supersede or modify
  265. the terms of any separate license agreement you may have executed
  266. with Licensor regarding such Contributions.
  267. 6. Trademarks. This License does not grant permission to use the trade
  268. names, trademarks, service marks, or product names of the Licensor,
  269. except as required for reasonable and customary use in describing the
  270. origin of the Work and reproducing the content of the NOTICE file.
  271. 7. Disclaimer of Warranty. Unless required by applicable law or
  272. agreed to in writing, Licensor provides the Work (and each
  273. Contributor provides its Contributions) on an "AS IS" BASIS,
  274. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
  275. implied, including, without limitation, any warranties or conditions
  276. of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
  277. PARTICULAR PURPOSE. You are solely responsible for determining the
  278. appropriateness of using or redistributing the Work and assume any
  279. risks associated with Your exercise of permissions under this License.
  280. 8. Limitation of Liability. In no event and under no legal theory,
  281. whether in tort (including negligence), contract, or otherwise,
  282. unless required by applicable law (such as deliberate and grossly
  283. negligent acts) or agreed to in writing, shall any Contributor be
  284. liable to You for damages, including any direct, indirect, special,
  285. incidental, or consequential damages of any character arising as a
  286. result of this License or out of the use or inability to use the
  287. Work (including but not limited to damages for loss of goodwill,
  288. work stoppage, computer failure or malfunction, or any and all
  289. other commercial damages or losses), even if such Contributor
  290. has been advised of the possibility of such damages.
  291. 9. Accepting Warranty or Additional Liability. While redistributing
  292. the Work or Derivative Works thereof, You may choose to offer,
  293. and charge a fee for, acceptance of support, warranty, indemnity,
  294. or other liability obligations and/or rights consistent with this
  295. License. However, in accepting such obligations, You may act only
  296. on Your own behalf and on Your sole responsibility, not on behalf
  297. of any other Contributor, and only if You agree to indemnify,
  298. defend, and hold each Contributor harmless for any liability
  299. incurred by, or claims asserted against, such Contributor by reason
  300. of your accepting any such warranty or additional liability.
  301. END OF TERMS AND CONDITIONS
  302. APPENDIX: How to apply the Apache License to your work.
  303. To apply the Apache License to your work, attach the following
  304. boilerplate notice, with the fields enclosed by brackets "[]"
  305. replaced with your own identifying information. (Don't include
  306. the brackets!) The text should be enclosed in the appropriate
  307. comment syntax for the file format. We also recommend that a
  308. file or class name and description of purpose be included on the
  309. same "printed page" as the copyright notice for easier
  310. identification within third-party archives.
  311. Copyright [2021] [SwinIR Authors]
  312. Licensed under the Apache License, Version 2.0 (the "License");
  313. you may not use this file except in compliance with the License.
  314. You may obtain a copy of the License at
  315. http://www.apache.org/licenses/LICENSE-2.0
  316. Unless required by applicable law or agreed to in writing, software
  317. distributed under the License is distributed on an "AS IS" BASIS,
  318. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  319. See the License for the specific language governing permissions and
  320. limitations under the License.
  321. </pre>
  322. <h2><a href="https://github.com/AminRezaei0x443/memory-efficient-attention/blob/main/LICENSE">Memory Efficient Attention</a></h2>
  323. <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>
  324. <pre>
  325. MIT License
  326. Copyright (c) 2023 Alex Birch
  327. Copyright (c) 2023 Amin Rezaei
  328. Permission is hereby granted, free of charge, to any person obtaining a copy
  329. of this software and associated documentation files (the "Software"), to deal
  330. in the Software without restriction, including without limitation the rights
  331. to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  332. copies of the Software, and to permit persons to whom the Software is
  333. furnished to do so, subject to the following conditions:
  334. The above copyright notice and this permission notice shall be included in all
  335. copies or substantial portions of the Software.
  336. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  337. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  338. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  339. AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  340. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  341. OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  342. SOFTWARE.
  343. </pre>
  344. <h2><a href="https://github.com/huggingface/diffusers/blob/c7da8fd23359a22d0df2741688b5b4f33c26df21/LICENSE">Scaled Dot Product Attention</a></h2>
  345. <small>Some small amounts of code borrowed and reworked.</small>
  346. <pre>
  347. Copyright 2023 The HuggingFace Team. All rights reserved.
  348. Licensed under the Apache License, Version 2.0 (the "License");
  349. you may not use this file except in compliance with the License.
  350. You may obtain a copy of the License at
  351. http://www.apache.org/licenses/LICENSE-2.0
  352. Unless required by applicable law or agreed to in writing, software
  353. distributed under the License is distributed on an "AS IS" BASIS,
  354. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  355. See the License for the specific language governing permissions and
  356. limitations under the License.
  357. Apache License
  358. Version 2.0, January 2004
  359. http://www.apache.org/licenses/
  360. TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
  361. 1. Definitions.
  362. "License" shall mean the terms and conditions for use, reproduction,
  363. and distribution as defined by Sections 1 through 9 of this document.
  364. "Licensor" shall mean the copyright owner or entity authorized by
  365. the copyright owner that is granting the License.
  366. "Legal Entity" shall mean the union of the acting entity and all
  367. other entities that control, are controlled by, or are under common
  368. control with that entity. For the purposes of this definition,
  369. "control" means (i) the power, direct or indirect, to cause the
  370. direction or management of such entity, whether by contract or
  371. otherwise, or (ii) ownership of fifty percent (50%) or more of the
  372. outstanding shares, or (iii) beneficial ownership of such entity.
  373. "You" (or "Your") shall mean an individual or Legal Entity
  374. exercising permissions granted by this License.
  375. "Source" form shall mean the preferred form for making modifications,
  376. including but not limited to software source code, documentation
  377. source, and configuration files.
  378. "Object" form shall mean any form resulting from mechanical
  379. transformation or translation of a Source form, including but
  380. not limited to compiled object code, generated documentation,
  381. and conversions to other media types.
  382. "Work" shall mean the work of authorship, whether in Source or
  383. Object form, made available under the License, as indicated by a
  384. copyright notice that is included in or attached to the work
  385. (an example is provided in the Appendix below).
  386. "Derivative Works" shall mean any work, whether in Source or Object
  387. form, that is based on (or derived from) the Work and for which the
  388. editorial revisions, annotations, elaborations, or other modifications
  389. represent, as a whole, an original work of authorship. For the purposes
  390. of this License, Derivative Works shall not include works that remain
  391. separable from, or merely link (or bind by name) to the interfaces of,
  392. the Work and Derivative Works thereof.
  393. "Contribution" shall mean any work of authorship, including
  394. the original version of the Work and any modifications or additions
  395. to that Work or Derivative Works thereof, that is intentionally
  396. submitted to Licensor for inclusion in the Work by the copyright owner
  397. or by an individual or Legal Entity authorized to submit on behalf of
  398. the copyright owner. For the purposes of this definition, "submitted"
  399. means any form of electronic, verbal, or written communication sent
  400. to the Licensor or its representatives, including but not limited to
  401. communication on electronic mailing lists, source code control systems,
  402. and issue tracking systems that are managed by, or on behalf of, the
  403. Licensor for the purpose of discussing and improving the Work, but
  404. excluding communication that is conspicuously marked or otherwise
  405. designated in writing by the copyright owner as "Not a Contribution."
  406. "Contributor" shall mean Licensor and any individual or Legal Entity
  407. on behalf of whom a Contribution has been received by Licensor and
  408. subsequently incorporated within the Work.
  409. 2. Grant of Copyright License. Subject to the terms and conditions of
  410. this License, each Contributor hereby grants to You a perpetual,
  411. worldwide, non-exclusive, no-charge, royalty-free, irrevocable
  412. copyright license to reproduce, prepare Derivative Works of,
  413. publicly display, publicly perform, sublicense, and distribute the
  414. Work and such Derivative Works in Source or Object form.
  415. 3. Grant of Patent License. Subject to the terms and conditions of
  416. this License, each Contributor hereby grants to You a perpetual,
  417. worldwide, non-exclusive, no-charge, royalty-free, irrevocable
  418. (except as stated in this section) patent license to make, have made,
  419. use, offer to sell, sell, import, and otherwise transfer the Work,
  420. where such license applies only to those patent claims licensable
  421. by such Contributor that are necessarily infringed by their
  422. Contribution(s) alone or by combination of their Contribution(s)
  423. with the Work to which such Contribution(s) was submitted. If You
  424. institute patent litigation against any entity (including a
  425. cross-claim or counterclaim in a lawsuit) alleging that the Work
  426. or a Contribution incorporated within the Work constitutes direct
  427. or contributory patent infringement, then any patent licenses
  428. granted to You under this License for that Work shall terminate
  429. as of the date such litigation is filed.
  430. 4. Redistribution. You may reproduce and distribute copies of the
  431. Work or Derivative Works thereof in any medium, with or without
  432. modifications, and in Source or Object form, provided that You
  433. meet the following conditions:
  434. (a) You must give any other recipients of the Work or
  435. Derivative Works a copy of this License; and
  436. (b) You must cause any modified files to carry prominent notices
  437. stating that You changed the files; and
  438. (c) You must retain, in the Source form of any Derivative Works
  439. that You distribute, all copyright, patent, trademark, and
  440. attribution notices from the Source form of the Work,
  441. excluding those notices that do not pertain to any part of
  442. the Derivative Works; and
  443. (d) If the Work includes a "NOTICE" text file as part of its
  444. distribution, then any Derivative Works that You distribute must
  445. include a readable copy of the attribution notices contained
  446. within such NOTICE file, excluding those notices that do not
  447. pertain to any part of the Derivative Works, in at least one
  448. of the following places: within a NOTICE text file distributed
  449. as part of the Derivative Works; within the Source form or
  450. documentation, if provided along with the Derivative Works; or,
  451. within a display generated by the Derivative Works, if and
  452. wherever such third-party notices normally appear. The contents
  453. of the NOTICE file are for informational purposes only and
  454. do not modify the License. You may add Your own attribution
  455. notices within Derivative Works that You distribute, alongside
  456. or as an addendum to the NOTICE text from the Work, provided
  457. that such additional attribution notices cannot be construed
  458. as modifying the License.
  459. You may add Your own copyright statement to Your modifications and
  460. may provide additional or different license terms and conditions
  461. for use, reproduction, or distribution of Your modifications, or
  462. for any such Derivative Works as a whole, provided Your use,
  463. reproduction, and distribution of the Work otherwise complies with
  464. the conditions stated in this License.
  465. 5. Submission of Contributions. Unless You explicitly state otherwise,
  466. any Contribution intentionally submitted for inclusion in the Work
  467. by You to the Licensor shall be under the terms and conditions of
  468. this License, without any additional terms or conditions.
  469. Notwithstanding the above, nothing herein shall supersede or modify
  470. the terms of any separate license agreement you may have executed
  471. with Licensor regarding such Contributions.
  472. 6. Trademarks. This License does not grant permission to use the trade
  473. names, trademarks, service marks, or product names of the Licensor,
  474. except as required for reasonable and customary use in describing the
  475. origin of the Work and reproducing the content of the NOTICE file.
  476. 7. Disclaimer of Warranty. Unless required by applicable law or
  477. agreed to in writing, Licensor provides the Work (and each
  478. Contributor provides its Contributions) on an "AS IS" BASIS,
  479. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
  480. implied, including, without limitation, any warranties or conditions
  481. of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
  482. PARTICULAR PURPOSE. You are solely responsible for determining the
  483. appropriateness of using or redistributing the Work and assume any
  484. risks associated with Your exercise of permissions under this License.
  485. 8. Limitation of Liability. In no event and under no legal theory,
  486. whether in tort (including negligence), contract, or otherwise,
  487. unless required by applicable law (such as deliberate and grossly
  488. negligent acts) or agreed to in writing, shall any Contributor be
  489. liable to You for damages, including any direct, indirect, special,
  490. incidental, or consequential damages of any character arising as a
  491. result of this License or out of the use or inability to use the
  492. Work (including but not limited to damages for loss of goodwill,
  493. work stoppage, computer failure or malfunction, or any and all
  494. other commercial damages or losses), even if such Contributor
  495. has been advised of the possibility of such damages.
  496. 9. Accepting Warranty or Additional Liability. While redistributing
  497. the Work or Derivative Works thereof, You may choose to offer,
  498. and charge a fee for, acceptance of support, warranty, indemnity,
  499. or other liability obligations and/or rights consistent with this
  500. License. However, in accepting such obligations, You may act only
  501. on Your own behalf and on Your sole responsibility, not on behalf
  502. of any other Contributor, and only if You agree to indemnify,
  503. defend, and hold each Contributor harmless for any liability
  504. incurred by, or claims asserted against, such Contributor by reason
  505. of your accepting any such warranty or additional liability.
  506. END OF TERMS AND CONDITIONS
  507. APPENDIX: How to apply the Apache License to your work.
  508. To apply the Apache License to your work, attach the following
  509. boilerplate notice, with the fields enclosed by brackets "[]"
  510. replaced with your own identifying information. (Don't include
  511. the brackets!) The text should be enclosed in the appropriate
  512. comment syntax for the file format. We also recommend that a
  513. file or class name and description of purpose be included on the
  514. same "printed page" as the copyright notice for easier
  515. identification within third-party archives.
  516. Copyright [yyyy] [name of copyright owner]
  517. Licensed under the Apache License, Version 2.0 (the "License");
  518. you may not use this file except in compliance with the License.
  519. You may obtain a copy of the License at
  520. http://www.apache.org/licenses/LICENSE-2.0
  521. Unless required by applicable law or agreed to in writing, software
  522. distributed under the License is distributed on an "AS IS" BASIS,
  523. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  524. See the License for the specific language governing permissions and
  525. limitations under the License.
  526. </pre>
  527. <h2><a href="https://github.com/explosion/curated-transformers/blob/main/LICENSE">Curated transformers</a></h2>
  528. <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>
  529. <pre>
  530. The MIT License (MIT)
  531. Copyright (C) 2021 ExplosionAI GmbH
  532. Permission is hereby granted, free of charge, to any person obtaining a copy
  533. of this software and associated documentation files (the "Software"), to deal
  534. in the Software without restriction, including without limitation the rights
  535. to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  536. copies of the Software, and to permit persons to whom the Software is
  537. furnished to do so, subject to the following conditions:
  538. The above copyright notice and this permission notice shall be included in
  539. all copies or substantial portions of the Software.
  540. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  541. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  542. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  543. AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  544. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  545. OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  546. THE SOFTWARE.
  547. </pre>
  548. <h2><a href="https://github.com/madebyollin/taesd/blob/main/LICENSE">TAESD</a></h2>
  549. <small>Tiny AutoEncoder for Stable Diffusion option for live previews</small>
  550. <pre>
  551. MIT License
  552. Copyright (c) 2023 Ollin Boer Bohan
  553. Permission is hereby granted, free of charge, to any person obtaining a copy
  554. of this software and associated documentation files (the "Software"), to deal
  555. in the Software without restriction, including without limitation the rights
  556. to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  557. copies of the Software, and to permit persons to whom the Software is
  558. furnished to do so, subject to the following conditions:
  559. The above copyright notice and this permission notice shall be included in all
  560. copies or substantial portions of the Software.
  561. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  562. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  563. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  564. AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  565. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  566. OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  567. SOFTWARE.
  568. </pre>